agentleFS
muthuisheremuthuishere/toolnexus/.claude/skills/release/SKILL.md

release

Skill6 starsChanged 5 months agoMITView on GitHub

Cut and verify a toolnexus release across all eight registries, with the guardrails that a green CI run does not give you. Use whenever the user says publish, release, ship it, cut a release, bump the version, or asks whether a release actually landed. Also use to re-publish a single failed registry leg.

  • Reads credentials
  • Commits and pushes

193 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use create-agent-adapter, changelog-style and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    create-agent-adapter

    Technical guide for creating a new Paperclip agent adapter. Use when building a new adapter package, adding support for a new AI coding tool (e.g. a new CLI agent, API-based agent, or custom process), or when modifying the adapter system. Covers the required interfaces, module structure, registration points, and conventions derived from the existing claude-local and codex-local adapters.

    Also in 5 projects that use this

  • GrinvSkill

    changelog-style

    Turn a commit range into CHANGELOG.md entries following common-changelog style. Use when finishing a PR or cutting a release, to write/fix the [Unreleased] section's entries — moving [Unreleased] under a new dated version heading is a separate, automated step (see the release skill / scripts/sync-version.ts), not this skill's job.

    Also in 4 projects that use this

  • GrinvSkill

    docs-consistency-check

    Check README/manifest.json/server.json/CHANGELOG.md/AGENTS.md and docs/*.md for drift against the actual registered tools and source. Use after adding, renaming, or removing a tool, or as part of a live-audit pass.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    component-release

    Prepares a verifiable Agent Landing Zone UI release. Use for release branches, VERSION, changelog entries, tags, release notes, and compatibility evidence; never publish without explicit human approval.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    documentation-consistency

    Keeps AI Landing Zone contributor, user, and operator documentation aligned with shipped Bicep behavior. Use for parameters, defaults, outputs, topology, deployment flow, operations, or releases.

    Also in 8 projects that use this

  • rivet-devSkill

    launch-graphics

    Generate agentOS marketing/launch graphics (launch & social heroes, code-snippet cards) from the committed generators in docs-internal/graphics. Use when asked to make, update, or render an agentOS launch image, social image, "agentOS Apps" graphic, or technical code-snippet image.

    Also in 3 projects that use this

  • +3 more from Grinv

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 183 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the job list, not the conclusion.

    line 25
  2. Very specific:

    All seven manifests (js, python, csharp, java, elixir, clojure/build.clj, rust/Cargo.toml) to the same version, and ## Unreleased → ## …

    line 72
  3. Very specific:

    Leave historical statements alone: "on Clojars since v0.13.0", "Relay ships in golang/ as of 0.12.0", and docs/performance-benchmarks.md's …

    line 80
  4. Distinctive:

    Do this even when the run is green.

    line 118
  5. Very specific:

    Run the marketing skill for this version (drafts only.

    line 140

“Common” is measured: kept by at least 6 in 10 of the 183 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Releasing toolnexus

Publishing is outward-facing and irreversible: a version number can never be reused on npm, PyPI, NuGet, Maven Central, Hex, Clojars or crates.io. This skill exists because the obvious signals lie in both directions — a green workflow can ship nothing, and a red workflow can be a complete success.

The two rules that override intuition

1. A green run is not evidence a package landed. ADR-0012 exists because NuGet and Maven have reported success without publishing. Always verify from outside, as a consumer would (step 6).

2. A red run is not evidence of failure. Re-dispatching a completed release makes the already-published legs refuse a duplicate — npm cannot publish over the previously published versions, Clojars 403 redeploying non-snapshots is not allowed. That is immutability working. Read the job list, not the conclusion.

Never do these

  • Never publish unless the owner asked in this conversation. "Is it ready?" is a question, not authorization.
  • Never release unmerged code. The release is cut from main after the PR merges.
  • Never bump one port "to unblock". preflight refuses it, and that refusal is the point.
  • Never turn ENABLE_* variables off to isolate one registry. A disabled leg is skipped silently; forgetting to restore it makes a future release quietly incomplete. Accept a red run whose only real job succeeds instead.
  • Never print, log, echo or paste a registry token. They are use-only env vars read at the point of use.

Steps

1. Run the readiness gate

.claude/skills/release/scripts/check-release-readiness.sh <version>

It replicates release.yml's preflight locally and adds the check preflight does not have — that the versioned install coordinates in the docs match the release. It checks: seven manifests in lockstep (golang has none — it releases as a tag), docs install coordinates, a dated ## <version> changelog section with a fresh ## Unreleased above it, clean tree on main in sync with origin, the tag being free, all eight ENABLE_* gates (including ENABLE_CRATES), and licensing.

The licensing check covers what actually drifts: a LICENSE file in every port, THIRD-PARTY-NOTICES.md present, the elixir Hex package still shipping LICENSE in its files: list, and every declared dependency appearing in the notices — the real failure mode being a dependency added and never listed. It matches names only across shipped configurations (test/dev deps are excluded: java testImplementation, elixir excoveralls/ex_doc). It does not verify the license of each pinned version — that needs a per-ecosystem resolver, and the notices file instead states the rule: re-verify on add/remove/major-version change, because an upstream can relicense between releases (ModelContextProtocol for C# is Apache-2.0 while the other MCP SDKs are MIT).

Fix every ✗ before continuing.

2. Choose the version honestly

Patch for pure fixes. Minor when observable behavior moves, even without an API break — a consumer pinning ~0.13.0 should not silently inherit changed output. If in doubt, ask; it cannot be undone.

3. Bump and roll, as one commit on its own branch

All seven manifests (js, python, csharp, java, elixir, clojure/build.clj, rust/Cargo.toml) to the same version, and ## Unreleased → ## X.Y.Z — YYYY-MM-DD with a fresh empty ## Unreleased above it. Update the docs install coordinates in the same commit — README.md, java/README.md, clojure/README.md, elixir/README.md, clojure/examples/*/deps.edn, rust/README.md, site/src/content/docs/install.mdx, quickstart.mdx, api/clojure.mdx, and the in-process-client recipe sources site/recipes/in-process-client/* (then run node site/scripts/sync-recipes.mjs, or CI's "API reference coverage" fails on stale pages).

Leave historical statements alone: "on Clojars since v0.13.0", "Relay ships in golang/ as of 0.12.0", and docs/performance-benchmarks.md's "Versions measured". Rewriting those falsifies the record.

3b. Know that the release gates on a LIVE model run

release.yml has a live-scenarios job — golang only, behind the live build tag — that runs the harness scenarios against a real model on OpenRouter before any registry leg publishes (every leg needs: [preflight, live-scenarios]). The other six ports prove parity hermetically in CI; this proves the mechanisms actually work against a provider before anything ships.

It needs OPENROUTER_API_KEY in the prod environment. If it is missing the whole release fails at the gate, before publishing — which is the correct failure, but check it is present before cutting rather than discovering it mid-release. Run the same suite locally first:

cd golang && OPENROUTER_API_KEY=… go test -tags live -run TestLive -v ./...

The tag keeps these out of normal CI: go test ./... never sees them, and the tests skip cleanly when the key is absent.

4. Open the PR and wait for every CI job

"Docs examples (eight ports)" legitimately takes 13–18 minutes. It is not hung. Do not merge on all-but-one.

5. Merge, then cut the Release

The GitHub Release is the trigger. Its body is the changelog section — extract it, never hand-write a second account:

gh release create v<version> --title "v<version>" --notes-file <extracted-section> --target main

6. Verify every registry from outside

Do this even when the run is green. Do not report a release as done without it.

npm view toolnexus version
curl -s https://pypi.org/pypi/toolnexus/json | python3 -c 'import sys,json;print(json.load(sys.stdin)["info"]["version"])'
curl -s https://api.nuget.org/v3-flatcontainer/toolnexus/index.json | python3 -c 'import sys,json;print(json.load(sys.stdin)["versions"][-1])'
curl -s https://repo1.maven.org/maven2/io/github/muthuishere/toolnexus/ | grep -oE '0\.[0-9]+\.[0-9]+' | sort -uV | tail -1
curl -s https://clojars.org/api/artifacts/net.clojars.muthuishere/toolnexus | python3 -c 'import sys,json;print(json.load(sys.stdin)["latest_version"])'
curl -s https://hex.pm/api/packages/toolnexus | python3 -c 'import sys,json;print(json.load(sys.stdin)["releases"][0]["version"])'
curl -s https://crates.io/api/v1/crates/toolnexus | python3 -c 'import sys,json;print(json.load(sys.stdin)["crate"]["max_version"])'
git ls-remote --tags origin | grep golang/v<version>

crates.io needs a User-Agent-friendly client; if the API refuses a bare curl, add -A toolnexus-release-check. Verify a consumer build too: cargo new t && cd t && cargo add toolnexus@<version> tokio -F tokio/full && cargo build.

Indexing lag is normal and is not failure: NuGet ~5 min, Maven Central ~15–20 min. Poll before concluding anything. Clojars is net.clojars.muthuishere, not io.github.muthuishere.

7. Marketing

Run the marketing skill for this version (drafts only; the owner posts). It builds ~/.marketing/toolnexus/<version>/ from the changelog section and the standing page.

8. If a leg failed

Diagnose first — gh run view <id> --log-failed. Credential failures (API key revoked, 401, 403) are owner fixes; report them and file an issue rather than retrying blindly.

To re-publish one leg after the fix: gh workflow run release.yml --ref main -f version=<version>. This re-runs everything. Expect the already-published legs to fail on duplicate rejection and the run to go red — check that the leg you cared about says success, then verify from outside.

Registry facts worth not re-deriving

registryauthduplicate behavior
npm, PyPI, NuGetOIDC Trusted Publishing, no stored secretnpm hard-fails; PyPI/NuGet skip
Maven CentralCENTRAL_USERNAME/CENTRAL_PASSWORD + GPG, prod envrejects
HexHEX_API_KEY, prod env, gated by ENABLE_ELIXIR (not ENABLE_HEX); needs api:writerejects
ClojarsCLOJARS_USERNAME/CLOJARS_PASSWORD (a deploy token)403 non-snapshots
Gonone — tag push golang/vX.Y.Zidempotent, skips
crates.ioCARGO_REGISTRY_TOKEN, prod env, gated by ENABLE_CRATES (first publish cannot use Trusted Publishing; switch later)rejects; the leg checks the crates.io API first and skips

Report honestly

State which registries are confirmed from the registry, which are still indexing, and which failed and why. A partial release is a partial release; say so, and say what a consumer of the lagging port gets in the meantime.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.