| name | branch-conventions |
| description | Use when creating a branch or reviewing branch names. Covers type prefixes (feat, fix, docs, chore, refactor, ci), naming rules (all lowercase, hyphens only, 2-5 words), branch lifecycle from cut to delete, and correct/wrong examples. |
Branch Naming Conventions
All branches in this repository must follow these conventions.
Format
<type>/<issue-number>-<short-description>
Include the issue number when a GitHub issue exists for the work.
Type Prefixes
| Type | When to Use | Example |
|---|
feat | New user-facing feature | feat/12-user-profile-page |
fix | Bug fix | fix/auth-token-refresh |
docs | Documentation updates only | docs/contributing-guide |
chore | Maintenance, dependency updates, tooling | chore/upgrade-sveltekit-2 |
refactor | Code restructure with no behaviour change | refactor/extract-validation-logic |
ci | CI/CD pipeline changes | ci/add-type-check-workflow |
Rules
- All lowercase — no uppercase letters in branch names.
- Hyphens only — no underscores, spaces, or other separators.
- No slashes except the single type prefix separator (
feat/, not feat/sub/name).
- Short description: 2-5 words max, hyphenated.
- Always cut from
development.
Examples
Correct
feat/12-user-profile-page
fix/5-auth-token-refresh
fix/missing-error-boundary
docs/architecture-overview
chore/upgrade-dependencies
refactor/api-error-handling
Wrong
feature/add_user_profile # underscore, wrong type prefix spelling
Fix/auth-token-refresh # uppercase
my-fix # missing type prefix
feat/add-the-new-user-profile-page-with-settings-tab # too long
Lifecycle
- Cut branch from
development: git checkout development && git checkout -b feat/42-short-description
- Work in small, focused commits following
commit-conventions/SKILL.md.
- Open a pull request targeting
development when ready.
- Delete branch after merge.