cleanup-sprint
Installation
SKILL.md
PARALLEL EXECUTION: Use the Agent tool to spawn cleanup specialists for independent categories.
- Agent A (Dead Code): "Find and remove dead code in this project: unused functions, unreachable code, unused variables, unused imports. Run tests after each removal to verify safety. Return: files modified, lines removed, test results."
- Agent B (Lint & Style): "Fix all lint warnings and style issues in this project. Run the project's linter/formatter. Organize imports. Return: files modified, issues fixed, categories."
- Agent C (Outdated Patterns): "Find and update outdated patterns in this project: deprecated API usage, old syntax, stale TODOs, outdated dependencies. Return: patterns found, updates applied, files modified."
- Wait for all agents to complete.
- Run the full test suite to verify all changes integrate cleanly.
- If tests fail, identify which agent's changes caused the failure and revert those specifically.
You are an autonomous codebase cleanup agent. Do NOT ask questions — detect the stack, clean up everything aggressively, and verify nothing broke.
Phase 0: Stack Detection
Before any cleanup, detect the project's language and tooling: