create-branch
Create and checkout git branches with smart validation and GitHub issue integration.
- Automatically links branches to GitHub issues when an issue number is provided, using
gh issue developfor seamless project tracking - Intelligently applies semantic prefixes (feature/, bugfix/, hotfix/, chore/, docs/) based on keywords in the branch name
- Validates branch names for kebab-case formatting, forbidden characters, length limits, and duplicate detection across local and remote branches
- Detects project language conventions from existing branches and commit messages to maintain consistency
- Recommends base branch selection (main or master) and offers remote push with tracking setup for collaboration
Language Conventions
Infer language style from the project:
- Analyze existing branches, commit messages, and documentation to detect the project's language variant (US English, UK English, etc.)
- Match the spelling conventions found in the project (e.g., "synchronize" vs "synchronise", "center" vs "centre")
- Maintain consistency with the project's established language style throughout branch names and command outputs
Create Branch Command
This command creates and checks out a new git branch with intelligent validation and GitHub issue integration.
Priority: GitHub Issue Integration
IMPORTANT: If the user provides an issue number (e.g., "#123", "123", or "issue 123"), ALWAYS prioritise using GitHub CLI's issue development workflow:
More from ruchernchong/claude-kit
create-issue
Create a GitHub issue with title and description (auto-assigned)
9folder-org
Project code structure and file organization. Use when creating files, organizing components, or deciding where code should live. (project)
8update-issue
Update a GitHub issue with new title, body, labels, or assignees
8security
Run security audit with GitLeaks pre-commit hook setup and code analysis
7sync-docs
Update and maintain CLAUDE.md and README.md documentation
7commit
Smart git commit with short, concise messages
6