CommunityCoding & Developmentgithub.com

mtai0524/claude-skills

Branch naming convention and the rule to branch before changing code on the default branch (main/master). Use when starting new work, creating a branch, or when about to edit code while on the default branch.

What is claude-skills?

claude-skills is a Claude Code agent skill that branch naming convention and the rule to branch before changing code on the default branch (main/master). Use when starting new work, creating a branch, or when about to edit code while on the default branch.

Works with✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/mtai0524/claude-skills/tree/HEAD/skills/branch-naming

Installed? Explore more Coding & Development skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Branch naming

Format: <type>/<short-kebab-description>

  • Types match commit types: feat/, fix/, refactor/, chore/, docs/, test/, hotfix/.
  • Lowercase, kebab-case, under 40 chars, no issue-less vagueness (fix/stuff is bad).
  • Include the ticket id when there is one: feat/KV-12-login-screen.

Rules:

  • Before changing code, check git branch --show-current. If on the default branch (main or master), create a branch first: git switch -c <type>/<name>.
  • Never push the branch; the user pushes manually.

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

Related Skills