What problem does it solve?
AI-generated or machine-assisted edits can leave working code bloated, duplicated, weakly tested, or over-abstracted, making maintenance harder and increasing regression risk; this Skill guides a safe, deletion-first cleanup that preserves behavior.
Core Features & Use Cases
- Behavior-preserving cleanup: Prioritizes locking behavior with targeted regression tests before making edits.
- Deletion-first, smell-focused passes: Structured passes for dead code removal, duplicate consolidation, naming and error-handling cleanup, and test reinforcement.
- Reviewer-only workflow: Supports a
--review mode to separate writer and reviewer responsibilities for high-impact anti-slop passes.
- Ralph and scoped-file support: Operates on explicit file lists, changed-file scopes, or Ralph session changed files to limit risk and surface area.
Quick Start
Run an anti-slop cleanup on the specified files by invoking /oh-my-claudecode:ai-slop-cleaner <target> and add --review to perform a reviewer-only inspection.