refactor-clean
Find and safely remove dead code, unused imports, and duplicate logic.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Find and safely remove dead code, unused imports, and duplicate logic.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional 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: