finishing-a-development-branch

Installation
Summary

Structured workflow for completing development branches with test verification and merge/PR options.

  • Verifies all tests pass before presenting integration options, preventing broken code from being merged or submitted
  • Presents exactly four choices: merge locally, create a pull request, keep the branch as-is, or discard with confirmation
  • Executes the chosen workflow, including base branch detection, git operations, and worktree cleanup
  • Integrates with subagent-driven-development and executing-plans skills to finalize completed work
SKILL.md

Finishing a Development Branch

Overview

Guide completion of development work by presenting clear options and handling chosen workflow.

Core principle: Verify tests → Detect environment → Present options → Execute choice → Clean up.

Announce at start: "I'm using the finishing-a-development-branch skill to complete this work."

The Process

Step 1: Verify Tests

Before presenting options, verify tests pass:

# Run project's test suite
npm test / cargo test / pytest / go test ./...
Related skills
Installs
59.5K
GitHub Stars
186.6K
First Seen
Jan 19, 2026