bp-branch
>
Works with
---
name: bp-branch
description: >
license: Apache-2.0
---
# Branch: Create Feature Branch
## Language
Read `blueprint/.config.yml` → `language`. If `auto`, detect from the user's messages. All generated content MUST be in the detected language. Skill instructions stay in English — only output changes.
Create a new feature branch following our conventions.
## Format
```
<type>/<description>
```
## Types
- feat: New features
- fix: Bug fixes
- docs: Documentation
- style: Formatting
- refactor: Restructuring
- perf: Performance
- test: Testing
- build: Build changes
- chore: Maintenance
- hotfix: Urgent fixes
- plan: Planning/spec work
- security: Security fixes
- migration: Database migrations
- deps: Dependency updates
- deploy: Deployment/CI changes
- remove: Removing code/features
## Rules
- Use kebab-case for description
- Keep it short and descriptive
- Match the commit type you'll use
## Process
1. Verify the branch doesn't already exist:
```bash
git branch --list "<type>/<branch-name>" && echo "ERROR: branch already exists" && exit 1
```
2. Start from latest base branch:
```bash
# Determine base: use staging branch if it exists, otherwise main
STAGING_BRANCH=$(grep 'staging_branch:' blueprint/.config.yml 2>/dev/null | awk '{print $2}')
STAGING_BRANCH=${STAGING_BRANCH:-staging}
if git show-ref --verify --quiet refs/heads/$STAGING_BRANCH; then
BASE="$STAGING_BRANCH"
else
BASE="main"
fi
git checkout "$BASE" && git pull origin "$BASE"
```
3. Create the branch:
```bash
git checkout -b <type>/<branch-name>
```
Do NOT commit or push anything — branch creation only.
Use $ARGUMENTS as the branch name/description.More Git Workflows skills
git-commit
github/awesome-copilot
Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use when user asks to commit changes, create a git commit, or mentions "/commit". Supports: (1) Auto-detecting type and scope from changes, (2) Generating conventional commit messages from diff, (3) Interactive commit with optional type/scope/description overrides, (4) Intelligent file staging for logical grouping
git-workflow-and-versioning
addyosmani/agent-skills
Structures git workflow practices. Use when making any code change. Use when committing, branching, resolving conflicts, or when you need to organize work across multiple parallel streams. Use when cutting a release, choosing a semantic version bump, tagging, or writing a changelog.
resolve-merge-conflicts
warpdotdev/common-skills
Resolve Git merge conflicts by extracting only unresolved paths, conflict hunks, and compact diffs instead of loading whole files into context. Use when a merge, rebase, cherry-pick, or stash pop stops on conflicts, when `git status` shows unmerged paths, or when files contain conflict markers.

