/ticket-branches:ticket-branchesfrom ticket-branches
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 names branches after their ticket/issue id (ticket-first).
Ships in ticket-branches. 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 name branches after their tracker ticket/issue id, with the id leading so it is the primary, autocompletable key. This matches the "create branch from issue" style used by GitHub and GitLab. It suits trunk-based development.
<ticket-id>/<description>
Examples: PROJ-123/add-login, 1234/fix-timeout.
The ticket id leads and the / namespaces it. One ticket can hold several
branches:
PROJ-123/api
PROJ-123/ui
This gives real folder grouping in branch UIs and lets you list all work on a ticket — include remote-tracking refs so teammates' branches show up too, not just your local ones:
git for-each-ref refs/heads/PROJ-123/ refs/remotes/*/PROJ-123/
PROJ-123,
GitHub/GitLab issue number 1234 — and only from a trusted tracker, since it
flows straight into branch names and git commands. Match its canonical case:
git ref namespaces are case-sensitive, so PROJ-123/... and proj-123/...
are different namespaces that won't group together./ only — separating the ticket id from the description.This convention assumes a tracker. If there is genuinely no ticket, do not invent a fake id — note that another model may fit better. If it's not clear from context, ask the user how they want to handle it.
Branches typically integrate into the default branch (main on trunk-based
repos). If the integration branch isn't clear from context, ask the user.
PROJ-123/add-csv-export
1234/fix-login-redirect
PROJ-456/api
PROJ-456/ui
feature/PROJ-123-add-export →
PROJ-123/add-export (this plugin is ticket-first)proj123/add-export → PROJ-123/add-export
(use the tracker's canonical key)PROJ-123/Add Export →
PROJ-123/add-exportWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub ben-everly/claude-plugins --plugin ticket-branches