name: cleanup description: Run static analysis tools (knip, jscpd, check:all), get intelligent recommendations for cleanup, and optionally create a task document. user-invocable: true allowed-tools: [Read, Write, Bash, Glob, Edit, Agent]
Execution
- Spawn the
cleanup-analyzeragent to run analysis and investigate findings. - Present the agent's structured report to the user.
- Ask the user: "Would you like me to create a task document for these cleanup items?"
- If yes, create a task document in
tasks-todo/with the findings organized as actionable steps.