create-branch

Create and validate git branches with enforced naming rules.

7|1|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/tartinerlabs/skills --skill create-branch-tartinerlabs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-branch
Source: https://github.com/tartinerlabs/skills/tree/main/skills/create-branch
Command: npx skills add https://github.com/tartinerlabs/skills --skill create-branch-tartinerlabs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers often create branches that violate naming conventions or lose linkage to related issues. This Skill enforces branch-naming rules, detects relevant issue references, and provides a repeatable workflow to keep repositories clean and navigable.

Core Features & Use Cases

  • Validates branch names against kebab-case, prefixes, and length constraints defined in rules.
  • Detects issue references and links them to the new branch to improve traceability.
  • Provides a guided workflow to create, switch to, and optionally push validated branches.

Quick Start

Create a new branch with a valid name or an issue number to automatically link and checkout the branch.

Frequently Asked Questions about create-branch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce git branch naming conventions automatically?

To enforce git branch naming conventions automatically, this Skill validates branch names against kebab-case, prefixes, and length constraints defined in your rules directory before creating the branch.

Can I link a new git branch to an existing GitHub issue?

Yes, you can link a new git branch to a GitHub issue by providing an issue number, which the Skill detects and associates with the branch to improve traceability.

What is the best way to validate branch names before pushing to a remote repository?

The best way to validate branch names before pushing is using a guided workflow that checks naming rules locally, switches to the branch, and optionally pushes only after validation succeeds.

Does this branch creation workflow support custom prefix detection?

Yes, the branch creation workflow supports custom prefix detection by reading rules from the rules directory to guide validation and ensure branches match your defined prefixes.

Why do my feature branches violate naming rules in local development?

Feature branches violate naming rules when created manually without validation, but this Skill prevents that by enforcing kebab-case and prefix constraints during local branch creation.