Claude
Skills
Sign in
Back

deslop

Included with Lifetime
$97 forever

Clean up AI-generated slop from code changes. Use when the user says "deslop", "clean up code", "remove slop", "review for AI artifacts", "check for anti-patterns in diff", or before committing to ensure code quality. Also activates when reviewing staged changes or preparing a commit.

Code Review

What this skill does


Review the diff against main and remove all AI-generated slop introduced in the
outstanding code changes, most recent commit, or branch based on user instructions.

Refer to the anti-patterns guide in `enforce-guidelines/references/anti-patterns.md`
for the full list of slop patterns to catch.

Common slop to remove:
- Extra comments that a human wouldn't add or that 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 `Any` to get around type issues
- Placeholder patterns (TODOs without context, "Phase 1" comments, commented-out code)
- Over-engineering (abstractions for single-use code, unnecessary factories)
- Any other style that is inconsistent with the file

Report at the end with only a 1-3 sentence summary of what you changed.

Related in Code Review