From spectatr-tools
Use when creating branches, starting feature work, making hotfixes, or any git branching decision. Enforces Spectatr branch naming conventions, hierarchy, and merge rules. Triggers on branch creation, "new feature", "hotfix", "start working on", or any git workflow decision.
How this skill is triggered — by the user, by Claude, or both
Slash command
/spectatr-tools:branch-managementThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
| Branch Type | Pattern | Environment | Purpose |
| Branch Type | Pattern | Environment | Purpose |
|---|---|---|---|
| Main | main | Production | Stable, production-ready code |
| Hotfix | hotfix/* | Production | Emergency production fixes only |
| Dev | dev | Development | Integration branch for all features |
| Feature | feat/* | Development | Individual feature development |
feat/* ──► dev ──► main
▲ ▲
└──────────┤
│
hotfix/*
feat/* branches are upstream of devdev is upstream of mainhotfix/* branches are upstream of main and must also be merged into dev immediately aftermain and dev are protected — no direct pushes, all changes via reviewed PRdevfeat/<descriptive-name> (e.g. feat/user-authentication, feat/payment-redesign)dev — no incomplete or half-finished workgit checkout dev
git pull origin dev
git checkout -b feat/<feature-name>
mainhotfix/<issue-name> (e.g. hotfix/login-crash, hotfix/payment-timeout)git checkout main
git pull origin main
git checkout -b hotfix/<issue-name>
| Scenario | Merge Target | Then Also |
|---|---|---|
| Feature complete | feat/* → dev via PR | — |
| Hotfix complete | hotfix/* → main via PR | Immediately merge into dev |
| Release to production | dev → main via PR | — |
dev and main must go through a Pull Request| Scenario | Action |
|---|---|
| Starting new feature work | Branch off dev → feat/your-feature-name |
| Finished a feature | PR from feat/* → dev, review, merge, delete branch |
| Emergency production fix | Branch off main → hotfix/issue-name, PR to main, then to dev |
| Releasing to production | PR from dev → main, review, merge |
| Merge conflicts on PR | Rebase against latest upstream, resolve conflicts, push |
Before creating a branch, verify:
dev for features, main for hotfixes)feat/ or hotfix/)npx claudepluginhub spectatr-ai/spectatr-claude-pluginsImplements git branching strategies like Git Flow with naming conventions, prefixes, and best practices for clear development narratives and parallel workflows.
Enforces Git branch naming conventions with type prefixes (feat, fix, chore), issue linking, and kebab-case formatting. Use for creating branches, validating names, or setting repository standards.
Implements the GitFlow branching model with two permanent branches (main, develop) and short-lived feature, release, and hotfix branches for scheduled releases and regulated environments.