creating-git-branch

Create Git branches with names following repository naming conventions.

8|Updated Dec 22, 2016
One-click install
npx skills add https://github.com/p-chan/dotfiles --skill creating-git-branch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: creating-git-branch
Source: https://github.com/p-chan/dotfiles/tree/main/shared/agents/skills/creating-git-branch
Command: npx skills add https://github.com/p-chan/dotfiles --skill creating-git-branch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Git branch creation can be inconsistent across a team. This Skill automates creating new branches following common repository naming conventions, reducing errors and mental load.

Core Features & Use Cases

  • Branch naming policy: Detects existing branches and selects a suitable style (simple vs prefix-based).
  • Automatic naming: Generates 2–5 word branch names starting with a verb.
  • Use Case: When a developer requests a new feature branch, this Skill creates a compliant branch like feature/login-improvements.

Quick Start

Create a new feature branch by having the Skill generate a compliant name and switch to it, e.g.: git switch -c feature/login-improvements