Home/Skills/dev/Finishing a Development Branch

/finishing-a-development-branch

Finishing a Development Branch

Tests pass, now what. Merge, PR, keep, or discard. Four options, one confirmation, clean worktree.

Used by 1 agent

What it does

Final step of a development branch. Verifies the test suite actually passes, determines the base branch, then presents exactly four options: merge locally, push and open a PR, keep the branch as-is, or discard. Discard requires typed confirmation. Worktree cleanup happens only when appropriate.

Use it at the end of every executing-plans or subagent-driven-development run. Also use it when a hand-built branch is ready and the merge decision needs structure instead of a free-form "what do I do now."

Outputs either a merged base branch, a pushed PR with summary and test plan, a preserved worktree, or a clean discard. Pairs with `executing-plans` and `subagent-driven-development` (both call it) and `using-git-worktrees` (the setup it tears down).

Build your second brain

Run /finishing-a-development-branch with your agents.

This skill ships with Agent0 Starter, plus 82 others. Axon runs it from day one.

Cortex
Chief of Staff
Loom
Loom
Radar
Radar
Hippo
Hippocampus
Signal
Signal
Sentinel
Sentinel
Axon
Axon
Hey, I'm Cortex — Chief of Staff for the team. Ask me anything; I'll handle it or pull in Loom (writing), Radar (growth), Hippocampus (research), Signal (social), Sentinel (ops), or Axon (code review). What's on your mind?