What problem does it solve? When implementation work is done, developers often merge broken code, forget to verify tests, or leave stale branches and worktrees behind. This Skill enforces a disciplined completion workflow so no branch is merged, pushed, or discarded without verification and explicit confirmation. ## Core Features & Use Cases - Test Gate Before Completion: Runs the project's test suite (npm test, cargo test, pytest, go test) and blocks any merge or PR until all tests pass. - Structured Completion Options: Presents exactly four choices—merge locally, push and create a PR, keep the branch as-is, or discard the work—eliminating ambiguous open-ended decisions. - Safe Cleanup and Discard Protection: Cleans up git worktrees only when appropriate and requires typing 'discard' to confirm permanent deletion of branches and commits. - Use Case: After finishing a feature branch in a git worktree, use this Skill to verify tests pass, create a pull request with a summary and test plan via the GitHub CLI, and remove the worktree cleanly. ## Quick Start Use the finishing-a-development-branch skill to complete my current feature branch now that all tests pass.