create-branch
Installation
SKILL.md
Create a working branch
Set up a feature branch or worktree before the first artifact is written. Called by /brainstorm and /plan to keep files off the default branch.
Context
$ARGUMENTS
This may be a feature description, brainstorm topic, plan title, or empty (when called by another skill, the conversation context provides the description).
Step 1: Detect current branch
Run:
git rev-parse --abbrev-ref HEAD
Compare the result against the base branch detected by running: