code-purge
Installation
SKILL.md
Code Purge
A five-phase workflow for safe, thorough removal of waste from any codebase.
Workflow
Phase 1 → Analyze deep scan: detect languages, map dead code, duplicates, unused files
Phase 2 → Report present findings to user, confirm scope before touching anything
Phase 3 → Backup snapshot the codebase without changing working-tree or index state
Phase 4 → Clean execute removals in order: imports → dead code → files → refactors
Phase 5 → Verify run test suite; report pass/fail; rollback guide if needed
Phase 1 — Analyze
Run the bundled analyzer first. Never skip this step.