AI Slop Cleaner
Refines AI-generated code by removing redundancy, dead code, and unnecessary abstractions through a regression-safe, deletion-first workflow.
AI Slop Cleaner is a specialized orchestration skill designed to refine and simplify code produced by AI assistants. It follows a deletion-first philosophy to eliminate 'slop'—bloated logic, repetitive helpers, and speculative abstractions—without altering intended behavior. By enforcing a strict workflow that prioritizes regression testing and incremental cleanup passes, it ensures that codebases remain lean, maintainable, and free of the characteristic noise often left behind by rapid AI iteration. It includes a dedicated review mode to maintain a separation between code cleanup and final approval.
Key Features
01Regression-safe workflow that locks behavior with tests before any edits
02Reviewer-only mode to enforce separation between code writer and reviewer
03Deletion-first approach targeting dead code, unused exports, and stale logic
04Multi-pass cleanup focusing on duplication, naming, and abstraction removal
051 GitHub stars
06Integration with Ralph for automated post-session code stabilization
Use Cases
01Simplifying noisy AI-generated modules that feel bloated or over-abstracted
02Performing a high-density code review to remove technical debt without changing behavior
03Cleaning up duplicate logic and boundary leaks after a rapid feature implementation