What problem does it solve?
This Skill helps remove AI-generated clutter, duplication, dead code, and weak abstractions from working code while preserving behavior and improving signal quality.
Core Features & Use Cases
- Regression-first cleanup: Locks behavior with targeted tests before any edits are made.
- Scoped refactoring: Keeps changes bounded to the requested files or feature area, including changed-file lists.
- Fallback review: Identifies masking fallbacks, grounded compatibility paths, and escalation needs before code changes.
- Quality verification: Re-runs tests, lint, and type checks after each cleanup pass.
- Use case: A developer asks to deslop a noisy implementation after AI-assisted coding left behind duplicate branches, dead helpers, and unclear error handling.
Quick Start
Ask the agent to clean up the selected code path with regression tests first, keep the refactor bounded to the stated scope, and report the simplified changes with verification results.