gitversion

gitversion is a skill for Claude Code from landim32/awesome-ai-skills. It costs 81 tokens per session (2,570 once invoked), scanned A, original, MIT.

A GitVersion setup and commit guide for automatically numbering software releases with semantic versioning. It adds GitHub Actions workflows that tag releases and create GitHub Releases.

In plain words
What is it for?
Use it to add GitVersion.yml and release workflows to a Git repository, or to create correctly formatted commits from staged changes.
Why use it?
It removes the need to calculate version numbers and create release tags by hand. It also helps commits follow the format GitVersion uses to decide whether a change is a major, minor, or patch release.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the awesome-ai-skills plugin — 42 skills, 11 commands, 9 agents shipped together

Good fit Use it to add GitVersion.yml and release workflows to a Git repository, or to create correctly formatted commits from staged changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/landim32/awesome-ai-skills/gitversion
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add landim32/awesome-ai-skills --skill gitversion
Clone the repo
git clone --depth 1 https://github.com/landim32/awesome-ai-skills

Made for: Claude Code.

Or install awesome-ai-skills, the plugin that ships this one along with the rest of its 42 skills, 11 commands, 9 agents.

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 gitversion

README.md
[![agentmods](https://agentmods.dev/badge/skills/landim32/awesome-ai-skills/gitversion/github.svg)](https://agentmods.dev/skills/landim32/awesome-ai-skills/gitversion)
Your own site
<a href="https://agentmods.dev/skills/landim32/awesome-ai-skills/gitversion"><img src="https://agentmods.dev/badge/skills/landim32/awesome-ai-skills/gitversion/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 gitversion

Your own site · 80×15
<a href="https://agentmods.dev/skills/landim32/awesome-ai-skills/gitversion"><img src="https://agentmods.dev/badge/skills/landim32/awesome-ai-skills/gitversion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,570 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 original No closer match found 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.00081 $0.02570
Opus 5.5 $0.00032 $0.01028
Sonnet 5.5 $0.00016 $0.00514
Haiku 4.5 $0.00008 $0.00257

Measured 28d ago against content hash ef7748542aee, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gitversion 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 28d 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.

skills/gitversion/SKILL.md · 173 lines

How it starts

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

GitVersion — configuração e commits

Esta skill tem dois modos:

  1. Configurar — cria o GitVersion.yml e os workflows de tag e release no projeto (quando o usuário pedir, ou quando o projeto ainda não tiver GitVersion.yml).
  2. Commitar — cria commits no formato que o GitVersion.yml reconhece (o uso do dia a dia).

Input

$ARGUMENTS pode conter setup/configurar (modo configurar), uma descrição do que commitar, um tipo/escopo já decidido pelo usuário, ou nada (analise git status/git diff --staged para descobrir).


Modo 1 — Configurar GitVersion no projeto

Os modelos ficam na pasta templates/ ao lado deste SKILL.md:

Modelo Destino no projeto Função
templates/GitVersion.yml GitVersion.yml (raiz do repositório git) Regras de versionamento: branches, regex de mensagens de commit, prefixo de tag v
templates/workflows/version-tag.yml .github/workflows/version-tag.yml Workflow "Version and Tag": a cada push no main, calcula a versão com GitVersion e cria a tag vX.Y.Z
templates/workflows/create-release.yml .github/workflows/create-release.yml Workflow "Create Release": roda quando o "Version and Tag" termina com sucesso e cria uma GitHub Release para cada nova versão — major, minor ou patch — com notas geradas automaticamente desde a tag anterior

Passos

  1. Identifique a raiz do repositório git (git rev-parse --show-toplevel). Em monorepos com vários repositórios git, pergunte em qual(is) configurar.
  2. Verifique se algum dos três destinos já existe. Nunca sobrescreva sem perguntar — se existir, mostre a diferença para o modelo e pergunte se deve substituir, mesclar ou manter.
  3. Copie os modelos sem alterar o conteúdo, criando .github/workflows/ se não existir.
    • O nome Version and Tag em version-tag.yml precisa ser igual ao valor de workflows: ["Version and Tag"] em create-release.yml — se renomear um, renomeie o outro.
    • Se o branch principal não for main/master, ajuste on.push.branches em version-tag.yml (a regex do branch main no GitVersion.yml já cobre main e master).
  4. Se o repositório já tiver tags de versão, confira se seguem o formato vX.Y.Z — o GitVersion parte da maior tag existente. Se não houver nenhuma tag, a primeira versão calculada será 0.1.0 (ou a que o histórico de commits indicar); para começar de outra versão, sugira criar a tag inicial manualmente (ex.: git tag v1.0.0 && git push origin v1.0.0).
  5. Informe ao usuário:
    • Os arquivos criados.
    • Que em Settings → Actions → General → Workflow permissions o repositório (ou a organização) deve permitir Read and write permissions, senão o push da tag e a criação da release falham.
    • Que o commit de configuração deve seguir o formato da tabela abaixo (ex.: ci: configura gitversion e workflows de release) e que, a partir do próximo push no main, cada commit gera uma tag e uma release.

Read the full file on GitHub · 173 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 28d ago First seen · 173 lines · 81 tokens per session scan A ef7748542aee

Subscribe to this mod's changes

gitversion is a skill published in the GitHub repository landim32/awesome-ai-skills (1 stars, last pushed 2d ago), licensed MIT. It adds 81 tokens to every session and 2,570 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-01.

Related

gitversion compared with skills from other repositories

gitversion next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gitversionlandim32/awesome-ai-skillsSkill12d agoMITA81Claude Code
pdlc-shipkanfu-panda/pdlc-skillsSkill1915d agoMITA30Claude Code
production-release-gatingstealth-factory/skillsSkill412d agoMITA191Claude Code, Codex
trusted-publishsoulmachine/skillsSkill3yesterdayMITA0Claude Code, Codex
repo-quality-maksimalisasikevinnft/ai-agent-skillsSkill154mo agoMITA25Claude Code, Codex
release-prepivuorinen/skillsSkill4todaynoneA59Claude Code
github-clisordi-ai/skill-everythingSkill216mo agoMITA25Claude Code, Codex