deslop
Remove AI-generated code slop, unnecessary comments, and over-engineering from the current branch diff. Cleans up boilerplate, simplifies abstractions, strips defensive code, and in skill-file mode lints SKILL.md files for quality
Install / Use
npx skills add rohitg00/pro-workflow --skill deslopInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Development & EngineeringSupported Platforms
Our assessment of deslop
deslop scores 87/100 on our quality scale, 1559th of 4,653 Development & Engineering skills we index (top 34%).
Its SKILL.md is 3.5 KB long, well organised into 8 sections with 1 code example: a solid amount of guidance for an agent.
With 2,876 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 8 days ago, so deslop is actively maintained.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 88/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
deslop compared with similar skills
All 4 of these similar skills score higher than deslop; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| deslop (this skill)by rohitg00 | 87 | 2.9k | 8d ago | SKILL.md |
| ai-job-searchby MadsLorentzen | 100 | 44.7k | today | CLAUDE.md |
| claude-howtoby luongnv89 | 100 | 41.7k | 2d ago | CLAUDE.md |
| algorithmic-artby anthropics | 100 | 177.9k | 9d ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 9d ago | SKILL.md |
Frequently asked questions
- How do I install deslop?
- Run
npx skills add rohitg00/pro-workflow --skill deslop. The install tabs above show the steps for each supported agent. - Which AI agents does deslop work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is deslop safe to use?
- It declares no license and scores 88/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is deslop still maintained?
- The repository was last updated 8 days ago, so deslop is actively maintained.
Skill content
View source on GitHubname: deslop description: Remove AI-generated code slop, unnecessary comments, and over-engineering from the current branch diff. Cleans up boilerplate, simplifies abstractions, strips defensive code, and in skill-file mode lints SKILL.md files for quality. Use when cleaning up code, simplifying, removing boilerplate, before committing, or when reviewing a skill before promoting it.
Remove AI Code Slop
Check the diff against main and remove AI-generated slop introduced in the branch.
Trigger
Use after completing changes, before committing, or when code feels over-engineered.
Commands
git fetch origin main
git diff origin/main...HEAD --stat
git diff origin/main...HEAD
Workflow
- Run diff commands to see all changes on the branch.
- Identify slop patterns from the focus areas below.
- Apply minimal, focused edits to remove slop.
- Re-run
git diff origin/main...HEADto verify only slop was removed. - Run tests or type-check to confirm behaviour unchanged:
npm test -- --changed --passWithNoTests 2>&1 | tail -10 - Summarise what was cleaned.
Focus Areas
- Extra comments that state the obvious or are inconsistent with local style
- Defensive try/catch blocks that are abnormal for trusted internal code paths
- Casts to
anyused only to bypass type issues - Over-engineered abstractions for one-time operations (premature helpers, factories)
- Deeply nested code that should be simplified with early returns
- Backwards-compatibility hacks (renamed
_vars, re-exports,// removedcomments) - Features, refactoring, or "improvements" beyond what was requested
- Added docstrings, type annotations, or comments on code that wasn't changed
- Error handling for scenarios that can't happen in trusted internal paths
Guardrails
- Keep behavior unchanged unless fixing a clear bug.
- Prefer minimal, focused edits over broad rewrites.
- Three similar lines of code is better than a premature abstraction.
- If you remove something, verify it's truly unused first.
- Keep the final summary concise (1-3 sentences).
Skill-file mode
When the target is a SKILL.md (not a code diff), lint it against the same
slop instinct applied to prose. Run this before promoting a skill. Flag:
- Stale lines - guidance written for an old version of the skill that no longer matches what it does. Cut it.
- Bloat - the skill runs past one screen with detail that belongs in a linked reference. Push it down: in-skill step, then in-skill reference, then an external file behind a pointer.
- Dead sentences - a line that changes nothing if deleted. Delete it.
- Duplication - the same instruction stated in two places, so edits drift. Keep one source of truth.
- Premature stop - the method ends before the work does (asks the question but never records the answer, cleans but never verifies).
- Weak anchor - no single concept the skill turns on. A skill the reader can name in one word triggers and executes in fewer tokens.
- Missing invocation intent - no declared human-run vs auto-triggered mode.
See
rules/skill-conventions.mdc. - Wrong write op - a state-changing skill that does not say whether it adds, updates, or appends, or that duplicates its output on a second run.
Skill-file mode output: the flagged issues by line, the edits applied, the cleanup summary, and whether the skill is ready to promote.
Output (code mode)
- List of slop patterns found with file locations
- Edits applied
- One-line summary of what was cleaned
Related Skills
ai-job-search
44.7kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
claude-howto
41.7kA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
