All skills
Skillintermediate
flow start
Start a new feature, bugfix, or hotfix branch following git-flow conventions.
Claude Code Knowledge Pack7/10/2026
Overview
Start a new feature, bugfix, or hotfix branch following git-flow conventions.
Steps
- Determine the flow type from the argument:
feature/<name>for new features (branches fromdevelopormain).bugfix/<name>for non-critical fixes (branches fromdevelop).hotfix/<name>for critical production fixes (branches frommain).
- Verify the working tree is clean:
git status --porcelain. - Fetch latest from remote:
git fetch origin. - Create the branch from the appropriate base:
git checkout -b <type>/<name> origin/<base>.
- Set up branch tracking:
git push -u origin <type>/<name>. - If a GitHub issue is referenced, link it:
- Name the branch
<type>/<issue-number>-<description>.
- Name the branch
- Display the branch info and next steps.
Format
Flow started:
Type: <feature|bugfix|hotfix>
Branch: <branch-name>
Base: <base-branch>
Tracking: origin/<branch-name>
Next steps:
1. Make your changes
2. Commit with conventional messages
3. Run: /git-flow:flow-release to merge
Rules
- Always branch from a clean, up-to-date base branch.
- Use lowercase kebab-case for branch names.
- Include issue number in branch name when applicable.
- Hotfix branches must always branch from the production branch.
- Verify no branch with the same name already exists.