ワンクリックで
rp-refactor
Analyze dependencies, callers, and coupling before refactoring, then produce a safe incremental refactoring plan.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Analyze dependencies, callers, and coupling before refactoring, then produce a safe incremental refactoring plan.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Gather relevant source files for a task, resolve their dependencies, and package everything into a structured context prompt.
Produce an architectural design and implementation plan based on task requirements, identifying scope, dependencies, impact, and a step-by-step rollout strategy.
Explore the codebase and export a structured context file (e.g., context.xml) for pasting into an external LLM like ChatGPT or Claude Web.
Trace execution paths from an error or bug report to find the root cause, gathering surrounding context (callers, imports, tests) along the way.
Review recent code changes by gathering git diffs, identifying affected callers and tests, and analyzing for security, performance, and breaking changes.
Identify untested functions by comparing source symbols with test symbols, then prepare context for writing missing tests.
| name | rp_refactor |
| description | Analyze dependencies, callers, and coupling before refactoring, then produce a safe incremental refactoring plan. |
Understand the full dependency and coupling landscape of target code, then produce a phased refactoring plan where each phase is atomic, testable, and reversible.
Two phases:
blast_radius — analyze impact and find all callers/dependentsget_imports_graph — trace dependency chainget_related_tests — identify existing test coveragebatch_codemap — understand module APIsbuild_prompt — package context per refactoring phase