speckit-git-feature

Create a git feature branch with sequential or timestamp numbering from a specification.

Updated May 22, 2026
One-click install
npx skills add https://github.com/brianpunzalan/webui-rubric --skill speckit-git-feature-brianpunzalan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-git-feature
Source: https://github.com/brianpunzalan/webui-rubric/tree/main/.claude/skills/speckit-git-feature
Command: npx skills add https://github.com/brianpunzalan/webui-rubric --skill speckit-git-feature-brianpunzalan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the problem of manually naming and creating consistent feature branches for a specification-driven workflow, reducing errors and speeding up development kickoff.

Core Features & Use Cases

  • Feature-branch creation only: Creates and switches to a new git feature branch for a given specification, leaving spec directory/file creation to the core workflow.
  • Deterministic branch numbering strategy: Uses configured branch_numbering mode from .specify/extensions/git/git-config.yml or .specify/init-options.json, defaulting to sequential.
  • Description-driven short name generation: Generates a concise 2–4 word branch short name using an action-noun pattern while preserving technical terms/acronyms.
  • Environment override support: If GIT_BRANCH_NAME is set, uses the exact provided branch name and derives FEATURE_NUM when the name begins with a numeric prefix.

Quick Start

Create a new feature branch from my specification for adding OAuth2 login support in my app.

Frequently Asked Questions about speckit-git-feature

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

FAQPage Schema
How do I create consistent git feature branches from a specification description?

Git feature branches are created by generating a concise 2–4 word short name from your specification description and invoking the platform-specific script once. This returns the BRANCH_NAME and FEATURE_NUM while switching to the new branch.

Can I override the generated branch name when creating a feature branch?

Yes, you can override the generated branch name by setting the GIT_BRANCH_NAME environment variable. The feature branch creation process uses this exact name and derives the FEATURE_NUM if your branch name begins with a numeric prefix.

How does feature branch numbering work in a spec-kit project?

Feature branch numbering in a spec-kit project uses a deterministic strategy configured in .specify/extensions/git/git-config.yml or init-options.json. It defaults to sequential numbering but can be switched to timestamp numbering via configuration overrides.

Do I need a git work tree to generate a numbered feature branch?

Yes, a git work tree is required to generate a numbered feature branch. The workflow detects the active git work tree before generating the short name and invoking the create-new-feature script to ensure the branch is created in the correct repository context.

What is the best way to automate branch naming for spec-driven development?

Automating branch naming for spec-driven development is best handled by generating an action-noun pattern short name that preserves technical acronyms. This ensures consistent feature branch naming while leaving spec directory and file creation to the core workflow.

Why does my feature branch creation only switch branches without creating spec files?

Feature branch creation only handles creating and switching to the new git branch. It intentionally leaves spec directory and file creation to the core spec-kit workflow, ensuring branch creation and specification scaffolding remain separate processes.