name: finishing-a-development-branch description: Use when implementation is complete, all tests pass, and you need to decide how to integrate the work.
Finishing a Development Branch
Overview
Verify tests, present structured options, execute chosen workflow, clean up.
Core principle: Verify tests -> Present options -> Execute choice -> Clean up.
Options
- Merge back to base branch locally
- Push and create a Pull Request
- Keep the branch as-is
- Discard this work (requires typed confirmation)
Process
- Verify all tests pass (STOP if they fail)
- Determine base branch
- Present exactly 4 options
- Execute chosen option
- Clean up worktree (Options 1 and 4 only)
Agents Used
- Process agents referenced in workflow processes
Tool Use
Referenced by executing-plans and subagent-driven-development processes.