
Deslop
This one strips out the telltale signs of AI-generated code from your current branch before you commit. It runs a diff against main and looks for the usual suspects: obvious comments, defensive try-catch blocks in internal code, premature abstractions, deep nesting that should be early returns, and backwards-compatibility scaffolding that shouldn't be there. The workflow is straightforward: fetch, diff, identify patterns, clean them up, verify tests still pass. I appreciate that it has specific guardrails like "three similar lines is better than a premature abstraction" because that's the exact tradeoff people mess up when cleaning code. Use this when your changes feel bloated or you're about to merge and want to avoid embarrassing yourself.
- skills.sh installs
- 203
- GitHub stars
- 2.9K
- last updated
- Jun 8, 2026
Install
$ npx -y skills add rohitg00/pro-workflow --skill deslop --agent claude-codeInstalls into .claude/skills of the current project.
Files
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
Sponsors
Details
- Repository
- github.com/rohitg00/pro-workflow
- Categories
- Git & Pull Requests, Code Review & Quality, AI & Agent Building, Automation & Workflows
- First seen
- Jun 11, 2026
More from rohitg00/pro-workflow
All 35- Context Optimizer196
- Learn Rule194
- Session Handoff191
- Smart Commit190
- Compact Guard189
- Insights186
- Replay Learnings184
- Parallel Worktrees180
- Llm Council175
- Cost Tracker172
- Context Engineering171
- Mcp Audit169
- Orchestrate167
- Thoroughness Scoring166
- Auto Setup165
- File Watcher165
- Safe Mode164
- Plan Interrogate163
- Batch Orchestration162
- Bug Capture162
- Agent Teams161
- Permission Tuner161
- Sprint Status159
- Llm Gate158