git-branch
Installation
SKILL.md
git-branch
Create a new branch without overwriting work or choosing an unsafe base.
Naming
- Issue-backed work:
<type>/<short-desc>-<issueID>. - Other work:
<type>/<user-provided-name>; never invent an issue ID. - Valid types are
feat,fix,refactor,docs,test,perf, andchore. Preserve a valid user type, otherwise infer one and default tochore. - Keep the description short, lowercase, English, hyphen-separated, and valid for Git. Remove punctuation, filler, and repeated separators.
When an issue ID is provided, use one gh issue view <issueID> --json title,body,number call for naming context. If it fails, continue only when the
request is enough and report that the issue was not verified.