What problem does it solve? Deleting Git branches and worktrees after a PR merge is error-prone: wrong deletion order, unmerged commits lost silently, stale remote state causing false merge detection, and accidental deletion of protected branches. This Skill enforces a safe, confirmed cleanup sequence for the mj-agent bare-repo worktree workflow. ## Core Features & Use Cases - Ordered deletion workflow: Removes worktree first, then local branch, then optionally both remotes (gitee and origin), with per-step failure isolation and a final cleanup summary. - Human-in-the-loop safety gates: Prompts for confirmation on uncommitted changes, unmerged commits (with remote-merge verification via tip commit lookup), wrong working directory, and missing remote branches. - Protected branch enforcement: Refuses to delete main and develop, and requires running worktree removal from a different worktree. - Use Case: After a hotfix branch is merged via PR, ask to clean it up; the Skill fetches remote state, asks whether to delete locally, remotely, or both, then executes the full sequence with confirmations. ## Quick Start Ask the assistant to delete the merged feature branch and its worktree, choosing whether to also remove the gitee and origin remote branches.