This gist has been migrated to: https://github.com/nicksteffens/claude-config/blob/main/commands/branch-create.md
Please use the repository version for the most up-to-date content.
Gist ID: 58712453df0352263785f2678aca4683
Gist URL: https://gist.github.com/nicksteffens/58712453df0352263785f2678aca4683
Update Command: gh gist edit 58712453df0352263785f2678aca4683
Create a new feature branch following the established naming convention.
- Format:
nicksteffens+claude/{sc-number || issues/number}/short-description
- For Shortcut stories:
sc-{number}
(e.g.nicksteffens+claude/sc-165234/fix-user-invitations
) - For GitHub issues:
issues/{number}
(e.g.nicksteffens+claude/issues/369/remove-empty-state-margins
)
- Ask user for ticket/issue reference (Shortcut story number or GitHub issue number)
- Ask for brief description for the branch name
- Create branch:
git checkout -b nicksteffens+claude/{reference}/{description}
- Confirm branch creation and show current branch
- "What Shortcut story or GitHub issue are you working on?"
- "What's a brief description for this work?"
- "Creating branch:
nicksteffens+claude/sc-165234/fix-user-invitations
"
Always ensure you're on the correct base branch (usually main) before creating the feature branch.