finishing-a-development-branch
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:
More in Agent workflows
find-skills
Discover and install skills from skills.sh directly inside an agent session
vercel-labs/skillsagent-browser
Full browser automation: navigate, click, fill forms, extract data, and screenshot
vercel-labs/agent-browserskill-creator
Create, test, and publish new skills from within your agent
anthropics/skillsbrainstorming
Structured ideation and problem decomposition frameworks
obra/superpowersbrowser-use
Browser automation with visual understanding — interacts with pages based on what it sees
browser-use/browser-use