← ClaudeAtlas

ai-code-cleanuplisted

Remove AI-generated code slop from branches. Use after AI-assisted coding sessions to clean up defensive bloat, unnecessary comments, type casts, and style inconsistencies. Focuses on identifying and removing AI artifacts that degrade code quality.
aiskillstore/marketplace · ★ 329 · AI & Automation · score 85
Install: claude install-skill aiskillstore/marketplace
# AI Code Cleanup This skill identifies and removes AI-generated artifacts that degrade code quality, including defensive bloat, unnecessary comments, type casts, and style inconsistencies. ## When to Use This Skill - After AI-assisted coding sessions - Before code reviews or merging branches - When cleaning up code that feels "over-engineered" - When removing unnecessary defensive code - When standardizing code style after AI generation - When preparing code for production ## What This Skill Does 1. **Identifies AI Artifacts**: Detects patterns typical of AI-generated code 2. **Removes Bloat**: Eliminates unnecessary defensive code and comments 3. **Fixes Type Issues**: Removes unnecessary type casts and workarounds 4. **Standardizes Style**: Ensures consistency with project conventions 5. **Preserves Functionality**: Maintains code behavior while improving quality 6. **Validates Changes**: Ensures code still compiles and tests pass ## How to Use ### Clean Up Branch ``` Remove AI slop from this branch ``` ``` Clean up the code in this pull request ``` ### Specific Cleanup ``` Remove unnecessary comments and defensive code from src/ ``` ## Slop Patterns to Remove ### 1. Unnecessary Comments **Patterns:** - Comments explaining obvious code - Comments inconsistent with file's documentation style - Redundant comments that restate the code - Over-documentation of simple operations **Example:** ```javascript // ❌ AI-generated: Obvious comment // Set the user's nam