create-branch

Installation
SKILL.md

Create Branch

Derives a structured branch name from context and executes git checkout -b. Never pushes to remote.

Workflow

  1. Collect context — run all four in parallel:

    • git diff HEAD (tracked modifications)
    • git diff --cached (already staged)
    • git status --short (untracked files)
    • git log @{u}..HEAD --format="%s%n%b" (unpushed commit messages and trailers) — if this fails because no upstream is configured, treat it as empty and continue

    If all four return empty and the user provided no description, ask for a description before continuing.

  2. Extract issue number — in priority order:

Installs
14
First Seen
May 27, 2026
create-branch — dnd-mapp/agent-skills