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: