speckit-companion: Skill for Claude Code

.claude/skills/speckit-git-feature/SKILL.md

speckit-git-feature is a skill for Claude Code from alfredoperez/speckit-companion. It costs 16 tokens per session (1,102 once invoked), scanned A, a copy of speckit-git-feature, MIT.

A Git workflow for creating and switching to a numbered or timestamped feature branch. A Git branch is a separate line of work that keeps feature changes apart from the main code.

In plain words
What is it for?
Use it when starting work on a specification that needs its own branch, with automatic or custom branch naming.
Why use it?
It organizes feature development and reduces the risk of mixing unfinished changes with other work. It can also use an explicitly supplied branch name.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

This is alfredoperez/speckit-companion's own configuration. It tells Claude Code how to work on speckit-companion itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything speckit-companion configures →

Reuse

Borrowing it

Nothing to install: this file belongs to alfredoperez/speckit-companion. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/alfredoperez/speckit-companion/main/.claude/skills/speckit-git-feature/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/alfredoperez/speckit-companion

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for speckit-git-feature

README.md
[![agentmods](https://agentmods.dev/badge/skills/alfredoperez/speckit-companion/speckit-git-feature/github.svg)](https://agentmods.dev/skills/alfredoperez/speckit-companion/speckit-git-feature)
Your own site
<a href="https://agentmods.dev/skills/alfredoperez/speckit-companion/speckit-git-feature"><img src="https://agentmods.dev/badge/skills/alfredoperez/speckit-companion/speckit-git-feature/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for speckit-git-feature

Your own site · 80×15
<a href="https://agentmods.dev/skills/alfredoperez/speckit-companion/speckit-git-feature"><img src="https://agentmods.dev/badge/skills/alfredoperez/speckit-companion/speckit-git-feature.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,102 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00016 $0.01102
Opus 5.5 $0.00006 $0.00441
Sonnet 5.5 $0.00003 $0.00220
Haiku 4.5 $0.00002 $0.00110

Measured 1mo ago against content hash 39cd0970c72c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

speckit-git-feature scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to speckit-git-feature — 42 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/speckit-git-feature/SKILL.md · 92 lines

How it starts

The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Git Feature Skill

Create Feature Branch

Create and switch to a new git feature branch for the given specification. This command handles branch creation only — the spec directory and files are created by the core /speckit-specify workflow.

User Input

$ARGUMENTS

You MUST consider the user input before proceeding (if not empty).

Environment Variable Override

If the user explicitly provided GIT_BRANCH_NAME (e.g., via environment variable, argument, or in their request), pass it through to the script by setting the GIT_BRANCH_NAME environment variable before invoking the script. When GIT_BRANCH_NAME is set:

  • The script uses the exact value as the branch name, bypassing all prefix/suffix generation
  • --short-name, --number, and --timestamp flags are ignored
  • FEATURE_NUM is extracted when the final path segment starts with a numeric or timestamp feature marker (for example 042-name, feat/042-name, or jdoe/app/042-name), otherwise set to the full branch name

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

Branch Numbering Mode

Determine the branch numbering strategy by checking configuration in this order:

  1. Check .specify/extensions/git/git-config.yml for branch_numbering value
  2. Check .specify/init-options.json for feature_numbering value (inherit from core)
  3. Check .specify/init-options.json for branch_numbering value (deprecated, backward compatibility — will be removed in a future release)
  4. Default to sequential if none of the above exist

Branch Name Template

Check .specify/extensions/git/git-config.yml for an optional branch_template value. If it is empty or missing, use the default branch shape {number}-{slug}. If it is set, {slug} must not appear before {number}, its final path segment must start with {number}-, and the script expands these tokens:

Read the full file on GitHub · 92 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +20 lines 39cd0970c72c
  2. 3mo ago First seen · 72 lines · 16 tokens per session scan A 5a4e239e3c29

Subscribe to this mod's changes

speckit-git-feature is a skill published in the GitHub repository alfredoperez/speckit-companion (112 stars, last pushed 2d ago), licensed MIT. It adds 16 tokens to every session and 1,102 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to speckit-git-feature, differing in 42 lines, and is treated as a copy.

Related

speckit-git-feature compared with skills from other repositories

speckit-git-feature next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
speckit-git-featurealfredoperez/speckit-companionSkill1122d agoMITA16Claude Code
feedback-nudgezooza-dev/zooza-mcp-serverSkill63d agoMITA38Claude Code
cabloy-mcp-imagecabloy/cabloySkill987yesterdayMITA74Claude Code, Codex
spk-gate-mergePriivacy-ai/spec-kittySkill1.7k13d agoMITA30Claude Code, Codex
maestro-verifyReinaMacCredy/maestroSkill2405d agoMITA41Claude Code, Codex
agent-debug-ciNVIDIA/elementsSkill124yesterdayApache-2.0A80Claude Code, Codex
plate-contributeudecode/plateSkill17ktodaynoneA39Claude Code, Codex