speckit-git-feature

Creates a git feature branch with sequential or timestamp numbering for spec-kit projects.

Updated Sep 19, 2026
One-click install
npx skills add https://github.com/Ab0umar/selrs.cc.BU --skill speckit-git-feature-ab0umar
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: speckit-git-feature
Source: https://github.com/Ab0umar/selrs.cc.BU/tree/main/.agents/skills/speckit-git-feature
Command: npx skills add https://github.com/Ab0umar/selrs.cc.BU --skill speckit-git-feature-ab0umar

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually naming and numbering feature branches in spec-driven development is inconsistent and error-prone. This Skill automates branch creation with deterministic sequential or timestamp-based numbering so every feature branch follows the project convention. ## Core Features & Use Cases - Automated Branch Numbering: Determines the next sequential number or timestamp prefix automatically via the spec-kit create-new-feature script. - Configurable Numbering Mode: Reads branch_numbering from .specify/extensions/git/git-config.yml or .specify/init-options.json, defaulting to sequential. - Short Name Generation: Derives a concise 2-4 word action-noun branch slug from the feature description while preserving technical terms like OAuth2 or JWT. - Use Case: When starting a new specification such as "add user authentication", invoke this Skill to create and switch to a branch like 003-add-user-auth, then let /speckit.specify create the spec files. ## Quick Start Ask the AI to create a new feature branch for your feature description, for example: create a feature branch for adding OAuth2 login support.

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 a numbered git feature branch in spec-kit?▼

Run the create-new-feature script with --json and a --short-name derived from the feature description. The script automatically determines the next sequential number and outputs BRANCH_NAME and FEATURE_NUM as JSON.

How to switch between sequential and timestamp branch numbering?▼

Set branch_numbering in .specify/extensions/git/git-config.yml, or in .specify/init-options.json for backward compatibility. If neither file defines it, the workflow defaults to sequential numbering.

Can I override the generated git branch name?▼

Yes, set the GIT_BRANCH_NAME environment variable before invoking the script. The exact value becomes the branch name, and --short-name, --number, and --timestamp flags are ignored.

What happens if Git is not installed or the directory is not a repository?▼

Branch creation is skipped with a warning that no Git repository was detected. The script still outputs BRANCH_NAME and FEATURE_NUM so the calling workflow can continue referencing them.

Does this command create the spec directory and files?▼

No, it handles branch creation only. The spec directory and specification files are created separately by the core /speckit.specify workflow after the branch exists.