ai-code-cleanup

Solid

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.

AI & Automation 335 stars 29 forks Updated today

Install

View on GitHub

Quality Score: 85/100

Stars 20%
84
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
0
Description 5%
100

Skill Content

# 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...

Details

Author
aiskillstore
Repository
aiskillstore/marketplace
Created
5 months ago
Last Updated
today
Language
Python
License
None

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

ai-slop-cleaner

Post-implementation cleanup that removes AI-generated bloat while preserving functionality. Runs pass-by-pass with test verification after each pass. Activate after kraken/spark complete a feature, or when a codebase needs hygiene work.

496 Updated 1 months ago
vibeeval
AI & Automation Listed

remove-ai-slops

Remove AI-generated code smells (slop) from branch changes or an explicit file list. Locks behavior with regression tests FIRST, then runs categorized cleanup via parallel `deep` agents in batches of 5, then verifies with quality gates. Covers 10 slop categories including performance equivalences, excessive complexity (object annotations, if/elif variant chains), and oversized modules (250+ pure LOC with mandatory modular refactoring). MUST USE when the user asks to "remove slop", "clean AI code", "deslop", "clean up AI-generated code", "remove AI slop", or wants to clean up AI-generated patterns from recent changes. Triggers - "remove ai slops", "clean ai code", "deslop", "cleanup AI generated", "remove AI slop", "clean up AI-generated code", "strip slop", "ai-slop cleanup".

60,341 Updated yesterday
code-yeongyu
AI & Automation Solid

ai-slop-cleaner

Clean AI-generated code slop with a regression-safe, deletion-first workflow and optional reviewer-only mode

35,484 Updated today
Yeachan-Heo
AI & Automation Listed

ai-slop-cleaner

Run an anti-slop cleanup workflow on AI-generated code — regression-tests-first, smell-by-smell, behavior preserved.

7 Updated 2 days ago
yeaight7
AI & Automation Solid

deslop

Remove AI-generated code slop from a branch. Use when cleaning up AI-generated code, removing unnecessary comments, defensive checks, or type casts. Checks diff against main and fixes style inconsistencies.

27,705 Updated today
davila7