| name | create-branch |
| description | Create a new git branch from conversation context. Use when starting work on an issue or feature. |
Create Branch
Branch Naming
-
GitHub issue in context (URL or #123):
- Format:
{type}/{issue-number}-{slugified-issue-title}
- Determine
{type} from the issue labels or title:
fix โ bugs, errors, corrections (labels: bug, fix)
feat โ new features, enhancements (labels: enhancement, feature)
refactor โ code improvements without behavior change
chore โ maintenance, CI, docs, dependencies
- Default to
fix if unclear
- Example: Issue #42 "Fix TRC20 token transfers" (label:
bug) โ fix/42-fix-trc20-token-transfers
- Example: Issue #55 "Add dark mode support" (label:
enhancement) โ feat/55-add-dark-mode-support
-
No GitHub issue:
- Format:
{type}/{kebab-case-description}
- Use the same type conventions as above
- Example: Adding dark mode โ
feat/add-dark-mode
- Example: Fix balance rounding โ
fix/fix-balance-rounding
Workflow
git checkout main
git pull
git checkout -b <branch-name>
Rules
- Lowercase with hyphens
- Max 50 characters for description
- Local only (no push)