Agent skill

Speckit Git Feature

by opsmill in opsmill/infrahub

Validate Jira/JPD ticket reference and create a feature branch

Apache-2.0Auto-check passedDevelopment

Install Speckit Git Feature

skills CLI
$ npx skills add opsmill/infrahub --skill speckit-git-feature -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install opsmill/infrahub speckit-git-feature --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/opsmill/infrahub.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/speckit-git-feature .claude/skills/speckit-git-feature && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
speckit-git-feature
GitHub stars
531
Token cost
~638 tokens
SKILL.md length
263 words
Files
1
Skills in repo
32
Repo updated
First seen
Licence
Apache-2.0

At a glance

Validate Jira/JPD ticket reference and create a feature branch

  • Works in 3 steps: Resolve Ticket Reference → Generate Short Name → Create Branch
  • Tasks that involve Spec-driven development
  • SKILL.md covers User Input, Prerequisites, Step 1: Resolve Ticket Reference and Step 2: Generate Short Name, plus 2 more sections
  • Calls git

What it does

Speckit Git Feature is an agent skill from opsmill/infrahub. Validate Jira/JPD ticket reference and create a feature branch

Its SKILL.md is about 640 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Requires spec-kit project structure with .specify/ directory

It sits in Development, covering Spec-driven development and Git workflow. It works with Git and Jira. The repository describes itself as: Infrahub is a graph-based data management platform with built-in version control, CI workflows, peer review, and API access. It’s purpose-built to power reliable infrastructure… The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Spec-driven development
  • Tasks that involve Git workflow

Example prompts

  • “/speckit-git-feature”

Requirements

  • Compatibility (from SKILL.md): Requires spec-kit project structure with .specify/ directory

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Resolve Ticket Reference
  2. Generate Short Name
  3. Create Branch

What it can do on your machine

Read from SKILL.md and the folder at commit 460d724. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires spec-kit project structure with .specify/ directory

    From compatibility in the SKILL.md frontmatter.

Context cost

Speckit Git Feature loads about 638 tokens when it runs. Until then it costs about 21 tokens; SKILL.md has 263 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~21
When it runs · the whole SKILL.md, loaded when a task matches
~638

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from opsmill/infrahub at commit 460d724, republished under its Apache-2.0 licence (© opsmill). 263 words, ~638 tokens.

