Git Branch Finisher

•
259
•

Guides the completion of development work by verifying tests, managing merges, and streamlining Pull Request creation.

The Git Branch Finisher skill standardizes the final stages of the development lifecycle within Claude Code. It enforces a strict 'test-first' policy, requiring all tests to pass before offering clear, structured options for code integration. Whether you need to merge locally, push to a remote for a Pull Request, or safely discard an experiment, this skill automates the Git commands and cleanup tasks required. It helps prevent common developer errors like merging broken code, leaving orphaned worktrees, or accidentally deleting work without confirmation.

Características Principales

01Safety-first branch deletion with mandatory typed confirmation.
02Automated test suite verification for npm, cargo, pytest, and go test.
03Integrated GitHub CLI support for automated Pull Request generation.
04259 GitHub stars
05Interactive decision menu for local merges, PR creation, or cleanup.
06Intelligent Git worktree cleanup to maintain repository hygiene.

Casos de Uso

01Automating the transition from a local development worktree to a remote Pull Request.
02Standardizing the feature branch off-ramping process in collaborative environments.
03Enforcing quality gates by blocking merges until local test suites pass.