🎯

git-create-branch

🎯Skill

from pc-style/pc-skills

VibeIndex|
What it does

Creates a new Git branch with conventional naming, ensuring clear and structured branch management for different types of work.

πŸ“¦

Part of

pc-style/pc-skills(12 items)

git-create-branch

Installation

πŸ“‹ No install commands found in docs. Showing default command. Check GitHub for actual instructions.
Quick InstallInstall with npx
npx skills add pc-style/pc-skills --skill git-create-branch
1Installs
-
AddedFeb 4, 2026

Skill Details

SKILL.md

Create a new Git branch with proper naming conventions. Use when the user asks to create a branch, start a new feature branch, or switch to a new branch. Handles branch creation from current HEAD or from a specific base branch, with conventional naming (feature/, fix/, hotfix/, etc.).

Overview

# Git Create Branch

Create a new Git branch with proper naming and checkout.

When to Use

  • Starting a new feature
  • Creating a bug fix branch
  • Starting work on a specific issue
  • Any request to "create a branch" or "checkout new branch"

Branch Naming Conventions

Use these prefixes for clarity:

  • feature/ - New features (e.g., feature/add-login)
  • fix/ - Bug fixes (e.g., fix/login-error)
  • hotfix/ - Urgent production fixes (e.g., hotfix/critical-bug)
  • refactor/ - Code refactoring (e.g., refactor/auth-module)
  • docs/ - Documentation changes (e.g., docs/api-guide)
  • test/ - Test additions/changes (e.g., test/auth-tests)
  • chore/ - Maintenance tasks (e.g., chore/update-deps)

Workflow

1. Check Current State

```bash

git status

git branch --show-current

```

2. Create and Checkout Branch

From current HEAD:

```bash

git checkout -b

```

From specific base branch:

```bash

git checkout -b

```

3. Verify Creation

```bash

git branch --show-current

git log --oneline -3

```

Examples

Create feature branch from main:

```bash

git checkout -b feature/user-profile main

```

Create fix branch from current position:

```bash

git checkout -b fix/validation-error

```

Create branch for specific issue:

```bash

git checkout -b feature/issue-123-add-search

```

Best Practices

  • Use descriptive names: feature/add-dark-mode not feature/dark
  • Keep names concise but clear
  • Use kebab-case (hyphens, not underscores)
  • Include issue numbers when applicable: fix/#456-memory-leak
  • Always verify you're on the new branch before making changes

More from this repository10

🎯
blog-post🎯Skill

Generates cybernetic developer blog posts in a dual-author MDX format with custom components and API/CLI publishing methods.

🎯
git-commit🎯Skill

Generates intelligent git commits using Conventional Commits, automatically analyzing code changes and creating semantic, descriptive commit messages.

🎯
git-commit-push🎯Skill

Automates Git workflow by staging changes, creating conventional commits, and pushing to the current branch's origin.

🎯
explore-codebase🎯Skill

Quickly explore and map codebase structure, find files by patterns, and understand project architecture using Opencode's Explore agent.

🎯
code-review🎯Skill

Performs comprehensive code review analysis, identifying potential issues, best practices, and improvement suggestions across various programming languages.

🎯
load-handoff🎯Skill

Seamlessly loads and continues work from a HANDOFF.md file, reading context and preparing to execute next steps.

🎯
github-create-pr🎯Skill

Creates a GitHub pull request from a specified branch to another, with optional title, body, and assignee configuration.

🎯
create-handoff🎯Skill

Generates a comprehensive HANDOFF.md document to preserve project context, files, progress, and next steps for seamless continuation in a new AI session.

🎯
git-push-origin🎯Skill

Pushes a local Git branch to its remote origin (GitHub) for the first time, setting up upstream tracking.

🎯
generate-agents-md🎯Skill

Generates markdown documentation for AI agents, detailing their capabilities, configurations, and interaction guidelines.