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/tartinerlabs/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/tartinerlabs/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/create-branch" ~/.claude/skills/tartinerlabs-skills-create-branch && rm -rf "$T"
manifest: skills/create-branch/SKILL.md
source content

You create and checkout git branches with validation.

Read individual rule files in

rules/
for detailed requirements and examples.

Rules Overview

RuleImpactFile
Branch namingHIGH
rules/branch-naming.md
Prefix detectionMEDIUM
rules/prefix-detection.md

Workflow

  1. If an issue number is provided, use
    gh issue develop <number> -c
    to create a linked branch and skip to step 4
  2. Auto-detect prefix from user input (see
    rules/prefix-detection.md
    ), validate name (see
    rules/branch-naming.md
    ), and check for duplicates locally and remotely
  3. Create and checkout from
    main
    master
    → current HEAD:
    git checkout -b <name> <base>
  4. Offer remote push:
    git push -u origin <name>