AI Slop Cleaner

0•

Refines and optimizes AI-generated code by removing bloat, redundant logic, and over-engineered abstractions while ensuring behavioral integrity.

The AI Slop Cleaner provides a structured, deletion-first workflow designed to eliminate 'AI slop'—the repetitive, noisy, or overly abstract code patterns often produced during rapid AI generation. This skill enforces a rigorous safety protocol that locks current behavior with regression tests before any modifications occur. By utilizing a multi-pass strategy, it systematically removes dead code, consolidates duplicates, and tightens module boundaries without drifting scope. It is ideal for developers who need to maintain production-grade codebases where AI-assisted iterations have left behind unnecessary complexity or technical debt.

Key Features

010 GitHub stars
02Four-pass cleanup strategy targeting duplication, abstractions, and naming
03Deletion-first workflow prioritizing the removal of dead code and redundant wrappers
04Reviewer-only mode (--review) to separate code modification from architectural approval
05Evidence-dense reporting including simplification metrics and verification results
06Behavior-locking via mandatory regression tests and pre-edit verification plans

Use Cases

01Consolidating duplicate logic and removing unreachable code after rapid prototyping
02Cleaning up verbose boilerplate and repetitive helpers in AI-generated modules
03Refactoring over-abstracted wrappers to improve codebase maintainability and clarity