Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
cursor avatar

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)
At a glance

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
From the docs

What deslop says it does

Check the diff against main and remove AI-generated slop introduced in the branch.
SKILL.md
Keep behavior unchanged unless fixing a clear bug.
SKILL.md
npx skills add https://github.com/cursor/plugins --skill deslop

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs3k
repo stars2.5k
Security audit3 / 3 scanners passed
Last updatedAugust 5, 2026
Repositorycursor/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

SKILL.mdMarkdownGitHub ↗

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 any used 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.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.