refactor-clean
Find and safely remove dead code, unused imports, and duplicate logic.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Find and safely remove dead code, unused imports, and duplicate logic.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Interactive agent builder: guides the user through defining a new agent as a behavioral spec, then generates the agent .md and installs it.
Cross-repo investigation: research planning issues, break down into sub-issues, generate ralph session prompts per repo.
Three-phase QA orchestrator: parallel scan, interactive triage, guided fix.
Interactive feature builder with subagent delegation and approval gates.
Interactive rule builder: guides the user through defining a new rule as a constraint doc, then generates the rule .md and installs it.
Interactive skill builder: guides the user through defining a new skill as a structured SOP, then generates the SKILL.md and installs it.
| name | refactor-clean |
| description | Find and safely remove dead code, unused imports, and duplicate logic. |
Spawns the refactor-cleaner agent to identify unused code and safely remove it with test verification.
Gather context — determine the scope of cleanup:
src/ or project source directorySpawn the agent — use the Task tool:
Task tool with subagent_type="refactor-cleaner"
Pass in the prompt:
.claude-toolkit.json or auto-detectedPresent findings — relay the agent's cleanup report:
Offer follow-up actions: