AI Code Deslop

•
3
•

Refines AI-generated code by removing redundant comments, over-engineered patterns, and stylistic inconsistencies to ensure production-grade quality.

The AI Code Deslop skill is a specialized utility designed to bridge the gap between AI-generated drafts and human-grade production code. It automatically scans your diffs, commits, or branches for 'slop'—common LLM artifacts such as excessive defensive checks, unnecessary abstractions, redundant comments, and lazy type casting (like 'Any'). By referencing a project-specific anti-patterns guide, it ensures that every code change adheres to professional standards and matches the existing style of your codebase, making it an essential tool for developers who want the speed of AI without the technical debt.

주요 기능

013 GitHub stars
02Strips excessive defensive checks from trusted internal code paths
03Removes redundant AI-generated comments and placeholder patterns
04Standardizes code style against local anti-pattern documentation
05Eliminate over-engineered abstractions and single-use factories
06Identifies and corrects lazy type casting such as unnecessary 'Any' casts

사용 사례

01Automating the cleanup of staged changes before a final commit to main
02Sanitizing AI-generated snippets to remove verbose explanations and placeholders
03Reviewing a feature branch before opening a pull request to ensure high code quality