Skip to main content
skill CX Codex

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

deslop cleans generated code noise and accidental complexity from active diffs before final verification.

no license 267 installs ★ 655 updated 2026-10-20

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

What deslop does

This skill inspects the active diff of a task to spot artificial clutter. It targets redundant comments, unwarranted type casts, type suppressions, and defensive branches on reliable inputs. It also cuts down nested logic and duplicated helper functions.

Boundary checks, error handlers, and backward-compatibility adapters stay untouched. The skill keeps unrelated code intact and avoids editing files outside the requested scope. A brief summary reports what changed.

What it helps with

  • strip redundant comments and unnecessary type casts from diffs
  • flatten deep nesting added during code generation
  • remove defensive guard clauses on trusted inputs
  • prune duplicate helper functions introduced by recent edits

Example prompts for the agent

  • Run deslop on the current diff to clean up generated noise
  • Review my recent changes and remove redundant type casts

How to install deslop

1Skills CLI (Vercel)

npx skills add pedronauck/skills --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/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about deslop

How to install deslop in Claude Code?

Run npx skills add pedronauck/skills --skill deslop -a claude-code in your terminal. You can also place the skill file into ~/.claude/skills/deslop/SKILL.md.

What does deslop do?

It reviews changes in your working diff to strip artificial bloat. The skill deletes duplicate helpers, deep condition nesting, extra comments, and unwarranted cast statements.

Does deslop remove error handling?

No, it explicitly preserves error handling, boundary validation, and migration adapters required for compatibility.

Similar skills

All skills for Code review and refactoring →

deslop by other authors comes first.

deslop cursor deslop inspects branch diffs against main to remove AI-generated code clutter and inconsistent styling. Ideal for polishing branch changes before pull request review. CX Codex +1 10,700installs deslop prathamdby A skill for Claude Code, Codex, and Cursor that strips code slop from a git diff while keeping behavior identical. Cleans up staged or working tree edits. CX Codex +1 736installs deslop davila7 deslop cleans AI-generated clutter from a branch before merging code. It inspects diffs against main to strip needless comments, type workarounds, and unneeded guards. CX Codex +1 437installs deslop Rohit Ghumare deslop trims unnecessary code from the current branch diff and checks SKILL.md files. Run it before committing or reviewing a skill for release. CX Codex +1 ★ 2,966repo stars tidy mblode tidy inspects branch diffs and pull requests, flags bugs with file locations, and applies fixes directly. Useful for cleaning code before merging. CX Codex +1 539installs antfu-simplify Anthony Fu antfu-simplify — a skill for Claude Code and Codex that cuts working tree diffs down to minimal working code through systematic ablation. CX Codex +1 312installs check tw93 Inspects diffs, evaluates PRs, and verifies release readiness. It runs report-only checks and will not alter files without explicit user consent. CX Codex +1 16,500installs open-code-review-delegate alibaba open-code-review-delegate is a Claude Code skill that reviews commits, PRs, and workspace diffs using the host model. The ocr CLI selects files and rules while the agent model inspects code. CX Codex +1 5,000installs understand-diff Egonex-AI understand-diff analyzes Git diffs against the project knowledge graph to identify affected dependencies, architectural layers, and merge risks. Useful before reviewing pull requests. CX Codex +1 4,200installs hunk-review modem-dev hunk-review — a skill for Claude Code connects to live Hunk diff review sessions via CLI. Triggers during interactive code reviews when Hunk runs in the terminal or browser. CX Codex +1 2,700installs

From the same set52

The whole set →
electron-release electron-release guides Electron production builds, signing, notarization, updates, and delivery. Use it when a desktop app is moving from local builds to a release pipeline. CX Codex +1 282installs bubbletea Guides coding agents in building Go terminal interfaces with Bubble Tea and Lip Gloss under the Elm architecture. CX Codex +1 276installs testing-boss testing-boss guides test writing and LLM eval design: helps pick the right test layer, trim fragile mocks, and diagnose flaky CI suites without adding dummy production code. CX Codex +1 274installs alex-hormozi-pitch The alex-hormozi-pitch skill shapes offers and sales pitches with Alex Hormozi’s method. Use it when you need to work through value, pricing, guarantees, or objections. CX Codex +1 268installs effect-ts Skill for working with Effect-TS, a functional programming library for TypeScript. Guides you through type-safe code with error handling, async operations, and resource management using Effect, Schema, Pattern Matching, and Context.Tag. CX Codex +1 264installs centrifugo Skill for working with Centrifugo, a self-hosted real-time messaging server supporting WebSocket, SSE, and GRPC. Sets up channels, JWT authentication, backend publishing, and client subscriptions to live updates. CX Codex +1 263installs agent-exploration agent-exploration — a skill for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI and OpenCode that splits a broad research question into independent slices and dispatches each to a separate explorer. CX Codex +1 259installs deep-review deep-review is a Claude Code skill that examines branch changes, working trees, or pull requests. It looks for defects and improvements, and can check code against project rules or a specification. CX Codex +1 258installs

Project sponsors

Companies that keep this analytics open