Deslop
Clean up AI-generated code slop and maintain consistent code quality
✨ The solution you've been looking for
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.
See It In Action
Interactive preview & real-world examples
AI Conversation Simulator
See how users interact with this skill
User Prompt
I just used AI to help implement a new feature but the code has too many comments and unnecessary try-catch blocks. Can you help me clean it up?
Skill Processing
Analyzing request...
Agent Response
Streamlined code that maintains functionality while removing AI-generated verbosity and style inconsistencies
Quick Start (3 Steps)
Get up and running in minutes
Install
claude-code skill install deslop
claude-code skill install deslopConfig
First Trigger
@deslop helpCommands
| Command | Description | Required Args |
|---|---|---|
| @deslop post-ai-code-review-cleanup | Clean up excessive comments and defensive checks added by AI code generation tools | None |
| @deslop branch-quality-assurance | Review code changes before merging to ensure they match project coding standards | None |
| @deslop type-safety-cleanup | Remove inappropriate type casts and fix import organization issues | None |
Typical Use Cases
Post-AI Code Review Cleanup
Clean up excessive comments and defensive checks added by AI code generation tools
Branch Quality Assurance
Review code changes before merging to ensure they match project coding standards
Type Safety Cleanup
Remove inappropriate type casts and fix import organization issues
Overview
Remove AI Code Slop
Check the diff against main and remove all AI-generated slop introduced in this branch.
What to Remove
- Extra comments that a human wouldn’t add or are inconsistent with the rest of the file
- Extra defensive checks or try/catch blocks that are abnormal for that area of the codebase (especially if called by trusted/validated codepaths)
- Casts to
anyto get around type issues - Inline imports in Python (move to top of file with other imports)
- Any other style that is inconsistent with the file
Process
- Get the diff against main:
git diff main...HEAD - Review each changed file for slop patterns
- Remove identified slop while preserving legitimate changes
- Report a 1-3 sentence summary of what was changed
What Users Are Saying
Real feedback from the community
Environment Matrix
Dependencies
Context Window
Security & Privacy
Information
- Author
- davila7
- Updated
- 2026-01-30
- Category
- automation-tools
Related Skills
Deslop
Remove AI-generated code slop from a branch. Use when cleaning up AI-generated code, removing …
View Details →Clojure Write
Guide Clojure and ClojureScript development using REPL-driven workflow, coding conventions, and best …
View Details →Clojure Write
Guide Clojure and ClojureScript development using REPL-driven workflow, coding conventions, and best …
View Details →