release
Cut a release — the order the steps must run in, and the criteria that abort a release
от Kanevry★ 53 звезды на GitHub
Установить release в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Release
The user wants to cut a release of this package. Optional argument — the target version: $ARGUMENTS.
The mechanism is scripts/release.mjs. It exists, it is executable, and its pure half is unit-tested (tests/scripts/release.test.mjs). This skill carries only the two things the script cannot carry: the order, and the criteria that stop a release. Do not restate the script's internals here — node scripts/release.mjs --help and the file header are the reference.
Invocation
$ARGUMENTS is optional and holds the target version X.Y.Z. When it is empty, resolve the target from package.json and the CHANGELOG before step 2.
The flags this repo's release path uses — the operator-facing entry points, in the order they run:
node scripts/release.mjs --set-version X.Y.Z— rewrite every version surface and syncpackage-lock.json.node scripts/snapshot-probe.mjs --local --json— undermirror: curated, run what GitHub runs on the tree GitHub gets (the release commit's export) before anything is pushed;--checkrequires its receipt.node scripts/release.mjs --check --json— the preflight gate; every row must be green.node scripts/release.mjs --publish— stages the release (ADR-0018 route C):npm stage publish, proof, stop; the owner approves on npmjs.com with 2FA, then--resume-tail --target X.Y.Zruns the tail.--publish --directis the pre-2027 one-run route; start that one in the background, never under atimeoutwrapper (step 9). Route detail:skills/npm-publish/SKILL.md§ Route C.node scripts/release.mjs --publish --trusted— opt-in route B (ADR-0018), incompatible with--direct. The tag push starts the GitHub mirror’s trusted-publishing workflow in thenpm-publishenvironment, which has no required reviewer. After confirming the npm receipt, the script checks the GitHub release, live site and Verify public npm install job. It polls the job for up to 25 minutes, retrying transientgherrors. Exit 0 requires a passing install job and a complete tail. A failed job or an unfinished tail exits 1. Exit 3 means npm has published the version and only the install result is outstanding. Inspect the Actions URL and run--resume-tail --target X.Y.Zfrom the checkout holding the release proof. The resumed tail reads the job after the live-site check unless the proof records a pass. Forawaiting-workflow(exit 1), inspect the tag’s Actions run before resuming. Seeskills/npm-publish/SKILL.md§ Route B.
--skip-ci marks the CI row green without checking anything and is refused by the script when combined with --publish; it is an inspection aid for --check, never a release path.
Why the order is written down
3.18.0 has a git tag, a GitHub release and a CHANGELOG entry — and the npm registry never saw it; a checklist line is not a mechanism.
Verify it yourself before trusting the paragraph above:
npm view session-orchestrator versions --json # read 2026-08-19: 3.16.0, 3.17.0, 3.19.0, 3.20.0 — no 3.18.0
git for-each-ref --format='%(refname:short) %(creatordate:short)' refs/tags
gh release list --repo Kanevry/session-orchestrator --limit 12
The same reading shows the other half: the GitHub releases for 3.15/3.18/3.19/3.20 were all created on 2026-08-19 within a three-second window — 5 to 31 days after their tags. Every step that lives only in prose gets skipped and backfilled later.
The order
- Preconditions. Working tree clean, on
main,origin/mainlevel withHEAD, and the GitHub mirror current. The mirror is checked because the site deploy hangs offgithub, notorigin. What "current" means follows Session Configmirror(--checkrowgithub-mirror-modenames it): undermirror: github(or unset),github/mainequalsHEAD; undermirror: curated(#1645), GitHub never receivesHEAD—github/mainis a squash snapshot whoseSource-Commit:trailer must nameHEAD(publish it with/closeonmain, session-end § 4.4).docs/github-mirror-protection.md§ Releases undermirror: curated. - Set the version.
node scripts/release.mjs --set-version X.Y.Z— rewrites every version surface, syncspackage-lock.json, re-stamps the measured census on the site. - Write the editorial half. The dated
## [X.Y.Z] - YYYY-MM-DDCHANGELOG entry,[Unreleased]folded, README highlights. The script does not write these;--checkenforces them. - Gate, commit. Full quality gate, then commit. Do not push yet.
- Probe the export (under
mirror: curated), before the push.node scripts/snapshot-probe.mjs --local --json— builds the curated tree ofHEAD(the release commit) and runs on it what GitHub'stestjob runs. The question it answers: does what GitHub runs pass on what GitHub gets? Since the slim mirror (#1594) the policy carries anincludelist, GitHub gets notests/, vitest or eslint config, and itstestjob runsnpm run test:mirror(`scrip
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл release?
Cut a release — the order the steps must run in, and the criteria that abort a release
Как установить скилл release?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл release запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…