Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

deslop — Claude Code skill: what it does, how to install

Inspects branch diffs against main to remove AI-generated code clutter and inconsistent styling. Ideal for polishing branch changes before pull request review.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add cursor/plugins --skill deslop -a claude-code
Open on GitHub

What deslop does

The skill inspects the diff against main to find and clean up AI-introduced clutter. It removes verbose or uncharacteristic comments that clash with repository conventions. Unneeded defensive checks and try/catch blocks on trusted execution paths are eliminated. The prompt also targets quick type casts to any used merely to silence compiler checks.

Deep indentation gets flattened using early returns. Behavior remains untouched unless an actual bug is spotted. Edits are kept strictly minimal, while the final summary takes just one to three sentences.

What it helps with

  • strip unneeded AI comments from branch changes
  • flatten nested blocks with early returns
  • clean up redundant try/catch wrappers on trusted paths
  • replace temporary any casts with proper types

Example prompts for the agent

  • Check the diff against main and run deslop
  • Clean up AI slop and unnecessary comments in this branch
  • Review branch changes against main and remove superfluous any casts

How to install deslop

1Skills CLI (Vercel)

npx skills add cursor/plugins --skill deslop -a claude-code

2Manually: put the files in place

~/.claude/skills/deslop/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/deslop/

From the same set3

The whole set →

Similar

scope-creep-detector Matt Van Horn Compares a git diff against a stated intent and flags files that don't belong: stray dependencies, API renames, config edits, oversized hunks, and formatting. Runs locally, offline, no network calls. Claude Code CX Codex Cursor +1 605installs react-native-best-practices callstackincubator Provides React Native performance guidelines based on Callstack practices. It helps agents diagnose FPS drops, memory leaks, and large bundles. Claude Code CX Codex Cursor +1 30,100installs gitnexus-refactoring abhigyanpatwari Safely rename symbols, split services, and extract modules using GitNexus semantic graphs. It verifies call hierarchies before touching files. Claude Code CX Codex Cursor +1 1,700installs parallel-debugging Seth Hobson This skill investigates complex bugs by testing competing hypotheses in parallel. Use it when an issue has several plausible causes or crosses multiple components. Claude Code CX Codex Cursor 10,000installs parallel-feature-development Seth Hobson This skill splits a large feature into parallel work streams, assigns file ownership, and guides integration. Use it when several agents share one codebase. Claude Code CX Codex Cursor 9,900installs multi-reviewer-patterns Seth Hobson This skill coordinates parallel reviews across code-quality dimensions and merges the results into one report. Use it when a change needs several review angles. Claude Code CX Codex Cursor 9,800installs improve-codebase-architecture Matt Pocock This skill scans a codebase for architectural friction, then builds a visual HTML report with refactoring candidates. Use it before a deeper architecture review. Claude Code 1,163,035installs tdd Matt Pocock Guides the red-green TDD loop: ensures tests are written first, keep them at public interfaces, and avoid coupling to implementation details. Claude Code 1,141,062installs

Questions about deslop

How to install deslop in Claude Code?

Run npx skills add cursor/plugins --skill deslop -a claude-code in your terminal. The configuration installs to ~/.claude/skills/deslop/SKILL.md.

What does the deslop skill do?

It reviews the diff against main to remove unnecessary AI additions. The skill strips redundant comments, flattens nesting, cleans up suspicious any type casts, and eliminates defensive blocks on safe execution paths.

Does deslop alter program behavior?

Guardrails require keeping code behavior unchanged. It alters logic only when fixing a clear bug, opting for small edits rather than broad rewrites.

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor