rohitg00/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. Use when cleaning up code, simplifying, removing boilerplate, before committing, or when reviewing a skill before promoting it.
npx skills add https://github.com/rohitg00/pro-workflow --skill deslop
Check the diff against main and remove AI-generated slop introduced in the branch.
Use after completing changes, before committing, or when code feels over-engineered.
git fetch origin main
git diff origin/main...HEAD --stat
git diff origin/main...HEAD
git diff origin/main...HEAD to verify only slop was removed.npm test -- --changed --passWithNoTests 2>&1 | tail -10any used only to bypass type issues_vars, re-exports, // removed comments)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:
longer matches what it does. Cut it.
linked reference. Push it down: in-skill step, then in-skill reference, then
an external file behind a pointer.
Keep one source of truth.
but never records the answer, cleans but never verifies).
can name in one word triggers and executes in fewer tokens.
See rules/skill-conventions.mdc.
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.
Take rohitg00/deslop from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.