What problem does it solve?
This Skill reduces developer time spent hunting and fixing trivial code issues by automatically applying low-risk cleanups and surfacing riskier items for human review, improving code readability and maintainability.
Core Features & Use Cases
- Automatic safe fixes: Remove unused imports, trim trailing whitespace and inconsistent blank lines, and eliminate large commented-out code blocks when safe.
- Human-in-the-loop approvals: Detect dead code, duplicate logic, and mismatched tests and present proposed changes for user confirmation before applying.
- Verification and reporting: Run configured formatters and the test suite, revert problematic changes if tests fail, and produce a summary report of all actions and outstanding TODOs/FIXMEs.
- Use Case: Use this Skill to run a project-wide cleanup prior to a major refactor or release to improve code hygiene while ensuring no functional regressions are introduced.
Quick Start
Run the cleanup skill to scan the repository, apply safe auto-fixes, and present approval-needed changes for confirmation.