finishing-branch
CommunityFinish a feature branch with confidence.
AuthorVeraticus
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Automate finishing a development branch after all tasks are complete and tests pass, providing clear integration options and safe cleanup decisions.
Core Features & Use Cases
- Verification-driven finish: Confirms all tasks are complete and tests pass before any integration action.
- 4-option governance: Presents exactly four integration choices (merge locally, create PR, keep branch, discard) and follows a strict decision flow.
- Safe cleanup and governance: Manages worktrees and branch deletion with explicit confirmations to prevent data loss.
- Use Case: A completed feature branch can be finished by choosing between merging into main, opening a PR, keeping for later review, or discarding if abandoned.
Quick Start
- Run TaskList to confirm all tasks show status completed.
- Run the project’s test command (e.g., go test ./..., npm test, pytest) to ensure all tests pass.
- Determine the base branch with git merge-base HEAD main (or master) to identify the integration base.
- Run gambit:finish to begin the 6-step process and follow the prompts to select one of the four options.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: finishing-branch Download link: https://github.com/Veraticus/gambit/archive/main.zip#finishing-branch Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.