archlang: Command for Claude Code

.claude/commands/release-check.md

release-check is a command for Claude Code from ChanMeng666/archlang. It costs 12 tokens per session (2,710 once invoked), scanned A, original, MIT.

A checklist for checking a software release before publishing a version tag. A version tag is a Git marker that identifies a release, and semantic versioning uses version numbers to describe the size of changes.

In plain words
What is it for?
Reviewing whether a package is ready for release and whether its proposed version correctly reflects the changes since the previous release.
Why use it?
It prevents publishing a version that already exists or does not match the changes made. It also checks the actual registry, Git tags, hosted releases, and changelog instead of trusting possibly outdated planning files.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions .claude-plugin; mentions Claude Code.

This is ChanMeng666/archlang's own configuration. It tells Claude Code how to work on archlang 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 archlang configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node packages/mcp/scripts/check-dist-resources.mjs.

Reuse

Borrowing it

Nothing to install: this file belongs to ChanMeng666/archlang. 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/ChanMeng666/archlang/main/.claude/commands/release-check.md
Clone the repo
git clone --depth 1 https://github.com/ChanMeng666/archlang

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/chanmeng666/archlang/release-check/github.svg)](https://agentmods.dev/commands/chanmeng666/archlang/release-check)
Your own site
<a href="https://agentmods.dev/commands/chanmeng666/archlang/release-check"><img src="https://agentmods.dev/badge/commands/chanmeng666/archlang/release-check/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 release-check

Your own site · 80×15
<a href="https://agentmods.dev/commands/chanmeng666/archlang/release-check"><img src="https://agentmods.dev/badge/commands/chanmeng666/archlang/release-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,710 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00012 $0.02710
Opus 5.5 $0.00005 $0.01084
Sonnet 5.5 $0.00002 $0.00542
Haiku 4.5 $0.00001 $0.00271

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

Security

Grade A, and why

release-check scanned grade A with 1 finding 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 7d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sI https://cdn.jsdelivr.net/npm/@chanmeng666/archlang@<version>/+esm # expect 200
.claude/commands/release-check.md · 154 lines

How it starts

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

Release check

Walk this checklist before pushing a v* tag. Report each item as pass/fail with the evidence you observed. Do NOT push anything — this command only verifies.

Checklist

  1. Establish the TRUE latest release first. Never take the current version from a doc, a plan or the prompt. Probe:

    npm view @chanmeng666/archlang version
    git tag --sort=-v:refname | head
    gh release list --limit 3
    grep -m3 '^## ' CHANGELOG.md
    

    The target must be strictly greater than all of them (an npm version is immutable), and its semver class must match what changed — read git log <lasttag>..main and git diff --stat <lasttag>..main. New grammar/keyword, E_*/W_* code or public field ⇒ MINOR at least. Diff that log against [Unreleased] so no merged change is missing from the notes.

  2. Versions consistent.

    • Root package.json version matches the newest CHANGELOG.md heading.
    • Ask whether the shim changed: git diff <lasttag>..main -- packages/mcp. ANY mcp-visible change (including a tool description, its README, a server.json field) needs a bump in packages/mcp/package.json AND both version fields of packages/mcp/server.json — release.yml skips a version already on npm.
    • The shim's baked resources (spec.llm.md, llms-full.txt, the GBNF, both schemas) are copied at pack time and refresh ONLY with a version bump — a legitimate reason to bump with an empty diff. Its core dep range is pinned as the string ^ + the root version, so every core release reddens packages/mcp/test/lockstep.test.ts on purpose: re-pin, rebuild, bump. Never relax it.
    • Publish order is core → shim. The shim's link tool loads @chanmeng666/archlang/link, so the shim must not publish while npm's latest core lacks ./link (npm view @chanmeng666/archlang exports). release.yml enforces it: packages/mcp/scripts/check-core-exports.ts fails the shim publish when npm's copy of the range's minimum lacks a subpath the server loads.
    • Claude Code plugin manifest (plugins/archlang/.claude-plugin/plugin.json): its version is the core's and its npx pin is the shim's exact version. After the version bumps run npm run gen:plugin and commit the manifest; check:drift fails on a stale one. The release PR pins a shim version that is not on npm until the tag's release.yml publishes it, so a plugin installed from main can fail to launch its server for those few minutes; accepted. Confirm npm view @chanmeng666/archlang-mcp version equals the pin once the tag run finishes.
    • Same range pin for editors/vscode (editors/vscode/test/lockstep.test.ts).
    • The served <arch-plan> (docs-site/public/arch-plan.js) names the core version in its jsDelivr URL: after the version bump run npm run gen:arch-plan (or npm run gen:all) and commit it with the plugin manifest; check:drift fails on a stale one.
    • packages/web-component's peer range on the core is a caret range (packages/web-component/test/peer-range.test.ts). A core MAJOR (2.0) fails that test on purpose: check that compile, diagnosticToJson and THEMES still exist with the same shapes, then move the range.
    • packages/font-cjk: release.yml publishes it before the core and refuses a version/pin mismatch with the core's exact optionalDependencies pin.

Read the full file on GitHub · 154 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. 7d ago Changed · +2 lines 8d4880670e53
  2. 8d ago Changed · +7 lines 31452b24bb6d
  3. 9d ago Changed · +12 lines 3dc8094104eb
  4. 10d ago Changed · +25 lines 94e531b46747
  5. 14d ago Changed · +22 lines a71d45755ecc
  6. 27d ago Changed · -61 lines ba6c94f67f73
  7. 1mo ago Changed 6240d09d744c
  8. 1mo ago First seen · 147 lines · 12 tokens per session scan A 2189719207ef

Subscribe to this mod's changes

release-check is a command published in the GitHub repository ChanMeng666/archlang (24 stars, last pushed today), licensed MIT. It adds 12 tokens to every session and 2,710 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.