release
БесплатноБез исполняемых скриптовНе проверенWorktrunk release workflow. Use when user asks to "do a release", "release a new version", "cut a release", or wants to publish a new version to crates.io and…
Об этом скилле
Release Workflow
Steps
- Sync the release branch with
main: The release worktree's branch lagsmainbetween releases — it's only reset tomainafter a release lands. Cutting from a stale branch silently drops everything merged since. Fast-forward to the tip ofmainbefore anything else:git fetch origin git merge --ff-only origin/main--ff-onlyadvances the branch when it's a strict ancestor oforigin/mainand fails (rather than creating a merge commit or discarding work) if it has diverged — reconcile manually before continuing. This is the release-branch equivalent ofwt up, spelled out because theupalias rebases each branch onto its own upstream (origin/release), notmain. Note the resulting commit SHA: this is the tip the changelog covers, and step 12 checks the changelog against everything that reachesmainbefore the tag. - Run tests: Two gates — the local suite and the full cross-platform suite.
- Local:
cargo run -- hook pre-merge --yes. - Cross-platform: dispatch the
nightlyworkflow on the cut-from tip and wait for it to go green. This is where a release gets its full linux/macos/windows validation: the PR path (ci.yaml) is moving to cargo-affected selection and will stop running the fulltestmatrix, whilenightlyhostsfull-tests(the full 3-OS suite) alongside feature-powerset, release-target, nix-flake, and minimal-versions. Benchmarks aren't part ofnightly— they run in their ownbenchmarks.yamland gate nothing.
Launch a ci-reporter to monitorgh workflow run nightly.yaml --ref main # Registration lags the dispatch, and a prior release may have left a # stale completed workflow_dispatch run — filter to the in-flight one. sleep 5 RUN=$(gh run list --workflow=nightly.yaml --event=workflow_dispatch --branch=main --limit 5 --json databaseId,status --jq 'map(select(.status != "completed")) | .[0].databaseId')$RUNto completion (avoidgh run watch— it can hang). Fix any failure before continuing.
- Local:
- Check current version: Read
versioninCargo.toml - Review commits: Check commits since last release to understand scope of changes. Audit the cumulative diff for the data-loss surface (see Data-Loss Surface Review) and documentation (see Documentation Review).
- Check library API compatibility (advisory): Run
cargo semver-checks check-release -p worktrunk(install withcargo install cargo-semver-checks --lockedif missing) as a bump-level input, not a compat gate — worktrunk ships breaking library changes freely. If it reports breaking changes, that's fine; under semver the bump must still be minor (pre-1.0) or major (post-1.0). See "Library API Compatibility" below. - Credit contributors: Check for external PR authors and issue reporters (see "Credit External Contributors" and "Credit Issue Reporters" below)
- Determine release type: Pick the bump from the changes (including semver-checks result). Ask the user only if the choice is genuinely ambiguous (see below).
- Bump version (must run on a clean tree — before editing CHANGELOG):
This bumpscargo release X.Y.Z -p worktrunk -x --no-publish --no-push --no-tag --no-verify --no-confirm && cargo checkCargo.tomlandCargo.lock, then auto-commits. We'll reset this commit in step 10 to fold in the CHANGELOG. - Update CHANGELOG: the top section holds this release's changes (see MANDATORY verification below). If it is
## Unreleased, rename that heading to## X.Y.Zand fold the remaining entries into it — inserting a new heading above it ships a stale## Unreleasedin the release notes. Otherwise the top section is the last shipped version: add a## X.Y.Zsection above it, never append to it. - Commit: Reset the auto-commit from step 8, stage everything, and create the final release commit:
git reset --soft HEAD~1 && git add -A && git commit -m "Release vX.Y.Z" - Merge to main: complete the documentation review on the final candidate, then push the release branch, open a PR, wait for CI, and merge it. Keep the worktree — the remaining steps run from it. Then move the branch onto the merged tip:
The PR squash-merges, so the branch is no longer an ancestor ofgit fetch origin && git reset --keep origin/mainmainand step 1's--ff-onlycan't advance it;--keepmoves it across and still fails if anything is uncommitted.maincan advance during the CI wait; step 12 catches anything that lands before the tag. - Verify the changelog covers
main, then tag and push: the tag decides what ships —release.yamlbuilds the binaries and the GitHub release notes from the tree at the tag, so everything reachable from it is in the release. The merge squashes onto whatevermaintip exists at merge time, so a commi
Установить release в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл release?
Worktrunk release workflow. Use when user asks to "do a release", "release a new version", "cut a release", or wants to publish a new version to crates.io and GitHub.
Как установить скилл 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