
Description
deslop is an agent skill that cleans up AI-generated code on the current branch. You run it after writing code, and the assistant checks the diff against main and removes the AI-style slop that the branch introduced. The skill targets extra comments that a human would not write or that do not match the rest of the file, defensive checks and try/catch blocks that are unusual for that part of the codebase, especially when trusted or validated code calls them, casts to any that are used to get around type problems, and any other style that is inconsistent with the surrounding file. It finishes with a short report of one to three sentences describing what changed. The skill is published by Brian Lovin in the agent-config repository on GitHub and listed on skills.sh, where all three security audits pass.…
Highlights
- Reviews only the branch diff against main
- Removes unnecessary AI-style comments
- Removes unusual defensive checks and try/catch blocks
- Removes casts to any used to dodge type errors
- Ends with a short summary
Ratings & Reviews
No ratings yet
Be the first to rate deslop.
People also visit

code-review-expert
Expert code review of current git changes with a senior engineer lens

make-pr-easy-to-review
Prepare PRs for review by cleaning noisy history, improving PR descriptions

om-code-review
Review a diff, branch, or PR against correctness, security, breaking-change
deslop FAQ
What does deslop do?
It removes AI-generated code slop from the current branch, such as extra comments, unneeded defensive checks and inconsistent style.
When should I run it?
After writing code, to clean up the branch before review.
How do I install it?
Run npx skills add https://github.com/brianlovin/agent-config --skill deslop, as listed on skills.sh.
What does it change?
Only what the branch introduces, compared with main. Its report at the end is limited to a one-to-three sentence summary.
What do the security audits say?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best deslop alternatives?
Popular alternatives to deslop include specs-code-cleanup, open-code-review and code-review-expert. See all deslop alternatives













