deslop
- Use it when:
- A branch written with an agent is done and you want its machine-written habits cleaned out before review.
- It does:
- Reads the diff against main and edits out comments, try/catch blocks, any casts and nesting that don't match the surrounding code.
- You get:
- Small, behavior-preserving edits and a summary of one to three sentences.
- Part of:
- cursor-team-kit, one of the plugins in Cursor's plugin repo.
- Unlike unslop:
- That one, from the same repo, rewrites prose rather than code.
TL;DR
A short cleanup pass. The agent checks the current branch's diff against main and removes what the branch introduced that reads as machine-written: comments that are unnecessary or don't match the file's style, defensive checks and try/catch blocks that are unusual for trusted code paths, casts to any that only get around type errors, deeply nested code that early returns would flatten, and other patterns out of keeping with the file and the codebase. It keeps behavior unchanged unless it's fixing a clear bug, prefers small focused edits to broad rewrites, and keeps its closing summary to one to three sentences.
Summarizes the skill at 8ecfb19.
npx skills add https://github.com/cursor/plugins --skill deslop skills.sh pageSource on GitHubAll skills from cursor/plugins
- Total Downloads
- 10,100 on skills.sh, Nov 9, 2026
- Repo stars
- 15,776 cursor/plugins
- First seen
- Feb 18, 2026 on skills.sh
Weekly values
| Week to | Installs |
|---|---|
| Sep 21 | 629 |
| Sep 28 | 690 |
| Oct 5 | 718 |
| Oct 12 | 449 |
| Oct 19 | 522 |
| Oct 26 | 536 |
| Nov 2 | 396 |
| Nov 9 | 400 |
| Category |
Test-first work, implementation from specs, git hygiene and scope control. Find root causes, review code and test what you built. Everything for building software: planning, coding, debugging, design, frameworks, cloud, agents and skills. |
|---|---|
| Type |
A one-shot action you invoke by name, such as turning the conversation into a PRD. |
| Effect |
Its own steps create or change files, git state or local tools. |
| Needs |
Instructions only. Works in any agent that supports skills. |
| Publisher |
Everyone else. Unverified vendor claims default to community. |
| Topics |
SKILL.md
From cursor/plugins at 8ecfb19. Checked daily, last changed Nov 6, 2026.
Frontmatter
name: deslop
description: Remove AI-generated code slop and clean up code styleRemove 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).