goal-release
БесплатноБез исполняемых скриптовНе проверенCut a release end to end: use the `draft-release` skill to open the release PR and draft GitHub release, wait for CI to turn green, run the `merge-pr` skill…
от dyoshikawa★ 1 671 звезда на GitHubОб этом скилле
Goal Release
new_version = the user's request
This skill drives a release all the way to merge. It uses the draft-release skill to
open the release pull request (and create the draft GitHub release), waits for
the PR's CI checks to pass, runs the merge-pr skill to merge it, and finally updates
the Homebrew tap formula once the release assets are built.
1. Draft the Release
Use the draft-release skill with new_version.
- If
new_versionis provided (e.g.v1.2.3or1.2.3), it must match the semver shape^v?\d+\.\d+\.\d+$— if it does not, stop and report instead of passing it on. Pass a valid value through unchanged; thedraft-releaseskill normalizes thevprefix itself. - If
new_versionis empty, pass no argument; thedraft-releaseskill determines the next version automatically via therelease-dry-runskill.
When the draft-release skill finishes, it has:
- created a
release/v<version>branch with the version-bump commits, - opened a pull request against
main, and - created a draft GitHub release
v<version>with the release notes.
If the draft-release skill failed partway (e.g. the PR exists but the draft release
was not created, or it stopped before opening the PR), stop here and report
the partial state to the user instead of continuing.
2. Resolve the Release PR
Use the PR number or URL that the draft-release skill's gh pr create printed in
Step 1 when available. Otherwise, identify the pull request from the current
release/v<version> branch:
gh pr view --json number,title,state,headRefName
Confirm that headRefName matches the release/v<version> branch created in
Step 1. This skill must only ever merge that release PR — if the resolved PR
is a different one, stop and report to the user instead of merging.
3. Wait for CI
Wait for the release PR's GitHub Actions checks to finish:
gh pr checks <pr_number> --watch
If the watch reports that no checks are registered yet, wait a moment and retry — checks can take a few seconds to appear right after the PR is opened.
- If every check passes, proceed to Step 4.
- If a check fails, investigate and fix the failure on the release branch
(run
pnpm cichecklocally, commit, and push), then wait for the re-run. Never proceed to the merge while any check isfailorpending. - Fixes must legitimately resolve the failure. Never make a check green by skipping or deleting tests, weakening lint or type-check configuration, or editing GitHub Actions workflows.
- Set a safety cap of 3 fix attempts. If CI is still red after the cap, stop and report the failing checks to the user instead of merging.
If any fix commit beyond the draft-release skill's own version-bump commits was
pushed, review the extra commits yourself instead of stopping: merge when each
one is a legitimate CI fix (it does not skip or delete tests, weaken lint or
type-check configuration, touch .github/**, or add a runtime dependency) and
CI is green, and list the extra commits in the final report. If any extra
commit fails that check, stop and report it instead of merging.
4. Merge the Release PR
Use the merge-pr skill with the release PR number. It re-verifies the PR
state and CI status, merges with gh pr merge --admin --merge, posts a
thank-you comment, and cleans up the local branch.
Note: the goal-pr skill tells agents not to auto-merge PRs that touch package.json
or release configuration. That restriction does not apply here — merging the
version-bump release PR is this skill's explicit purpose, and the user opted
into it by invoking the goal-release skill.
5. Update the Homebrew Formula
After the release PR merges, the Publish Assets workflow builds the platform
binaries, tags the release, and uploads the assets (including SHA256SUMS) to
the draft GitHub release. The Homebrew formula embeds those checksums, so it
can only be regenerated once that workflow finishes — this step replaces the
old homebrew job that .github/workflows/publish.yml used to run.
Wait for the
Publish Assetsrun triggered by the merge to complete:gh run list --workflow "Publish Assets" --branch "release/v<version>" \ --limit 1 --json databaseId,status,conclusion,headBranch gh run watch <run_id>The workflow triggers on every closed PR to
main(non-release runs are job-level skipped but still listed), so filter by the release branch as shown. The run can take a few seconds to appear right after the merge — if the list is empty, wait and retry. Confirm the watched run belongs to this release (itsheadBranchis therelease/v<version>branch of the PR merged in Step 4) and concluded withsuccess. If it failed, stop and report — the formula must not be regenerated from stale assets.Wait until the GitHub release is published (no longer a draft). The
Publishworkflow (.github/workflows/publish.yml) runs aft
Установить goal-release в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл goal-release?
Cut a release end to end: use the `draft-release` skill to open the release PR and draft GitHub release, wait for CI to turn green, run the `merge-pr` skill to merge the release PR, then update the Homebrew formula from the published release assets. Use when the user wants to draft and merge a release in one go, or triggers on "the `goal-release` skill".
Как установить скилл goal-release?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл goal-release запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub