release-cut
БесплатноБез исполняемых скриптовНе проверенCut a new pi-agent-dashboard release: promote `## [Unreleased]` in CHANGELOG.md, bump every workspace package.json per SemVer, commit, tag `v<version>`, and…
от BlackBeltTechnology★ 357 звёзд на GitHubОб этом скилле
Cut a pi-agent-dashboard Release
Canonical reference: docs/release-process.md.
This skill automates steps 1–5 of that doc. Production tags (vX.Y.Z)
publish the GitHub Release automatically — electron-updater's default
GitHub provider only resolves published, non-draft releases, so a draft
would silently block auto-update. Pre-release tags (vX.Y.Z-rc.N) stay
drafts so a maintainer can eyeball artifacts before flipping to published.
See change: fix-electron-auto-update-pipeline.
Pre-flight (MUST pass before touching anything)
Run these in order. If any fails, stop and report — do not continue.
Clean working tree
git status --porcelainMust be empty. If not, ask the user to commit or stash.
On the release branch
git rev-parse --abbrev-ref HEADMust be
develop(this repo has nomain). If elsewhere, ask user to confirm before continuing.Up to date with origin
git fetch origin && git status -sbBranch must NOT be "behind". If behind, ask user to pull first.
Tests pass
pnpm testBuild succeeds
pnpm run buildDependency-shape gate (introduced by
enable-standalone-npm-installto prevent regressions of v0.5.3 publish-time bugs)node scripts/verify-release-deps.mjsAsserts critical runtime deps (
jiti, pinnednode-pty, etc.) are still declared in the publishable workspacepackage.jsonfiles. Failure means the next published tarball would be broken — STOP and fix the workspace before cutting.Known false-positive (substring gate).
verify-release-deps.mjschecks the declared range with a naiveString.includes(minVersion)— NOT semver math. So a legitimate pi bump ABOVE the floor (e.g. floor0.74.0, pin^0.80.10) fails the gate because"^0.80.10"does not contain the substring"0.74.0". When this fires and the pin is genuinely newer than the rule'sminVersion, the FIX is to bump that rule'sminVersion(+ its evidence note in the RULES array, and thescripts/AGENTS.mdrow) to the new floor — do NOT downgrade the pin. This recurs on every pi version bump. See change: fix-release-lockfile-drift (gate lives inscripts/verify-release-deps.mjs).Read both nightlies, then optionally dispatch
ci-smoke.ymlagainstdevelop(catches installer regressions BEFORE the tag exists)Before tagging, check both scheduled nightlies and note the SHA each run tested (they can differ, and neither runs on the commit
tag-and-pushcreates):gh run list --workflow nightly-tests.yml --event schedule --limit 1 --json conclusion,headSha,createdAt gh issue list --label nightly-tests --state open # unit suite the tag gate's `pnpm test` runs, plus the budget lane gh run list --workflow nightly.yml --event schedule --limit 1 --json conclusion,headSha,createdAt gh issue list --label nightly --state open # publish (npm@latest loopback), install smoke, Electron matrixA green rehearsal does NOT prove the tag will publish. It cannot catch:
ci-checks :: Run pnpm testflakes on the new commit,ETARGET/E404registry lag, OIDC/--provenance/403/409on the real registry, a defect inpublish.yml's own step text, Windowsruntime-assettar/EXDEV, macOS signing. Seedocs/release-process.md.The release pipeline (
publish.yml) gatespublishon arelease-gatethat runs the standalone-install-smoke jobs_smoke.ymldefines (standalone-install-smoke-linux,standalone-install-smoke-windows,standalone-install-upgrade-continuity). If that gate fails onworkflow_dispatch,tag-and-pushis skipped — clean abort, no commit, no tag. But on agit push --tagscut, the tag already exists when the gate fires; failure leaves a dangling tag requiringrelease-revoke.Operators SHOULD run the smoke matrix first against
develop:gh workflow run ci-smoke.yml --ref develop gh run watch # or open the Actions UIEvery
_smoke.ymljob must be green before cutting. If any leg fails, fix the regression ondevelopfirst — do NOT cut a tag that you know will fail the gate. Skip this step only when the change since the last release is provably installer-irrelevant (no lockfile, bundle-server, native dep, or preload-fastify touch). See change: gate-publish-on-smoke-and-tests.
If any pre-flight step fails, stop and surface the exact error to the user.
Step 1 — Read current state
git describe --tags --abbrev=0 # last tag, e.g. v0.2.9
node -p "require('./package.json').version" # current pkg version
Confirm they match (e.g. tag v0.2.9 ↔ pkg 0.2.9). If they diverge,
surface the mismatch and ask the user how to proceed.
Step 2 — Curate ## [Unreleased]
- List commits since last tag:
git log <last-tag>..HEAD --oneline
Установить release-cut в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл release-cut?
Cut a new pi-agent-dashboard release: promote `## [Unreleased]` in CHANGELOG.md, bump every workspace package.json per SemVer, commit, tag `v<version>`, and push — triggering the Release workflow that publishes every non-private workspace, builds the Electron artifacts, and creates a GitHub Release. Use on "cut a release", "release vX.Y.Z", "publish a new version", "tag a release".
Как установить скилл release-cut?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл release-cut запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic