AI Slop Cleaner

0•

Refactors and cleans up AI-generated code using a test-driven, incremental workflow to remove redundancy and technical debt.

The AI Slop Cleaner skill provides a disciplined, step-by-step methodology for refining AI-generated code by identifying and removing common 'slop' patterns such as dead code, redundant logic, and over-abstraction. By prioritizing regression testing before any modifications, it ensures that software behavior remains intact while significantly improving the signal-to-noise ratio. This skill is essential for developers who use AI tools for rapid prototyping and want to ensure the final output is production-grade, maintainable, and free of unnecessary complexity.

Key Features

010 GitHub stars
02Systematic detection of dead code, duplication, and needless abstractions
03Scoped file-list processing to prevent unintended broad rewrites
04Test-driven regression locking to ensure functional stability
05Incremental multi-pass cleanup workflow for safe refactoring
06Automated quality gate verification including linting and typechecking

Use Cases

01Refining bloated or repetitive code generated during rapid AI development sessions
02Eliminating dead code and unreachable branches from legacy or experimental features
03Standardizing naming conventions and error handling across a specific set of files