finishing-a-development-branch

Guides a coding agent through merging, PR creation, or preserving a finished branch.

Install

See the repository for setup

What it does

Finishing a Development Branch is a workflow skill for coding agents that helps close out completed implementation work. It applies once the code is written and the test suite passes, and it asks the agent to run the project's full tests first, reporting failures and stopping rather than continuing. Next it inspects the Git setup to decide whether the repository is a normal checkout, a linked worktree on a named branch, or a detached HEAD.

The agent then confirms the base branch with the user before any merge, and presents a short menu: merge locally and delete the branch, push and open a pull request, or keep the branch and worktree untouched. Detached HEADs get a reduced two-option menu because there is no branch to merge back. Merge paths re-run tests on the merged result before cleanup. Discarding work happens only after the user types an explicit confirmation word.

It is for developers using agent harnesses that load skills, such as Claude Code, Antigravity, Codex, Cursor, and similar CLI tools that install repository plugins.

Limitations: it requires Git and an available test command, and it assumes a human is present to answer the menu prompts.

Skill files

  • SKILL.md

Repository data

Stars
325,124
Last push
Nov 3, 2026
License
MIT
Archived
No

Tools similar to finishing-a-development-branch

FAQ

What license does finishing-a-development-branch use?
MIT
What files are included with finishing-a-development-branch?
SKILL.md

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<a href="https://aiagentsmarketplace.dev/skills/finishing-a-development-branch"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
See badge options