deslop
Skill9 starsChanged 3 months agoMITView on GitHub
Remove AI code slop before committing. Review AI-generated code for unnecessary verbosity, redundant comments, over-engineering, and low-signal patterns that degrade codebase quality over time.
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 verify-this, thermo-nuclear-code-quality-review and 10 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.
AnastasiyaWSkillverify-this
Prove a concrete behavior, performance, UI, CLI, API, or memory claim with fresh baseline-versus-treatment evidence and one explicit verdict. Use when asked to verify, prove, compare before and after, show evidence, or confirm that a fix works. Do not use for vague claims such as cleaner code, a full plan-based release verification, or a known bug that needs a red-to-green reproducer.
Also in 4 projects that use this
AnastasiyaWSkillthermo-nuclear-code-quality-review
Run an opt-in strict maintainability review for giant files, spaghetti growth, misplaced logic, weak boundaries, unnecessary abstractions, and missed structural simplifications. Use for a thermonuclear review, harsh code-quality audit, code-judo review, or a file approaching 1000 lines. Do not use as an automatic rewrite mandate or for cosmetic cleanup.
Also in 3 projects that use this
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
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
- AnastasiyaW/codex-claude-code-config★ 153same name
- MrZoyo/deslop-GPT★ 136same name
- jjanczur/tyran★ 81same 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 repository109 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/agents.mdAGENTS.md
- agent/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- router/CLAUDE.mdCLAUDE.md
- .agents/skills/llms.txtllms.txt
- agent-harnessSkill
- auto-fixSkill
- brain-dumpSkill
- industrial-brutalist-uiSkill
- changelog-enforcerSkill
- checkpoint-strategySkill
- context-primeSkill
- cooldown-resumeSkill
- council-reviewSkill
- data-quality-auditSkill
- debug-tracerSkill
- dependency-auditSkill
- docs-syncSkill
- duplicate-threadSkill
- email-triageSkill
- fabric-patternsSkill
- feature-flagSkill
- git-hygieneSkill
- graphifySkill
- implementation-plannerSkill
- insightsSkill
- issue-resolverSkill
- learn-ruleSkill
- local-ai-querySkill
- lr-schedule-advisorSkill
- minimalist-uiSkill
- modularity-reviewSkill
- full-output-enforcementSkill
- parallel-agentsSkill
- parallel-worktreesSkill
- prompt-librarySkill
- prompt-transparencySkill
- pro-workflowSkill
- redesign-existing-projectsSkill
- release-readinessSkill
- replay-learningsSkill
- repo-memory-updaterSkill
- repowise-intelligenceSkill
- researchSkill
- resource-panelSkill
- risky-module-reviewSkill
- sandboxed-execSkill
- scope-guardSkill
- self-improveSkill
- session-handoffSkill
- skill-composerSkill
- smart-commitSkill
- high-end-visual-designSkill
- stitch-design-tasteSkill
- system-prompt-auditSkill
- task-alive-updatesSkill
- task-scoperSkill
- design-taste-frontendSkill
- test-first-executorSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 58 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
Run this skill before every commit on AI-generated code.
- Distinctive: line 24
Add excessive comments explaining obvious things
- Distinctive: line 25
Create unnecessary abstractions "for future extensibility"
- Distinctive: line 26
Write verbose variable names that add noise
- Distinctive: line 27
Add defensive checks for impossible scenarios
- Distinctive: line 155
Remove it entirely (comments, phantom helpers, unnecessary checks)
- Distinctive: line 159
Do not refactor beyond removing slop.
“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
Skill: deslop
When to Use
Run this skill before every commit on AI-generated code. AI tends to:
- Add excessive comments explaining obvious things
- Create unnecessary abstractions "for future extensibility"
- Write verbose variable names that add noise
- Add defensive checks for impossible scenarios
- Generate boilerplate that wasn't asked for
This skill catches and removes that slop before it becomes technical debt.
What "Slop" Looks Like
Category 1 — Obvious Comments
# BAD: comment restates the code
# Increment the counter by one
counter += 1
# BAD: docstring for a trivial getter
def get_name(self):
"""Returns the name.""" # ← remove this
return self.name
# GOOD: comment explains the WHY, not the WHAT
# Retry once on 429 — Ollama rate limits burst requests
if response.status == 429:
await asyncio.sleep(1)
response = await client.post(...)Category 2 — Phantom Abstractions
# BAD: helper function used exactly once
def _build_auth_header(token: str) -> dict:
return {"Authorization": f"Bearer {token}"}
# ... used only here:
headers = _build_auth_header(api_key)
# GOOD: inline it — one use doesn't need extraction
headers = {"Authorization": f"Bearer {api_key}"}Category 3 — Defensive Checks for Impossible Cases
# BAD: model is typed as str, can't be None here
if model is None:
model = "default"
# BAD: list was just created, can't be empty by contract
if not items:
return []Category 4 — Speculative Generality
# BAD: added for hypothetical future use
class BaseRouter(ABC):
@abstractmethod
def route(self): ...
class ModelRouter(BaseRouter):
def route(self): ... # only one implementation, ever
# GOOD: just write ModelRouter directly
class ModelRouter:
def route(self): ...Category 5 — Verbose Variable Names
# BAD
current_request_model_name_string = request.model
# GOOD
model = request.modelCategory 6 — Unasked-For Boilerplate
# BAD: added logging, error handling, and retry for a one-liner
async def get_health():
log.debug("Starting health check")
try:
result = await check_ollama()
log.debug("Health check completed successfully")
return result
except Exception as e:
log.error(f"Health check failed: {e}")
raise
# GOOD (if no retry logic was requested):
async def get_health():
return await check_ollama()Instructions
Step 1 — Read the diff
git diff --staged # staged changes only
# or
git diff HEAD # all changes since last commitStep 2 — Apply the deslop checklist
For each changed file, check:
- No comments that restate what the code does
- No one-use helper functions (inline them)
- No defensive None/empty checks for values that can't be None/empty by contract
- No abstract base classes or interfaces with a single implementation
- No verbose variable names (if the short name is unambiguous)
- No unasked-for boilerplate (logging, retry, error handling beyond what was specified)
- No type: ignore comments that mask real problems
- No TODO comments added by AI (remove or file as an issue)
- No backwards-compatibility shims for code that was just written
Step 3 — Apply fixes
For each slop item found:
- Remove it entirely (comments, phantom helpers, unnecessary checks)
- Inline it (one-use helpers)
- Simplify it (verbose names, over-abstracted interfaces)
Do not refactor beyond removing slop. The goal is cleaner, not different.
Step 4 — Verify nothing broke
pytest -xThe One Rule
If the code would be clearer without it, delete it.
Acceptance Checks
- No obvious comments (restating the code)
- No one-use helper functions
- No phantom defensive checks
- No speculative abstractions
- No verbose names where short ones are unambiguous
- No unasked-for boilerplate
- Tests still pass after cleanup
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.

