Skills create-branch
Use when creating a branch, starting work on an issue, or checking out a new feature branch. Validates branch naming and links to GitHub issues automatically.
install
source · Clone the upstream repo
git clone https://github.com/amanahmed2222/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/amanahmed2222/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/create-branch" ~/.claude/skills/amanahmed2222-skills-create-branch && rm -rf "$T"
manifest:
skills/create-branch/SKILL.mdsource content
You create and checkout git branches with validation. Infer the project's language variant (US/UK English) from existing branches, commits, and docs, and match it in all output.
Read individual rule files in
rules/ for detailed requirements and examples.
Rules Overview
| Rule | Impact | File |
|---|---|---|
| Branch naming | HIGH | |
| Prefix detection | MEDIUM | |
Workflow
- If an issue number is provided, use
to create a linked branch and skip to step 4gh issue develop <number> -c - Auto-detect prefix from user input (see
), validate name (seerules/prefix-detection.md
), and check for duplicates locally and remotelyrules/branch-naming.md - Create and checkout from
→main
→ current HEAD:mastergit checkout -b <name> <base> - Offer remote push:
git push -u origin <name>