finishing-a-development-branch
Finishing a Development Branch
Overview
Guide completion of development work by selecting a mode, then executing the appropriate flow (autonomous push+PR or interactive menu).
Core principle: Verify the project-defined branch gate -> choose mode (autonomous default) -> execute -> clean up.
Announce at start: "I'm using the finishing-a-development-branch skill to complete this work."
Mode Selection
If the agent was just finishing an autonomous execution run (i.e. this skill is being invoked as the final step of razorback:executing-plans or razorback:subagent-driven-development), use Autonomous Mode. If the user invoked the skill directly (e.g. "finish this branch"), use Interactive Mode. In ambiguous cases, default to Autonomous - run-to-completion is the bias.
Autonomous Mode
No menu, no prompts. Push the branch, open a PR with the morning-report summary, write the full report to .memories/, emit a one-line terminal pointer, exit. Merge is never auto-performed.