release-versioning

release-versioning is a skill for Claude Code, Codex from aethrox/doctrine. It costs 84 tokens per session (1,319 once invoked), scanned A, original, MIT.

A release workflow that uses commit labels to calculate the next version and write a changelog. SemVer is a versioning scheme where changes to compatibility determine whether the major, minor, or patch number changes.

In plain words
What is it for?
Classifying commits, deciding whether a release needs a major, minor, or patch bump, and generating Keep a Changelog entries.
Why use it?
It replaces subjective release decisions with a repeatable link between the changes made, the version number, and the release notes.

Skill for Claude CodeCodex

Part of the doctrine plugin — 33 skills shipped together

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.

agentmods
npx agentmods add skills/aethrox/doctrine/release-versioning
Any agent
npx skills add aethrox/doctrine --skill release-versioning
Clone the repo
git clone --depth 1 https://github.com/aethrox/doctrine

Made for: Claude Code, Codex.

Or install doctrine, the plugin that ships this one along with the rest of its 33 skills.

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 release-versioning

README.md
[![agentmods](https://agentmods.dev/badge/skills/aethrox/doctrine/release-versioning.svg)](https://agentmods.dev/skills/aethrox/doctrine/release-versioning)
Your own site
<a href="https://agentmods.dev/skills/aethrox/doctrine/release-versioning"><img src="https://agentmods.dev/badge/skills/aethrox/doctrine/release-versioning.svg" alt="Measured on agentmods" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,319 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00084 $0.01319
Opus 5 $0.00042 $0.00660
Sonnet 5 $0.00017 $0.00264
Haiku 4.5 $0.00008 $0.00132

Measured 5d ago against content hash 8d450b852032, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

release-versioning 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 5d 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/release-versioning/SKILL.md · 89 lines

How it starts

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

Release Versioning

The version number and changelog are derived, never chosen by feel. Conventional Commits classifies each change; that classification computes the SemVer bump; the bump renders straight into a Keep a Changelog entry. Skip a step and the other two have nothing to compute from.

Phase 1: Commit classification (Conventional Commits)

Every commit that touches shipped behaviour is typed:

<type>(<optional scope>)!: <description>

<optional body>

<optional footer(s)>
Type Meaning SemVer effect
fix bug fix PATCH
feat new backwards-compatible capability MINOR
feat! / fix! / any type with ! or a BREAKING CHANGE: footer incompatible API change MAJOR
docs, style, refactor, perf, test, build, ci, chore no shipped behaviour change none
  • refactor and perf carry no version bump only if the public interface is unchanged; a perf that changes a function signature is a feat or a breaking change, not a perf.
  • The ! and the BREAKING CHANGE: footer are the only signals that force a MAJOR bump. Do not infer "this feels big"; if nothing changed for a consumer's existing calls, it is not breaking.
  • One commit, one logical change. A commit mixing a fix and an unrelated feat forces the classifier to guess; split it.
  • Write generated commit and changelog prose without em dashes: use a comma, colon, period, or a reworded sentence instead.

Done when every commit in the range to be released has an unambiguous type and, for any breaking one, a BREAKING CHANGE: footer describing what a consumer must change.

Phase 2: Version computation (SemVer)

Given MAJOR.MINOR.PATCH, and reading the range since the last release in Conventional Commit order of precedence (MAJOR beats MINOR beats PATCH; one breaking commit anywhere in the range forces MAJOR regardless of how many fixes sit next to it):

  • Any breaking commit → bump MAJOR, reset MINOR and PATCH to 0.
  • Else any feat → bump MINOR, reset PATCH to 0.
  • Else any fix → bump PATCH.
  • Else (only non-releasing types) → no release; do not cut one just because time passed.
  • Below 1.0.0: MINOR may carry breaking changes by convention (the public API is declared unstable); state this explicitly in the project's README if relied on, since it silently overrides the table above.

Read the full file on GitHub · 89 lines

Files

What ships with it

1 file 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. 5d ago First seen · 89 lines · 84 tokens per session scan A 8d450b852032

Subscribe to this mod's changes

release-versioning is a skill published in the GitHub repository aethrox/doctrine (18 stars, last pushed 23d ago), licensed MIT. It adds 84 tokens to every session and 1,319 once invoked, about $0.0004 per session on Opus 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-08-30.

Related

Other skills, from other repositories

release-openspec

Use this skill when releasing OpenSpec: audit merged work and changeset coverage, decide whether a catch-up changeset PR is needed, prepare or resume the Changesets Version Packages PR, cut a beta or stable release, verify publishing, and polish GitHub release notes. Also use when asked whether an open release PR is…

Fission-AI/OpenSpec · 88 tokens

changelog-writer

Write changelogs for Bifrost releases. Reads git history, bumps module versions following the core→framework→plugins→transport hierarchy, writes transports/changelog.md (enterprise-style) and per-module changelog.md files, and updates version files. Invoked with /changelog-writer or /changelog-writer .

maximhq/bifrost · 73 tokens

split-commit-into-stack

Split one oversized commit or branch into a stack of independently reviewable Graphite (gt) PRs - deciding what genuinely separates, what is atomic and must stay whole, and proving each lower PR builds and passes without the ones above it. Use when asked to "split this PR", "this commit is too big", "break this into a…

maximhq/bifrost · 96 tokens

release-checklist

Pre-release safety audit for the Bifrost repo. Scans database migrations changed in a release for high-scale deadlock / lock-contention risks and for work that blocks application boot time, then produces a pass/warn/fail report with a concrete remediation plan. Invoked with /release-checklist [git-ref-range]. Built to…

maximhq/bifrost · 82 tokens

release-notes

Edit an existing GitHub release's body into the project's bilingual (English + Chinese) template format with a References section built from merged PRs. Use when 修改 release、整理发布说明、release notes、编辑 release 内容、发版后整理、edit release body.

samanhappy/mcphub · 58 tokens

xcodebuildmcp-docs-release-review

Use when reviewing XcodeBuildMCP documentation, CLI command references, website manifest generation, changelog, release notes, and release script changes.

getsentry/XcodeBuildMCP · 39 tokens