Testing
8,935 installs
finishing-a-development-branch
by obra/superpowers
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting…
Skill content
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 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: