finishing-a-development-branch ยท diff
git:20260507.56f011d to git:20260507.8dfdcb4
6 added, 16 removed. Audit A to C.
---
name: finishing-a-development-branch
description: Use when implementation is complete, all tests pass, and you need to decide how to integrate the work.
- graph:
- domains: [domain:software-engineering]
-
- ---
-
- # 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
-
- 1. Merge back to base branch locally
+ graph:
+ domains: [domain:software-engineering]
+ skillAreas: [skill-area:agentic-loops, skill-area:orchestration-loop]
+ workflows: [workflow:feature-development]
+ topics: [topic:developer-experience]
+ roles: [role:tech-lead, role:backend-engineer]
2. Push and create a Pull Request
3. Keep the branch as-is
4. Discard this work (requires typed confirmation)
## Process
1. Verify all tests pass (STOP if they fail)
2. Determine base branch
3. Present exactly 4 options
4. Execute chosen option
5. 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.