pre-release

A guided checklist for preparing a software project for a new release. A release is a published version of the project, and the checklist covers the project state, version number, changelog, and release naming.

In plain words
What is it for?
Use it before publishing a project version. It helps inspect Git status and tags, select the next stadium codename, determine the version bump from CHANGELOG.md, and pause before branching, committing, tagging, or pushing.
Why use it?
It reduces the chance of releasing from an unclean branch, choosing the wrong version, or skipping required release notes. It also requires confirmation before creating release-related Git changes.

Command for Claude Code

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 commands/nanotaboada/dotnet.samples.aspnetcore.webapi/pre-release
Clone the repo
git clone --depth 1 https://github.com/nanotaboada/Dotnet.Samples.AspNetCore.WebApi

Made for: Claude Code.

Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,255 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.00000 $0.01255
Opus 5 $0.00000 $0.00628
Sonnet 5 $0.00000 $0.00251
Haiku 4.5 $0.00000 $0.00126

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

Security

Grade A, and why

pre-release 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 2d 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.

.claude/commands/pre-release.md · 122 lines

How it starts

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

Run the pre-release checklist for this project. Work through all three phases in order, pausing for explicit confirmation at each decision point before proceeding. Never create a branch, commit, tag, or push without approval.


Phase 1 — Determine next release

  1. Run git status and confirm the working tree is clean and on master. If not, stop and report the problem.

  2. Run git tag --sort=-v:refname to list existing tags. Identify the most recent tag matching v*.*.*-* and extract its stadium codename.

  3. Read the A–Z stadium table from CHANGELOG.md to find the next stadium:

    • No tags yet: start at A (first stadium in the table).
    • Normal case: use the stadium that follows the last used codename alphabetically. If letters were skipped, pick the next after the highest existing codename — do not backfill gaps.
    • Last codename is Z (Zentralstadion): the list is finite. Stop and refer to ADR 0012 for guidance on extending or revisiting the convention.
  4. Read the [Unreleased] section of CHANGELOG.md and infer the version bump using these rules (applied in order — first match wins):

    • Any entry contains the word BREAKING (case-insensitive), a BREAKING CHANGE: token in a commit footer, or a ! suffix after the commit type/scope (e.g. feat!: or feat(scope)!:) → major bump
    • Any ### Added subsection has entries → minor bump
    • Otherwise (only ### Changed, ### Fixed, ### Removed) → patch bump
  5. Compute the next version by applying the bump to the current latest tag's semver (e.g. v2.1.0-dusseldorf + minor → 2.2.0).

  6. Present a summary for confirmation before continuing:

    • Last tag and stadium
    • Next version and stadium codename
    • Bump type and the reasoning (what triggered it)
    • Proposed tag: vX.Y.Z-{stadium}
    • Proposed branch: release/vX.Y.Z-{stadium}

    Wait for explicit approval before proceeding to Phase 2.


Phase 2 — Prepare release branch

Read the full file on GitHub · 122 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. 2d ago First seen · 122 lines · 0 tokens per session scan A f5ca17f45e99

Subscribe to this mod's changes

pre-release is a command published in the GitHub repository nanotaboada/Dotnet.Samples.AspNetCore.WebApi (10 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,255 tokens. 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-31.