一键导入
refactor-safely
Plan and execute safe refactoring using dependency analysis
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Plan and execute safe refactoring using dependency analysis
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
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.