deslop
Skill153 starsChanged 7 months agoMITView on GitHub
Remove AI-generated code noise from the current diff while preserving behavior. Use for deslop, AI slop cleanup, unnecessary comments, defensive checks, any casts, or needless nesting after an agent-generated change. Do not use as permission for a broad rewrite or when a real bug has not been isolated.
59 other projects use a version of this.
Adopted by
Most recently taken up by
- RichieHakim/agent_skillstheir own version, first seen Oct 5, 2026
- kontourai/stationtheir own version, first seen Oct 4, 2026
- kreid415/claude-science-skillstheir own version, first seen Oct 3, 2026
- dhanji4U/skillstheir own version, first seen Oct 2, 2026
- Rvey/agent-engineering-kittheir own version, first seen Oct 1, 2026
- compozy/compozytheir own version, first seen Oct 1, 2026
Used with
Projects with it also use dream, simplify and 8 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
maxvaegaSkilldream
Self-improving memory loop — capture the user's preferences, corrections, and standing rules as project memories; periodically consolidate them (REM pass) and propose improvements to skills and CLAUDE.md. Modes - default, history, queued, rem, proposals, setup. Full loop on Claude Code; capture-only portable mode on Claude Cowork.
Also in 3 projects that use this
Hugging FaceSkillsimplify
Refactor code after tests pass. The "Refactor" phase of Red-Green-Refactor.
Also in 4 projects that use this
AWSSkillteach
Teach the user a new skill or concept, within this workspace.
Also in 5 projects that use this
nicodianskSkillbrainstorm
Use when starting creative work - creating features, building components, adding functionality, or modifying behavior. Explores requirements through Socratic dialogue before any implementation.
Also in 4 projects that use this
MicrosoftSkillunslop
Cut AI tells from any writing. Must always apply.
Also in 4 projects that use this
AnthropicSkillstatus
Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.
Also in 3 projects that use this
Other versions59 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 59
- rohitg00/pro-workflow★ 2.9ksame name
- compozy/compozy★ 2.8ksame name
- Jwuthri/Tracely-ai★ 1.5ksame name
- pedronauck/skills★ 633same name
- brianlovin/agent-config★ 375same name
- automagik-dev/genie★ 345same name
- ninehills/skills★ 280same name
- MrZoyo/deslop-GPT★ 136same name
- jjanczur/tyran★ 81same name
- tance-mang/chinese-webnovel-skills★ 75same name
49 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository59 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-harness-designSkill
- agents-best-practicesSkill
- diffusion-engineeringSkill
- flux2-klein-promptingSkill
- flux2-lora-trainingSkill
- forensic-prompt-compilerSkill
- ml-research-labSkill
- notebooklm-grounded-researchSkill
- vlm-segmentationSkill
- feature-newSkill
- harness-designSkill
- layer-newSkill
- plan-swarm-reviewSkill
- pixel-art-storyboardSkill
- pixel-art-studioSkill
- architecture-firstSkill
- architecture-qualitySkill
- bug-reproducerSkill
- code-complexitySkill
- control-cliSkill
- control-uiSkill
- deep-reviewSkill
- distill-feedbackSkill
- harness-feedbackSkill
- proof-verifySkill
- refactoring-safelySkill
- repo-mapSkill
- system-and-data-designSkill
- testing-strategySkill
- thermo-nuclear-code-quality-reviewSkill
- verify-thisSkill
- workflow-orchestrationSkill
- frontend-designSkill
- motion-framerSkill
- ui-designSkill
- ui-ux-pro-maxSkill
- ios-developmentSkill
- lean-codeSkill
- cross-harness-continuationSkill
- deepseek-provider-contractSkill
- desktop-sessions-discoverySkill
- epistemic-challengeSkill
- gemini-delegateSkill
- harness-auditSkill
- observability-monitoringSkill
- remote-compute-opsSkill
- plan-to-ticketsSkill
- product-meaning-extractorSkill
- remotion-production-guideSkill
- script-evaluatorSkill
- video-narrative-arcSkill
- video-post-productionSkill
- article-structure-reviewSkill
- cavemanSkill
- humanize-englishSkill
- humanize-russianSkill
- owner-voiceSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 58 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 27
Remove only confirmed noise in a focused edit.
- Distinctive: line 28
Run the narrow relevant checks and inspect the final diff.
- Very specific: line 29
If the structure needs a real redesign, stop deslop and use refactoring-safely, architecture-quality, or thermo-nuclear-code-quality-review.
- Distinctive: line 33
Do not delete comments that explain a non-obvious invariant, security boundary, ABI constraint, workaround with an owner, or externally …
“Common” is measured: kept by at least 6 in 10 of the 58 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Deslop
Review only the branch diff against its intended base and remove noise that does not belong in the local code style. Keep the behavior and public contract unchanged unless a clear, separately verified bug is fixed.
Review Targets
- comments that narrate obvious code or contradict local conventions;
- defensive checks or catch blocks abnormal for a trusted path;
any, unsafe casts, or optionality used only to silence a type checker;- deep nesting that can be made clearer with early returns or a named helper;
- one-off wrappers, flags, and branches inconsistent with the surrounding module;
- C++ ownership or error-handling scaffolding that is redundant with the established RAII/contract boundary.
Workflow
- Inspect the base, diff, local style, tests, and ownership boundaries.
- Classify each candidate as noise, a clear bug, or an intentional contract.
- Remove only confirmed noise in a focused edit.
- Run the narrow relevant checks and inspect the final diff.
- If the structure needs a real redesign, stop deslop and use
refactoring-safely,architecture-quality, orthermo-nuclear-code-quality-review.
Do not delete comments that explain a non-obvious invariant, security boundary, ABI constraint, workaround with an owner, or externally required behavior.
Gotchas
- Shorter code is not automatically clearer; preserve names and boundaries that carry domain meaning.
- A broad formatter run can hide behavior changes and is not deslop proof.
- Removing a defensive check without proving the trusted-path invariant can turn cleanup into a regression.
- In C++, exception and ownership code may look repetitive while protecting an ABI or lifetime boundary; inspect callers before removing it.
Troubleshooting
| Symptom | Likely cause | Action |
| Cleanup changes a test result | Candidate was behavior, not noise | Revert that candidate and isolate the real contract |
| Diff is too broad | Tool ran over the whole tree | Restrict review to the branch diff and restore unrelated files |
| Comment seems redundant but explains a constraint | Context is outside the file | Read the owning docs/tests before changing it |
| Code remains structurally tangled | Deslop is the wrong scope | Escalate to a planned refactor with characterization tests |
Source
Adapted from Cursor Team Kit's MIT-licensed deslop workflow:
https://github.com/cursor/plugins/tree/main/cursor-team-kit/skills/deslop
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

