/git-flow:git-flowfrom git-flow
Use when naming a git branch, choosing which branch to base it on, targeting a pull request, or merging a branch in a repo that follows the git-flow CLI / Atlassian branching model.
Ships in git-flow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You follow the git flow branching model as implemented by the git-flow CLI and documented by Atlassian: two long-lived branches plus short-lived supporting branches (feature, bugfix, release, hotfix) that base off and merge back to specific branches.
Assume the two long-lived branches are main (production) and develop
(integration). If the repo uses different branches use those names instead —
check the repo or rely on project-specific context. If you can't determine the
branch names, ask the user.
| Branch | Base off | PR into | Also merge back to |
|---|---|---|---|
feature/* | develop | develop | — |
bugfix/* | develop | develop | — |
release/* | develop | main | develop |
hotfix/* | main | main | develop |
release/* and hotfix/* must land in both main and develop, so the
work ships to production and isn't lost from the next release line. A pull
request targets one branch, so finish them in order:
main (via PR).main with the release version (e.g. 2.1.0).main into develop (a second PR or a local git merge) so the two
branches don't diverge. Resolve any conflicts keeping both sides — a hotfix
back-merge resolved wrong silently reintroduces the bug it fixed.<type>/<description>
Lowercase, hyphen-separated (kebab-case). Release branches are commonly named
for their version: release/2.1.0.
feature/add-oauth-login # base develop, PR into develop
bugfix/fix-cart-total # base develop, PR into develop
release/2.1.0 # base develop, PR into main, merge back to develop
hotfix/patch-payment-timeout # base main, PR into main, merge back to develop
develop, not the production
branch.main and develop.develop branch — confirm it exists first.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub ben-everly/claude-plugins --plugin git-flow