Use this skill when a codebase has accumulated hygiene debt:
Do NOT use for architectural refactoring, bug fixes, or business logic changes. This skill focuses purely on hygiene and automated cleanup.
| codebasepath | string | Yes | Absolute path to codebase root | | language | string | Yes | Primary language (js, python, r, rust, etc.) | | cleanupmode | enum | No | safe (default) or aggressive | | runtests | boolean | No | Run test suite after cleanup (default: true) | | backup | boolean | No | Create backup before deletion (default: true) |
Remove dead code, unused imports, fix lint warnings, and normalize formatting across a codebase without changing business logic or architecture. Use when lint warnings have piled up during rapid development, unused imports and variables clutter files, dead code paths were never removed, formatting is inconsistent, or static analysis tools report fixable hygiene issues. Source: pjt222/development-guides.