speckit-git-feature

Create and check out a numbered Git feature branch from a specification.

1|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/youssif-mohamed1/Smart-LMS-with-AI-Proctoring --skill speckit-git-feature-youssif-mohamed1
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: speckit-git-feature
Source: https://github.com/youssif-mohamed1/Smart-LMS-with-AI-Proctoring/tree/main/source%20code/LMS-Project/.agents/skills/speckit-git-feature
Command: npx skills add https://github.com/youssif-mohamed1/Smart-LMS-with-AI-Proctoring --skill speckit-git-feature-youssif-mohamed1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It removes the manual work of choosing a consistent, correctly numbered Git feature branch name and switching to it for each new specification.

Core Features & Use Cases

  • Feature-branch creation only: Creates and checks out a new feature branch while leaving spec directory/file creation to the core workflow.
  • Configurable numbering strategy: Uses sequential or timestamp numbering based on existing configuration (prefers .specify/extensions/git/git-config.yml, then .specify/init-options.json, otherwise defaults to sequential).
  • Deterministic script execution with environment override: Supports GIT_BRANCH_NAME to bypass prefix/suffix generation and preserve an explicit branch name you provide.

Quick Start

Ask the agent to create a new Git feature branch for the feature you described while letting it determine the next branch number automatically.

Frequently Asked Questions about speckit-git-feature

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

FAQPage Schema
How do I automatically create a numbered Git feature branch for spec-kit?▼

To automatically create numbered Git feature branches for spec-kit, the workflow parses your repository's configuration files to select a numbering strategy, then delegates to platform-specific scripts to generate and check out the branch with a sequentially or timestamp-derived number.

How does Git feature branch numbering work in a spec-kit workflow?▼

Branch numbering works by reading your preferred strategy from git-config.yml or init-options.json. It assigns sequential numbers by default, or timestamp-based numbers if configured, ensuring consistent branch naming across specifications.

Can I override the automatically generated Git branch name in spec-kit?▼

Yes, you can override the generated branch name by setting the GIT_BRANCH_NAME environment variable. This bypasses the default prefix and suffix generation, preserving the exact branch name you provide.

What configuration files are required to automate Git feature branch creation?▼

Automating branch creation requires a spec-kit repository structure with a .specify directory. The script prefers reading settings from .specify/extensions/git/git-config.yml, then falls back to .specify/init-options.json to determine the numbering strategy.

Does the spec-kit branch creation script also generate the specification files?▼

No, the branch creation script does not generate specification files. It exclusively creates and checks out the Git feature branch, leaving the spec directory and file creation to the core spec-kit workflow.

What do I need to run the spec-kit Git feature branch automation?▼

You need Git installed and available in your environment, a spec-kit repository with a .specify directory, and your numbering strategy configured in git-config.yml or init-options.json to run the automation successfully.