release
БесплатноБез исполняемых скриптовНе проверенVersioned releases of npm packages: semver bumps, changelogs, and multi-package releases for single-package repos and pnpm workspaces with changesets. Use…
от howells★ 25 звёзд на GitHubОб этом скилле
- Use platform-native structured questions when available; otherwise ask one concise plain-text question at a time.
- Use the repo's detected package manager (
pnpm,npm,yarn,bun) consistently for every command below. Commands are written with a<pm>placeholder — substitute the detected manager. - Detect
<pm>in this order: thepackageManagerfield inpackage.json, then a lockfile (pnpm-lock.yaml→ pnpm,package-lock.json→ npm,yarn.lock→ yarn,bun.lockb→ bun), then default tonpm. - The changesets workspace-root install flag
-wapplies only under pnpm; drop it for npm, yarn, and bun. - Publishing itself uses
npm publishregardless of the install-time package manager. Changeset-driven publishes run through the detected manager (<pm> changeset publish).
Release Workflow
Cut a versioned release of one or more npm packages. /arc:commit publishes a package whose version is already committed and not yet on the registry. /arc:release owns bumping versions, changelogs, and coordinated multi-package releases.
The canonical order across both skills is commit → push → publish → tag. /arc:commit states the governing invariant — never publish before pushing the commit containing the package version — and this skill follows it.
Usage:
/arc:release- Detect, propose bumps, author, verify, commit and push, then gate publish./arc:release dry-run- Run everything up to and includingnpm packverification, but never commit, publish, tag, or push.
$ARGUMENTS will be empty or "dry-run". Treat "dry-run" as a hard stop before any publish.
Resolve the run mode first: the dry-run argument, or any unattended gate fallback, sets mode = dry-run for the remainder of the run. In dry-run mode Steps 3 and 5 are skipped entirely, and Step 6 reports instead of publishing. Once set, the mode never clears — carry it to the report.
Boundary
- Never bump a version, publish, tag, or push without an explicit user choice at a gate — the Step 2 gate authorizes the release commit and its push; publish and tag stay separately gated.
- If no user response is available (an unattended or non-interactive run), fall back to
dry-runmode: continue read-only, report what would be bumped and published, and mutate nothing. The gate stays absolute for attended runs. - Never publish a
privatepackage or a version already on the registry. - Never use
--force,--no-verify, or delete published versions. - Do not invent changelog entries. Base them on actual commits and diffs.
Step 1: Detect Release State
Establish what is being released before proposing anything.
git remote || echo "(no remote)"
LAST_TAG=$(git describe --tags --abbrev=0 2>/dev/null)
if [ -n "$LAST_TAG" ]; then
echo "last tag: $LAST_TAG"
git log "$LAST_TAG"..HEAD --oneline
else
echo "(no tags)"
git log --oneline
fi
Never write the tag lookup as a bare $(git describe ...)..HEAD range: when there is no tag the range collapses to ..HEAD, which exits 0 with no output, so a || fallback never fires and an unreleased repo reports zero commits. Branch on $LAST_TAG explicitly, as above.
Surface the remote result — Step 5 cannot push without one.
Determine the repo shape:
- Single package: one
package.jsonat root, no workspace config. - Workspace/monorepo:
pnpm-workspace.yaml, orworkspacesin rootpackage.json.
For workspace repos, check for changesets:
test -f .changeset/config.json && echo "changesets present" || echo "no changesets"
- If changesets are present, read pending intents and status:
LAST_TAG=$(git describe --tags --abbrev=0 2>/dev/null) if [ -n "$LAST_TAG" ]; then <pm> changeset status --since="$LAST_TAG"; else <pm> changeset status; fi - If changesets are absent in a workspace repo, offer to scaffold on first run (
<pm> add -Dw @changesets/cli && <pm> changeset init, dropping-woutside pnpm) via one question before continuing. Do not scaffold silently. If no user response is available, skip scaffolding, continue without changesets, and note the skipped offer in the report.
Identify which publishable packages changed since their last release. Prefer changeset status; fall back to diffing since the last tag filtered by each package's directory. With no tag there is no baseline to diff against — every tracked file is in scope:
LAST_TAG=$(git describe --tags --abbrev=0 2>/dev/null)
if [ -n "$LAST_TAG" ]; then git diff --name-only "$LAST_TAG"..HEAD; else git ls-files; fi
Never substitute `
Установить release в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл release?
Versioned releases of npm packages: semver bumps, changelogs, and multi-package releases for single-package repos and pnpm workspaces with changesets. Use when asked to "cut a release", "bump the version", "release the packages", "publish a new version", "run changesets", or "ship a versioned package".
Как установить скилл release?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл release запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set 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…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic