with one click
refactor-safely
Plan and execute safe refactoring using dependency analysis
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Plan and execute safe refactoring using dependency analysis
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Systematically debug issues using graph-powered code navigation
Navigate and understand codebase structure using the knowledge graph
Perform a structured code review using change detection and impact
Automatically add PostHog analytics instrumentation to code. Triggers when user asks to add tracking, instrument events, add analytics, or implement feature flags in their codebase.
nuqs (type-safe URL query state) best practices for Next.js applications. This skill should be used when writing, reviewing, or refactoring code that uses nuqs for URL state management. Triggers on tasks involving useQueryState, useQueryStates, search params, URL state, query parameters, nuqs parsers, or Next.js routing with state.
| name | Refactor Safely |
| description | Plan and execute safe refactoring using dependency analysis |
Use the knowledge graph to plan and execute refactoring with confidence.
refactor_tool with mode="suggest" for community-driven refactoring suggestions.refactor_tool with mode="dead_code" to find unreferenced code.refactor_tool with mode="rename" to preview all affected locations.apply_refactor_tool with the refactor_id to apply renames.detect_changes to verify the refactoring impact.get_impact_radius before major refactors.get_affected_flows to ensure no critical paths are broken.find_large_functions to identify decomposition targets.get_minimal_context(task="<your task>") before any other graph tool.detail_level="minimal" on all calls. Only escalate to "standard" when minimal is insufficient.