Agent skill

Create Branch

Create a new git branch from latest main using the naming convention.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/create-branch-carrot-foundation-methodology-rules

SKILL.md

  1. Pull latest main:

    bash
    git fetch origin main
    git checkout main
    git pull origin main
    
  2. Create the branch using the naming pattern <type>/<short-description>:

    bash
    git checkout -b <type>/<short-description>
    
    • Use kebab-case for the description
    • Types match conventional commit types: feat, fix, docs, style, refactor, perf, test, chore, revert
    • Examples:
      • feat/add-vehicle-validation
      • fix/geolocation-precision-edge-case
      • chore/update-dependencies
      • refactor/extract-shared-helpers
  3. Verify you are on the new branch with git branch --show-current.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results