Download SKILL.mdSave it as .claude/skills/speckit-git-feature/SKILL.md (or your agent's skills folder).
name
speckit-git-feature
description
Validate Jira/JPD ticket reference and create a feature branch
compatibility
Requires spec-kit project structure with .specify/ directory
metadata.author
github-spec-kit
metadata.source
preset:infrahub
user-invocable
true
disable-model-invocation
false

Speckit Git Feature Skill

Create Infrahub Feature Branch

Create and switch to a new git feature branch for the given specification, enforcing an Infrahub Jira or JPD ticket reference as the branch name suffix.

User Input

text
$ARGUMENTS

Prerequisites

  • Verify Git is available by running git rev-parse --is-inside-work-tree 2>/dev/null
  • If Git is not available, warn the user and skip branch creation

Step 1: Resolve Ticket Reference

Parse $ARGUMENTS for a ticket ID matching either of these formats:

  • JPD format: infp-[0-9]+ (e.g., infp-460)
  • Jira epic format: ifc-[0-9]+ (e.g., ifc-2140)

If no ticket ID is found in the arguments, prompt the user:

"Please provide a Jira or JPD reference for this feature (e.g., infp-460 for a JPD item or ifc-2140 for a Jira epic):"

Do not proceed until a valid ticket ID is provided. Never invent or skip it.

Step 2: Generate Short Name

Generate a concise short name (2-4 words) from the feature description:

  • Use action-noun format when possible (e.g., user-auth, fix-payment-timeout)
  • Preserve technical terms and acronyms (OAuth2, API, JWT, etc.)
  • Examples:
    • "Add user authentication" → user-auth
    • "Implement OAuth2 integration for the API" → oauth2-api-integration
    • "Fix payment processing timeout bug" → fix-payment-timeout

Step 3: Create Branch

Construct the branch name as <short-name>-<ticket-id> (e.g., user-auth-infp-460), then pass it as GIT_BRANCH_NAME to bypass the script's automatic numbering:

bash
GIT_BRANCH_NAME="<short-name>-<ticket-id>" .specify/extensions/git/scripts/bash/create-new-feature.sh --json "<feature description>"

Example:

bash
GIT_BRANCH_NAME="user-auth-infp-460" .specify/extensions/git/scripts/bash/create-new-feature.sh --json "Add user authentication"

IMPORTANT:

  • Always construct GIT_BRANCH_NAME as <short-name>-<ticket-id> — ticket ID is the suffix
  • Always include --json so output can be parsed reliably
  • Run this script exactly once per feature
  • For single quotes in args, use escape syntax: 'I'\''m Groot'

Output

The script outputs JSON with:

  • BRANCH_NAME: The branch name (e.g., user-auth-infp-460)
  • FEATURE_NUM: The ticket ID

© opsmill, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/speckit-git-feature of opsmill/infrahub.

Open the folder on GitHubat commit 460d724

Compare with similar skills

Speckit Git Feature next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Speckit Git Feature compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Speckit Git Feature this skillopsmill/infrahub531—~638Automated safety check: PassApache-2.0
MoAI Worktree Managementmodu-ai/moai-adk1.2k—~3.9kAutomated safety check: PassApache-2.0
Project Session ManagerYeachan-Heo/oh-my-claudecode40k—~4kAutomated safety check: PassMIT
Speckit Git Featurekunstmusik/blue1545 repos~861Automated safety check: PassGPL-3.0
Speckit Git Validatekunstmusik/blue1545 repos~489Automated safety check: PassGPL-3.0
Speckit Git Initializekunstmusik/blue1546 repos~438Automated safety check: PassGPL-3.0

Similar skills

  • MoAI Worktree Management

    modu-ai/moai-adk

    Gives each SPEC its own Git worktree with a registry of active workspaces, base-branch sync and cleanup of merged ones, inside the MoAI-ADK workflow.

    1.2k GitHub stars~3.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Project Session Manager

    Yeachan-Heo/oh-my-claudecode

    Creates isolated git worktrees, with optional tmux sessions, for PR reviews, issue fixes and feature work across projects and repositories.

    40k GitHub stars~4k tokensUpdated today
    DevelopmentAuto-check passed
  • Speckit Git Feature

    kunstmusik/blue

    Create a feature branch with sequential or timestamp numbering

    154 GitHub starsUsed in 5 repos~861 tokens
    DevelopmentAuto-check passed
  • Speckit Git Validate

    kunstmusik/blue

    Validate current branch follows feature branch naming conventions

    154 GitHub starsUsed in 5 repos~489 tokens
    DevelopmentAuto-check passed
  • Speckit Git Initialize

    kunstmusik/blue

    Initialize a Git repository with an initial commit. An agent skill from kunstmusik/blue.

    154 GitHub starsUsed in 6 repos~438 tokens
    DevelopmentAuto-check passed
  • Speckit Git Remote

    kunstmusik/blue

    Detect Git remote URL for GitHub integration. An agent skill from kunstmusik/blue.

    154 GitHub starsUsed in 5 repos~393 tokens
    DevelopmentAuto-check passed

More from opsmill/infrahub

All 32 skills in this repo
  • Analyzing CI Flakiness

    opsmill/infrahub

    Analyzes recent CI failures on pull requests to identify flaky tests, using retry outcomes (failed attempt → green re-run) and cross-PR recurrence as evidence, and maintains a local longitudinal…

    531 GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Audit Docs

    opsmill/infrahub

    Audits internal (dev/) and external (docs/) documentation completeness for a feature, subject, or set of existing docs, maps changes indicated by the user, across Infrahub's documentation layers…

    531 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Commit

    opsmill/infrahub

    Stages and commits the current changes onto a safe working branch, enforcing branch discipline and optionally pushing upstream.

    531 GitHub stars~2.8k tokensUpdated today
    Auto-check: notes
  • A skill your agent uses when you've fixed a bug, added a feature, or made any user-facing change in a project that uses Towncrier and need to record it for the changelog — before committing or…

    531 GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Creating Issues

    opsmill/infrahub

    Turns a single feature idea, improvement, or bug into ONE well-structured GitHub issue.

    531 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Creating Prd

    opsmill/infrahub

    Synthesises the current conversation context into a Product Requirements Document and publishes it to GitHub (as a comment on a referenced issue, or a new issue).

    531 GitHub stars~4k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Speckit Git Feature

What does Speckit Git Feature do?

Validate Jira/JPD ticket reference and create a feature branch. Speckit Git Feature is an agent skill from opsmill/infrahub.

When should I use Speckit Git Feature?

Speckit Git Feature fits situations like: tasks that involve Spec-driven development; tasks that involve Git workflow.

How do I install Speckit Git Feature in Claude Code?

Run `npx skills add opsmill/infrahub --skill speckit-git-feature -a claude-code`. Or copy the skill folder (.agents/skills/speckit-git-feature in opsmill/infrahub) into .claude/skills/speckit-git-feature in your project. Claude Code loads it when a task matches its description.

How do I install Speckit Git Feature in Codex?

Run `npx skills add opsmill/infrahub --skill speckit-git-feature -a codex`. Or copy the skill folder (.agents/skills/speckit-git-feature in opsmill/infrahub) into .agents/skills/speckit-git-feature in your project. Codex loads it when a task matches its description.

Can I use Speckit Git Feature in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add opsmill/infrahub --skill speckit-git-feature -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/speckit-git-feature, .gemini/skills/speckit-git-feature, .github/skills/speckit-git-feature and .opencode/skills/speckit-git-feature in your project.

What does Speckit Git Feature need to run?

Going by SKILL.md and its folder, Speckit Git Feature needs the command-line tools its instructions call (git). Compatibility (from SKILL.md): Requires spec-kit project structure with .specify/ directory.

Does Speckit Git Feature access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Speckit Git Feature safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Speckit Git Feature use?

Speckit Git Feature is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Speckit Git Feature use?

About 638 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Speckit Git Feature?

Skills that share tags, products or a category with Speckit Git Feature: MoAI Worktree Management (modu-ai/moai-adk, 1.2k stars), Project Session Manager (Yeachan-Heo/oh-my-claudecode, 40k stars), Speckit Git Feature (kunstmusik/blue, 154 stars) and Speckit Git Validate (kunstmusik/blue, 154 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Speckit Git Feature?

opsmill (a GitHub organization) maintains it in opsmill/infrahub, which has 531 GitHub stars. The repository holds 32 skills in this directory. The repository was last updated on October 8, 2026.

Source: opsmill/infrahub on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.