Tear down local and remote branch state after a pull request is finished, in one of two modes. Mode A (merged): verify the PR actually merged, remove the branch's worktree, resync the default branch, and delete the local branch. Mode B (closed / abandoned): close the PR(s), then delete every trace — worktree, local and remote branches, planning scratch. Mode B runs ONLY on an explicit user request to abandon the work — the user says "close the PR", "abandon this", "scrap it". Never infer abandon intent from a PR merely being stale, red, or unreviewed. Trigger on "the PR was merged", "clean up the branch", "delete the merged branch", "close those PRs", or "/pr-cleanup".
Install with
Claude CodeCodexCursorGitHub CopilotGemini CLI
Supported by the Atlas install prompt. Skill-specific requirements vary.
Skill stats
Skills1CategoryGeneralStars0
About this skill
Tear down local and remote branch state after a pull request is finished, in one of two modes. Mode A (merged): verify the PR actually merged, remove the branch's worktree, resync the default branch, and delete the local branch. Mode B (closed / abandoned): close the PR(s), then delete every trace — worktree, local and remote branches, planning scratch. Mode B runs ONLY on an explicit user request to abandon the work — the user says "close the PR", "abandon this", "scrap it". Never infer abandon intent from a PR merely being stale, red, or unreviewed. Trigger on "the PR was merged", "clean up the branch", "delete the merged branch", "close those PRs", or "/pr-cleanup".
Quick start
Copy the install prompt. Use the green button above this README.
Send it to your agent. Paste it into your coding agent’s chat and send.
Review the setup. Your agent checks the skill’s instructions, requirements, and installation scope.
Tear down local and remote branch state after a pull request is finished, in one of two modes. Mode A (merged): verify the PR actually merged, remove the branch's worktree, resync the default branch, and delete the local branch. Mode B (closed / abandoned): close the PR(s), then delete every trace — worktree, local and remote branches, planning scratch. Mode B runs ONLY on an explicit user request to abandon the work — the user says "close the PR", "abandon this", "scrap it". Never infer abandon intent from a PR merely being stale, red, or unreviewed. Trigger on "the PR was merged", "clean up the branch", "delete the merged branch", "close those PRs", or "/pr-cleanup".
About this listing
Category
General
Reported license
MIT
Listing language (estimated)
English
Review status
Not individually reviewed
Agent compatibility
Atlas installation supports Claude Code, Codex, and Cursor. Skill-specific dependencies and features are checked during setup.