AI Code Deslopper

•
416
•

Removes AI-generated artifacts, redundant comments, and unnecessary code patterns to maintain a clean, human-readable codebase.

The Deslop skill is a specialized utility designed to maintain code quality by stripping away the 'slop' often introduced during AI-assisted development. It scans your Git diffs for common AI pitfalls such as redundant comments that restate the code, excessive defensive guards, 'as any' type casts, and over-engineered abstractions. By intelligently identifying what to keep and what to trim, this skill ensures that your codebase remains concise, performant, and aligned with human-centric coding standards while automatically verifying that changes don't break the build or linting rules.

Key Features

01416 GitHub stars
02Scans Git diffs against main to isolate recent AI-generated changes
03Eliminates 'as any' casts by resolving underlying TypeScript issues
04Refactors over-engineered abstractions to match surrounding code style
05Identifies and removes redundant comments that offer no functional value
06Prunes excessive defensive checks and unnecessary try/catch blocks

Use Cases

01Technical debt reduction by removing non-idiomatic AI artifacts
02Pre-PR auditing to ensure code follows project-specific style and density
03Post-coding cleanup after generating large blocks of code with an LLM