From orc
Create a feature branch from the current branch. Invoked directly or from /orc:tasks. No-op if already on a feature branch.
How this skill is triggered — by the user, by Claude, or both
Slash command
/orc:branchThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
$ARGUMENTS
$ARGUMENTS
Protected branches: main, master, develop. These are the only branches treated as protected by this skill.
The orchestrator runs this directly via Bash tool — no agent delegation.
Run git branch --show-current.
<name>" and STOP. This is a no-op.Read the project's CLAUDE.md and look for a "Branch" or "Branch Naming" section. If found, follow that convention exactly and skip 2b.
If no project convention exists, derive the branch name from $ARGUMENTS:
Ticket: Parse $ARGUMENTS for a ticket reference matching [A-Z]+-\d+, OR look for --ticket <ID>. Extract if found.
Type: Infer from keywords in arguments:
| Keyword(s) | Type |
|---|---|
fix, bug | fix |
feat, feature, add | feat |
refactor | refactor |
chore | chore |
docs, documentation | docs |
test | test |
Default if no keyword matches: feat
Slug: Remaining words (after removing the ticket reference and the matched keyword that triggered the type — e.g., remove bug not fix when bug was the input), kebab-case, max 5 words.
Format:
<type>/<ticket>-<slug><type>/<slug>git branch --list <name>
git checkout -b <branch-name><name>"$ARGUMENTS and no description available → prompt the user for a branch description. Do NOT guess.| Input | Result |
|---|---|
/orc:branch --ticket PROJ-123 Add dark mode | feat/PROJ-123-add-dark-mode |
/orc:branch fix login session expiry AUTH-45 | fix/AUTH-45-login-session-expiry |
/orc:branch Add user search | feat/add-user-search |
/orc:branch refactor database connection pool | refactor/database-connection-pool |
/orc:branch docs update API reference | docs/update-api-reference |
$ARGUMENTS — if empty and no context available, prompt the user. Do NOT invent a branch name.npx claudepluginhub metalspawn/claude-ops --plugin orcCreates traceable Git branches for current tasks using ticket IDs or short summaries (e.g., <ticket-id>-<short-kebab-summary>). Inspects git status, safely switches/creates, reports uncommitted work.
Creates git branches following Sentry naming conventions by analyzing changes and classifying branch types. Useful for standardizing branch creation.
Creates git branches following Sentry naming conventions. Automatically determines branch type and description from arguments or local diff. Useful when starting new work.