
Deslop
- 3k installs
- 2.5k repo stars
- Updated August 5, 2026
- cursor/plugins
deslop removes AI-generated code slop from branch diffs while keeping behavior and local style.
About
The deslop skill from Cursor plugins cleans AI-introduced noise in pull request diffs against main. Focus areas include unnecessary comments inconsistent with file style, abnormal defensive try/catch on trusted paths, any casts used only to silence types, deeply nested logic that should use early returns, and other patterns unlike surrounding code. Guardrails require unchanged behavior unless fixing a clear bug, minimal focused edits over broad rewrites, and a concise 1-3 sentence final summary. Agents diff the branch against main, target slop introduced in the branch only, and align edits with local conventions per file. Use when users ask to deslop, remove AI slop, or clean up AI-generated code style in a PR.
- Diff against main to target branch-introduced AI slop only.
- Removes excess comments, defensive try/catch, and any-bypass casts.
- Simplifies deep nesting with early returns where appropriate.
- Preserves behavior unless fixing an obvious bug.
- Minimal edits aligned with surrounding file conventions.
Deslop by the numbers
- 3,025 all-time installs (skills.sh)
- +415 installs in the week ending Aug 5, 2026 (Skillselion tracking)
- Ranked #59 of 1,352 Code Review & Quality skills by installs in the Skillselion catalog
- Security screen: MEDIUM risk (skills.sh audit)
- Data as of Aug 5, 2026 (Skillselion catalog sync)
deslop capabilities & compatibility
- Capabilities
- diff scoped slop detection · comment and try/catch cleanup · early return simplification · style alignment to local files · minimal behavior preserving edits
- Use cases
- code review · refactoring
What deslop says it does
Check the diff against main and remove AI-generated slop introduced in the branch.
Keep behavior unchanged unless fixing a clear bug.
npx skills add https://github.com/cursor/plugins --skill deslopAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 3k |
|---|---|
| repo stars | ★ 2.5k |
| Security audit | 3 / 3 scanners passed |
| Last updated | August 5, 2026 |
| Repository | cursor/plugins ↗ |
How do I clean AI-introduced noise from my PR without changing intended behavior?
Remove AI-generated code slop from branch diffs while preserving behavior and matching local codebase style.
Who is it for?
Developers polishing AI-assisted PRs before code review or merge.
Skip if: Large refactors or feature rewrites unrelated to AI slop patterns.
When should I use this skill?
User mentions deslop, AI slop, or cleaning AI-generated code in a branch.
What you get
A focused diff cleanup with slop removed and a short summary of edits.
- cleaned diff
- slop removal summary
Files
Remove AI code slop
Check the diff against main and remove AI-generated slop introduced in the branch.
Focus Areas
- Extra comments that are unnecessary or inconsistent with local style
- Defensive checks or try/catch blocks that are abnormal for trusted code paths
- Casts to
anyused only to bypass type issues - Deeply nested code that should be simplified with early returns
- Other patterns inconsistent with the file and surrounding codebase
Guardrails
- Keep behavior unchanged unless fixing a clear bug.
- Prefer minimal, focused edits over broad rewrites.
- Keep the final summary concise (1-3 sentences).
Related skills
FAQ
What slop patterns does deslop target?
Extra comments, abnormal try/catch, any casts, deep nesting, and inconsistent style vs surrounding code.
Can behavior change?
Only when fixing a clear bug; otherwise keep behavior unchanged.
What is the scope of edits?
Check diff against main and remove slop introduced in the branch with minimal focused changes.
Is Deslop safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.