Start a new branch following the configured branching strategy flow
Creates new branches following configured git workflow strategies with issue linking.
/plugin marketplace add C0ntr0lledCha0s/claude-code-plugin-automations/plugin install github-workflows@claude-code-plugin-automations<type> <name> [--issue N]Create a new branch following the configured branching strategy (gitflow, github-flow, etc.).
/branch-start feature auth # Create feature/auth from develop
/branch-start bugfix validation-error # Create bugfix/validation-error
/branch-start feature user-dashboard --issue 42 # With issue link
First argument (required): Branch type
feature: New feature developmentbugfix: Bug fix (non-urgent)hotfix: Emergency production fixrelease: Release preparationdocs: Documentation changesrefactor: Code refactoringSecond argument (required): Branch name/description
--issue N (optional): Related issue number
feature/issue-42-nameInput validation: Branch type must match configured flow types. Name must follow naming conventions (lowercase, hyphens, max 64 chars).
When this command is invoked:
Validate arguments:
Load configuration: Read branching-config.json for flow settings
Invoke managing-branches skill: Get branching expertise
Determine base branch:
Generate branch name:
Create the branch:
Link to issue (if provided):
Show next steps:
Simple feature branch:
/branch-start feature user-authentication
# Creates: feature/user-authentication from develop
With issue link:
/branch-start feature auth --issue 42
# Creates: feature/issue-42-auth from develop
# Links to issue #42
Hotfix branch:
/branch-start hotfix security-patch
# Creates: hotfix/security-patch from main
# May create worktree automatically
Release branch:
/branch-start release 2.0.0
# Creates: release/2.0.0 from develop
developmaindevelopmainmainWhen to use hotfix type:
Do NOT use hotfix for:
bugfix type instead)Best practices:
Workflow notes:
main, not developmain AND develop when finishedWhen to use release type:
Release preparation checklist:
Workflow notes:
developmain AND develop when finishedStarting feature branch: feature/issue-42-auth
Base branch: develop
Switching to develop...
Updating develop from origin...
Creating branch: feature/issue-42-auth
✅ Branch created: feature/issue-42-auth
✅ Based on: develop (up to date)
✅ Linked to: #42
Next steps:
1. Make your changes
2. Commit with: feat(auth): description
3. Reference issue: Refs #42
4. When done: /branch-finish
If arguments are invalid:
If base branch doesn't exist:
If network errors:
Use this to start branches that follow your team's conventions!