A healthier codebase with measured improvements.
Improves codebase maintainability by prioritizing and refactoring duplicated, unused, and complex code, then measuring the improvement.
When to use it
Use for broad codebase cleanup, refactoring, or technical-debt reduction rather than fixing a specific bug.
Give it a codebase to clean up; it refactors maintenance hotspots and compares the resulting health score with the baseline.
What you provide
Uses jscpd through npx to measure codebase health and guide the refactoring passes.
Directs the agent to run dry-refactoring for the duplication pass, then return to complete the remaining passes.
No additional actions listed.