What problem does it solve? When implementation work is finished, developers face an error-prone decision point: merge locally, open a pull request, or keep the branch. This Skill enforces a safe, repeatable workflow that verifies tests first, detects the git environment (normal repo, worktree, or detached HEAD), and executes the chosen integration path with correct cleanup. ## Core Features & Use Cases - Test-Gated Integration: Runs the full test suite before any merge or push, and re-verifies tests on the merged result before deleting anything. - Environment Detection: Distinguishes normal repositories, named-branch worktrees, and detached HEAD states to present the correct option menu and cleanup strategy. - Safe Worktree Cleanup: Removes only worktrees under .worktrees/ or worktrees/, leaving externally managed workspaces untouched, and requires typed confirmation before discarding work. - Use Case: After finishing a feature branch in a git worktree, use this Skill to confirm the base branch, merge locally, re-run tests, remove the worktree, and delete the branch without losing work. ## Quick Start Ask the assistant to finish the current development branch and it will verify tests, present merge, pull request, or keep options, and clean up the worktree accordingly.