AI Code Deslopper

•
16k
•

Refines AI-generated code by removing redundant comments, unnecessary defensive checks, and style inconsistencies to ensure human-grade quality.

The deslop skill for Claude Code streamlines the transition from AI-assisted drafting to production-ready code. It identifies and removes 'AI slop'—the characteristic artifacts left behind by LLMs, such as overly verbose comments, excessive try-catch blocks in trusted paths, and lazy type casting. By comparing your current branch against the main branch, it automatically standardizes your codebase, ensuring that AI-generated contributions blend seamlessly with your team's existing style and quality standards before you submit a pull request.

Características Principales

01Refactoring of inline Python imports to standard top-level placement
02Standardization of type casts and removal of shortcut 'any' types
0316,312 GitHub stars
04Removal of redundant or non-human-like AI comments
05Elimination of unnecessary defensive checks and try-catch blocks
06Automated diff analysis against the main branch

Casos de Uso

01Cleaning up rapid prototypes generated by Claude or other AI agents
02Preparing an AI-assisted feature branch for a professional peer review
03Standardizing code style after a bulk refactor using AI tools