{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "mrzoyo-deslop-gpt--clean-current-branch-before-merge",
 "repo": "MrZoyo/deslop-GPT",
 "repo_url": "https://github.com/MrZoyo/deslop-GPT",
 "repo_slug": "mrzoyo-deslop-gpt",
 "title": "Clean up a branch of agent work before merge",
 "page_title": "How to clean up a branch of agent work before merge with Deslop GPT",
 "summary": "Trim tests and fallbacks added on the current branch, measured against its merge base.",
 "who": "A developer about to merge a feature branch that was built mostly by a coding agent and wants the extra machinery removed first.",
 "problem": "Agent work on a branch often adds overlapping tests and defensive layers that make the merge harder to review.",
 "outcome": "Scoped cleanup limited to what the branch added relative to its merge base, ready for the developer to review and commit.",
 "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 apply` and review every change it makes. (inferred, check the README)",
  "Run the project's own test suite before committing the cleanup. (inferred, check the README)"
 ],
 "agent_prompt": "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.",
 "agents": [
  "claude-code"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "Only apply authorizes edits, and staging, commits, pushes, and branch changes still need separate permission, so you must commit the result yourself.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "A local git checkout of the target repository",
  "Codex or Claude Code installed",
  "Git, if you install the Skill from a local clone"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/mrzoyo-deslop-gpt/clean-current-branch-before-merge/",
 "md": "https://dedupedai.com/use-cases/mrzoyo-deslop-gpt/clean-current-branch-before-merge/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/mrzoyo-deslop-gpt--clean-current-branch-before-merge.json",
 "api_version": "v1"
}
