Who it is forA developer about to merge a feature branch that was built mostly by a coding agent and wants the extra machinery removed first.
The problemAgent work on a branch often adds overlapping tests and defensive layers that make the merge harder to review.
The outcomeScoped cleanup limited to what the branch added relative to its merge base, ready for the developer to review and commit.
What you need first
- A local git checkout of the target repository
- Codex or Claude Code installed
- Git, if you install the Skill from a local clone
Steps
- In Claude Code, run
/plugin marketplace add MrZoyo/deslop-GPT. - Run
/plugin install deslop@deslop. - Check out the feature branch in the target repository.
- Run
/deslop:deslop current branch applyand review every change it makes. (inferred, check the README) - Run the project's own test suite before committing the cleanup. (inferred, check the README)
Prompt for your agent
Using the deslop Plugin from MrZoyo/deslop-GPT, run `/deslop:deslop current branch apply` on the feature branch in <target-repo-path>. Expected output: a summary of removed tests and fallbacks limited to the branch's merge base. Verify that no staging, commits, or pushes happened without separate permission.
Caveat. Only apply authorizes edits, and staging, commits, pushes, and branch changes still need separate permission, so you must commit the result yourself.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for MrZoyo/deslop-GPT and "Clean up a branch of agent work before merge"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer