[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75YNEDJBGYBTKMN9N7D9Z4S":3,"skill-same:01M75YNEDJBGYBTKMN9N7D9Z4S":103},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M75YNEDJBGYBTKMN9N7D9Z4S","release-guru",null,"The release runbook for gskill. Use it for every gskill release and for anything about a release in flight: the moment a user wants to release, ship, publish, cut, tag, or roll out a gskill version (\"ship v0.8.0\", \"cut a release\", \"tag and publish\", \"do a patch\u002Fminor\u002Frc release\", \"release off main\", a bare \"ship it\", \u002Frelease-guru), and also when a release needs checking, resuming, or rescuing (\"is v0.8.0 out everywhere?\", \"the release run went red\", \"npm publish failed\", \"the brew cask didn't update\", \"verify the release\"). STOP and use it before touching git tags or gh: a hand-made tag, push, gh release, or npm publish skips the quality gate and leaves an unsigned, unverifiable release with no SBOMs, provenance, Homebrew update, or npm packages. It picks the semver version from merged PR titles, runs preflight (identity, branch, CI green on the exact commit, local gate), gets the user's one go-ahead, pushes the tag, watches the GitHub Release, npm, and image pipelines, verifies every install channel (GitHub assets, cosign, provenance, npm, Homebrew, the container image, install.sh), and has a failure playbook for each stage. Skip it only for work that merely mentions releases: editing release.yml or .goreleaser.yaml, hand-writing a changelog, bumping a go.mod dependency, a local-only git tag, scaffolding GoReleaser for another project, or checking a pull request's CI.","glapsfun\u002Fgskill","glapsfun","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F282230684?v=4","01M75YNBXMYFQQPK3TQSH4TP5N","01M75YNBY9K21N6S29TRQ96531",6,"MIT","https:\u002F\u002Fgithub.com\u002Fglapsfun\u002Fgskill\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frelease-guru\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: release-guru\ndescription: >-\n  The release runbook for gskill. Use it for every gskill release and for anything about a\n  release in flight: the moment a user wants to release, ship, publish, cut, tag, or roll out a\n  gskill version (\"ship v0.8.0\", \"cut a release\", \"tag and publish\", \"do a patch\u002Fminor\u002Frc\n  release\", \"release off main\", a bare \"ship it\", \u002Frelease-guru), and also when a release needs\n  checking, resuming, or rescuing (\"is v0.8.0 out everywhere?\", \"the release run went red\",\n  \"npm publish failed\", \"the brew cask didn't update\", \"verify the release\"). STOP and use it\n  before touching git tags or gh: a hand-made tag, push, gh release, or npm publish skips the\n  quality gate and leaves an unsigned, unverifiable release with no SBOMs, provenance, Homebrew\n  update, or npm packages. It picks the semver version from merged PR titles, runs preflight\n  (identity, branch, CI green on the exact commit, local gate), gets the user's one go-ahead,\n  pushes the tag, watches the GitHub Release, npm, and image pipelines, verifies every install\n  channel (GitHub assets, cosign, provenance, npm, Homebrew, the container image, install.sh),\n  and has a failure playbook for each stage. Skip it only for work that merely mentions releases: editing release.yml or\n  .goreleaser.yaml, hand-writing a changelog, bumping a go.mod dependency, a local-only git tag,\n  scaffolding GoReleaser for another project, or checking a pull request's CI.\ncompatibility: Requires git, bash, curl, jq, and the GitHub CLI (gh, authenticated). npm\u002Fnpx verify the npm channel; cosign and gh >= 2.49 (gh attestation) complete signature and provenance checks, docker runs the released image, and their absence is reported, not hidden.\n---\n\n# release-guru: the gskill release runbook\n\nYou are about to publish software to everyone who installs gskill. A release is **public and\nirreversible**: pushing a `vX.Y.Z` tag starts a pipeline that publishes signed binaries, a\nGitHub Release, a Homebrew cask, five npm packages, and a container image, and none of it can\nbe cleanly taken back. This runbook keeps exactly one decision with the human (which version, from which\ncommit) and makes everything else scripted, watched, and verified.\n\nRun the scripts from this skill's `scripts\u002F` directory; they find the repo through git.\n\n## The pipeline in one minute\n\n```\ngit tag vX.Y.Z (pushed)                         ← point of no return\n └─ release.yml (8-12 min)\n     guard clean tree → bootstrap + verify.sh gate on the tag → refuse if release exists\n     → GoReleaser: 4 archives (linux\u002Fdarwin × amd64\u002Farm64), checksums.txt,\n       cosign bundle, 4 SBOMs, GitHub Release with grouped notes,\n       Homebrew cask in glapsfun\u002Fhomebrew-tap (stable only)\n     → build-provenance attestation → dispatch npm-release.yml on the tag\n     → dispatch the site publish → dispatch image-release.yml on the tag (last)\n └─ npm-release.yml (1-3 min)\n     verify cosign + checksums of the release assets → build 5 packages\n     → publish platforms first, launcher last, with provenance\n       (stable → dist-tag latest, -rc.N → dist-tag next)\n └─ image-release.yml (publish, verify, record; about 10 min)\n     publish: ko builds linux\u002Famd64 + linux\u002Farm64 → refuse to move a version tag\n       → push ghcr.io\u002Fglapsfun\u002Fgskill → cosign sign → SBOM + provenance attestations\n       (stable → X.Y.Z + latest, -rc.N → X.Y.Z + next, each only when it is the highest\n       tag of its kind, so a backport or an older rc never moves a channel back)\n     verify (amd64 and arm64 runners): anonymous pull, tags, signature, provenance,\n       version parity with the archive, smoke tests\n     record: the \"Container image\" block in the release notes, only after verify\n```\n\nPrereleases (`-rc.N`) become GitHub pre-releases, move npm and image `next` (never `latest`), and\nnever touch Homebrew or the `install.sh` default. Details, prerequisites, and artifact names: `references\u002Fpipeline.md`.\n\n## Ground rules\n\n- **One human gate.** The user confirms the version and commit in step 3. Never tag without\n  that explicit yes, and never treat an earlier \"ship it\" as approval for a version they have not\n  seen.\n- **Only the scripts touch the release.** Don't hand-run `git tag`\u002F`git push` of tags,\n  `gh release create|edit|delete`, `npm publish|unpublish|dist-tag`, push or re-tag images in\n  ghcr.io, or edit the Homebrew tap.\n  The scripts encode the guards; a manual step skips them.\n- **Tags and releases are immutable.** Never delete, move, or force-push a tag that reached\n  origin, and never re-run the Release workflow once a GitHub Release exists (its guard refuses,\n  and forcing around it would rewrite a published release). Fixes ship as a new version. The one\n  narrow exception (a tag whose run published nothing) is in the failure playbook, and it needs\n  the user's say-so.\n- **Red is a stop sign, not a puzzle to route around.** When a step fails, classify it with\n  `references\u002Ffailure-playbook.md` before doing anything. Some failures are safe to retry; the\n  ones marked \"ask the user\" go to the user.\n- **Right identity.** Every tag push and gh call acts as the active gh account. Preflight\n  checks it matches the git user; if not, run `gh auth switch --user \u003Cgit user.name>` and\n  confirm with `gh auth status`.\n\n## Runbook\n\n### 0. Orient: is a release already in flight?\n\nIf the user names a version that may already be tagged, or is asking about a release rather\nthan for one, start with the read-only status board:\n\n```bash\nscripts\u002Frelease-status.sh vX.Y.Z\n```\n\nIt shows the tag, the Release run, the GitHub Release, the npm run, the image run and image\ntags, npm packages and dist-tags, the Homebrew cask, and which release GitHub marks latest.\nResume at the first stage that is not done: tag missing → step 1; Release run running → step 5;\nRelease run failed → playbook; GitHub Release exists but npm incomplete → step 6; image run\nincomplete → step 7; everything published → step 8. For \"is it healthy?\" questions, step 8\nalone is the answer.\n\n### 1. Choose the version\n\n```bash\nscripts\u002Fsuggest-version.sh\n```\n\nIt compares the latest `v*` tag with `origin\u002Fmain` (what a release would tag) and derives the\nbump from merged PR titles and commit subjects: any `type!:` or `BREAKING CHANGE` → major,\nany `feat:` → minor, otherwise patch. Read its list and apply judgment:\n\n- **Pre-1.0:** a breaking change bumps the minor (`v0.7.2` → `v0.8.0`); the script suggests that\n  and prints `ALTERNATIVE=v1.0.0`. Going to 1.0.0 is a product decision only the user makes.\n- **Prerelease:** for an rc, append `-rc.N` (`v0.8.0-rc.1`); count up N from any existing rc tags.\n- **Nothing to release** (`BUMP=none`) or only `build(deps)`\u002F`chore`\u002F`docs`\u002F`ci`\u002F`test` changes:\n  say so and ask whether a release is wanted at all; those prefixes are filtered out of the\n  release notes, so the notes would be nearly empty.\n- If it warns that local HEAD differs from `origin\u002Fmain`, the suggestion still describes\n  `origin\u002Fmain`; unmerged local work is not part of the release.\n\n### 2. Preflight\n\n```bash\nscripts\u002Fpreflight.sh vX.Y.Z      # prints SHA=\u003Ccommit> on success\n```\n\nIt checks, failing closed: gh identity matches git; on `main`, clean, in sync with origin; tag and\nrelease don't exist yet; no Release run in progress; **CI green for this exact commit** (CI\nincludes `release-dryrun`, a GoReleaser snapshot of what would ship); and the local\n`.\u002Fscripts\u002Fverify.sh` gate (several minutes). It also warns early when cosign, a gh with\n`gh attestation`, npm, or docker is missing, because step 8 would then report those checks as\nskipped.\n\nTypical fixes: not on `main` → the work must be merged first (open PRs are not releasable); CI\nstill running → wait for it; out of sync → `git pull --ff-only`. Re-run preflight after any fix.\n\n### 3. Confirm with the user (the gate)\n\nPresent this and wait for an explicit yes:\n\n```\nRelease vX.Y.Z from main @ \u003Cshort sha> (\u003Ccommit subject>)\nBump: \u003Clevel>, because \u003Cthe PR titles that drove it>\nPublishes: GitHub Release + signed archives, Homebrew cask, npm @glapsfun\u002Fgskill (latest),\n           image ghcr.io\u002Fglapsfun\u002Fgskill (X.Y.Z + latest)\n           [for -rc: GitHub pre-release, npm next, image X.Y.Z + next; no Homebrew]\nNotes preview: \u003CFeatures \u002F Bug Fixes items from the PR titles>\nVerification gaps on this machine: \u003Cnone | cosign missing | gh too old for provenance | docker missing>\nTagging is irreversible. Go ahead?\n```\n\nAn override from the user (a different version) means re-running preflight for that tag.\n\n### 4. Cut the tag\n\n```bash\nscripts\u002Fcut-release.sh vX.Y.Z \u003CSHA from preflight>\n```\n\nIt re-checks identity and that `origin\u002Fmain` still equals the approved SHA, then creates the\nannotated tag on that commit and pushes it. If the push fails it deletes the local tag so a retry\nstarts clean (nothing public happened).\n\n### 5. Watch the Release run\n\n```bash\nscripts\u002Fwatch-release.sh vX.Y.Z\n```\n\nTakes 8-12 minutes; run it in the background or with a long timeout rather than polling by hand.\nOn failure it prints the failed step and log tail. Go straight to the playbook: what is safe\ndepends entirely on whether the failed step came before or after GoReleaser published.\n\n### 6. Watch the npm run\n\n```bash\nscripts\u002Fwatch-npm.sh vX.Y.Z\n```\n\nOn failure it prints the registry state. A red npm run does not by itself mean npm is broken:\nv0.7.2's run failed after all five packages were already published. Decide from the registry\nstate using the playbook's npm section.\n\n### 7. Watch the image run\n\n```bash\nscripts\u002Fwatch-image.sh vX.Y.Z\n```\n\nAbout 10 minutes: `publish` builds, pushes, and signs the image, `verify` pulls it anonymously\nand smoke-tests it on amd64 and arm64, and only then `record` adds the \"Container image\" block to\nthe release notes. A failed image run never touches the GitHub Release assets, Homebrew, or npm.\nClassify a failure with the playbook's image section before re-dispatching with\n`scripts\u002Fwatch-image.sh vX.Y.Z --redispatch`, which follows the new run, never the failed one. On\nthe first publish, `verify` fails until the package is made public.\n\n### 8. Verify every channel\n\n```bash\nscripts\u002Fverify-artifacts.sh vX.Y.Z   # GitHub assets: set, checksum, cosign, provenance, binary\nscripts\u002Fverify-channels.sh vX.Y.Z    # npm (5 pkgs, provenance, dist-tag, npx), Homebrew,\n                                     # image (tags, platforms, notes digest, cosign,\n                                     # provenance, version), install.sh\n```\n\nBoth are read-only. A failure here after green runs is serious (see playbook section H): stop and\ntell the user before anyone announces the release. A check reported as `skipped` is not a pass;\nname it in the report.\n\n### 9. Report\n\n```\nReleased vX.Y.Z  \u003CGitHub Release URL>\nCommit:      \u003Cshort sha> on main\nPipelines:   Release run \u003Curl> (success) · npm run \u003Curl> (success | failed, see note) · image run \u003Curl> (success)\nGitHub:      4 archives + SBOMs · checksum ok · signature \u003Cok|skipped> · provenance \u003Cok|skipped> · binary reports X.Y.Z\nnpm:         5\u002F5 packages with provenance · dist-tag \u003Clatest|next> = X.Y.Z · npx smoke ok\nImage:       ghcr.io\u002Fglapsfun\u002Fgskill:X.Y.Z (+ latest | next) @ sha256:\u003C12 hex> · linux\u002Famd64 + linux\u002Farm64 · signature \u003Cok|skipped> · provenance \u003Cok|skipped> · reports X.Y.Z \u003Cok|skipped>\nHomebrew:    cask at X.Y.Z  [rc: untouched, by design]\ninstall.sh:  pinned install ok · default install resolves to X.Y.Z  [stable only]\nNotes:       \u003CFeatures \u002F Bug Fixes headlines>\nFollow-ups:  \u003Canything skipped or retried, and why>\n```\n\n## Quick reference\n\n| Step | Command | Stops when |\n| --- | --- | --- |\n| Status board | `scripts\u002Frelease-status.sh \u003Ctag>` | never (read-only) |\n| Version | `scripts\u002Fsuggest-version.sh` | never (informational) |\n| Preflight | `scripts\u002Fpreflight.sh \u003Ctag>` | identity, branch, dirty, sync, tag exists, release in flight, CI not green, gate red |\n| Tag | `scripts\u002Fcut-release.sh \u003Ctag> \u003Csha>` | identity, main moved, tag appeared, push rejected |\n| Release run | `scripts\u002Fwatch-release.sh \u003Ctag>` | run fails |\n| npm run | `scripts\u002Fwatch-npm.sh \u003Ctag> [--redispatch]` | run fails (prints registry state) |\n| Image run | `scripts\u002Fwatch-image.sh \u003Ctag> [--redispatch]` | run fails (prints the failed log and status) |\n| Verify GitHub | `scripts\u002Fverify-artifacts.sh \u003Ctag>` | asset set, checksum, signature, provenance, version mismatch |\n| Verify channels | `scripts\u002Fverify-channels.sh \u003Ctag>` | any channel wrong, image included (reports all) |\n\n## Configuration (environment overrides)\n\n`RELEASE_BRANCH` (default `main`), `RELEASE_REPO` (`glapsfun\u002Fgskill`), `RELEASE_WORKFLOW`\n(`release.yml`), `NPM_WORKFLOW` (`npm-release.yml`), `CI_WORKFLOW` (`ci.yml`), `TAP_REPO`\n(`glapsfun\u002Fhomebrew-tap`), `NPM_PACKAGES`, `IMAGE_REPO` (`ghcr.io\u002Fglapsfun\u002Fgskill`),\n`IMAGE_WORKFLOW` (`image-release.yml`), and `RELEASE_GURU_SKIP_GATE=1` (skip the local gate in\npreflight; only when the gate already passed on this exact commit, and say so in the report).\n\n## Rehearsing\n\nThis skill always publishes for real; success means a real, verified release. To rehearse, rely\non the `release-dryrun` CI job, or run `goreleaser release --snapshot --clean --skip=sign,sbom`\nlocally. `scripts\u002Frelease-status.sh`, `verify-artifacts.sh`, and `verify-channels.sh` are safe to\nrun against any existing release at any time.\n","# release-guru: the gskill release runbook\n\nYou are about to publish software to everyone who installs gskill. A release is **public and\nirreversible**: pushing a `vX.Y.Z` tag starts a pipeline that publishes signed binaries, a\nGitHub Release, a Homebrew cask, five npm packages, and a container image, and none of it can\nbe cleanly taken back. This runbook keeps exactly one decision with the human (which version, from which\ncommit) and makes everything else scripted, watched, and verified.\n\nRun the scripts from this skill's `scripts\u002F` directory; they find the repo through git.\n\n## The pipeline in one minute\n\n```\ngit tag vX.Y.Z (pushed)                         ← point of no return\n └─ release.yml (8-12 min)\n     guard clean tree → bootstrap + verify.sh gate on the tag → refuse if release exists\n     → GoReleaser: 4 archives (linux\u002Fdarwin × amd64\u002Farm64), checksums.txt,\n       cosign bundle, 4 SBOMs, GitHub Release with grouped notes,\n       Homebrew cask in glapsfun\u002Fhomebrew-tap (stable only)\n     → build-provenance attestation → dispatch npm-release.yml on the tag\n     → dispatch the site publish → dispatch image-release.yml on the tag (last)\n └─ npm-release.yml (1-3 min)\n     verify cosign + checksums of the release assets → build 5 packages\n     → publish platforms first, launcher last, with provenance\n       (stable → dist-tag latest, -rc.N → dist-tag next)\n └─ image-release.yml (publish, verify, record; about 10 min)\n     publish: ko builds linux\u002Famd64 + linux\u002Farm64 → refuse to move a version tag\n       → push ghcr.io\u002Fglapsfun\u002Fgskill → cosign sign → SBOM + provenance attestations\n       (stable → X.Y.Z + latest, -rc.N → X.Y.Z + next, each only when it is the highest\n       tag of its kind, so a backport or an older rc never moves a channel back)\n     verify (amd64 and arm64 runners): anonymous pull, tags, signature, provenance,\n       version parity with the archive, smoke tests\n     record: the \"Container image\" block in the release notes, only after verify\n```\n\nPrereleases (`-rc.N`) become GitHub pre-releases, move npm and image `next` (never `latest`), and\nnever touch Homebrew or the `install.sh` default. Details, prerequisites, and artifact names: `references\u002Fpipeline.md`.\n\n## Ground rules\n\n- **One human gate.** The user confirms the version and commit in step 3. Never tag without\n  that explicit yes, and never treat an earlier \"ship it\" as approval for a version they have not\n  seen.\n- **Only the scripts touch the release.** Don't hand-run `git tag`\u002F`git push` of tags,\n  `gh release create|edit|delete`, `npm publish|unpublish|dist-tag`, push or re-tag images in\n  ghcr.io, or edit the Homebrew tap.\n  The scripts encode the guards; a manual step skips them.\n- **Tags and releases are immutable.** Never delete, move, or force-push a tag that reached\n  origin, and never re-run the Release workflow once a GitHub Release exists (its guard refuses,\n  and forcing around it would rewrite a published release). Fixes ship as a new version. The one\n  narrow exception (a tag whose run published nothing) is in the failure playbook, and it needs\n  the user's say-so.\n- **Red is a stop sign, not a puzzle to route around.** When a step fails, classify it with\n  `references\u002Ffailure-playbook.md` before doing anything. Some failures are safe to retry; the\n  ones marked \"ask the user\" go to the user.\n- **Right identity.** Every tag push and gh call acts as the active gh account. Preflight\n  checks it matches the git user; if not, run `gh auth switch --user \u003Cgit user.name>` and\n  confirm with `gh auth status`.\n\n## Runbook\n\n### 0. Orient: is a release already in flight?\n\nIf the user names a version that may already be tagged, or is asking about a release rather\nthan for one, start with the read-only status board:\n\n```bash\nscripts\u002Frelease-status.sh vX.Y.Z\n```\n\nIt shows the tag, the Release run, the GitHub Release, the npm run, the image run and image\ntags, npm packages and dist-tags, the Homebrew cask, and which release GitHub marks latest.\nResume at the first stage that is not done: tag missing → step 1; Release run running → step 5;\nRelease run failed → playbook; GitHub Release exists but npm incomplete → step 6; image run\nincomplete → step 7; everything published → step 8. For \"is it healthy?\" questions, step 8\nalone is the answer.\n\n### 1. Choose the version\n\n```bash\nscripts\u002Fsuggest-version.sh\n```\n\nIt compares the latest `v*` tag with `origin\u002Fmain` (what a release would tag) and derives the\nbump from merged PR titles and commit subjects: any `type!:` or `BREAKING CHANGE` → major,\nany `feat:` → minor, otherwise patch. Read its list and apply judgment:\n\n- **Pre-1.0:** a breaking change bumps the minor (`v0.7.2` → `v0.8.0`); the script suggests that\n  and prints `ALTERNATIVE=v1.0.0`. Going to 1.0.0 is a product decision only the user makes.\n- **Prerelease:** for an rc, append `-rc.N` (`v0.8.0-rc.1`); count up N from any existing rc tags.\n- **Nothing to release** (`BUMP=none`) or only `build(deps)`\u002F`chore`\u002F`docs`\u002F`ci`\u002F`test` changes:\n  say so and ask whether a release is wanted at all; those prefixes are filtered out of the\n  release notes, so the notes would be nearly empty.\n- If it warns that local HEAD differs from `origin\u002Fmain`, the suggestion still describes\n  `origin\u002Fmain`; unmerged local work is not part of the release.\n\n### 2. Preflight\n\n```bash\nscripts\u002Fpreflight.sh vX.Y.Z      # prints SHA=\u003Ccommit> on success\n```\n\nIt checks, failing closed: gh identity matches git; on `main`, clean, in sync with origin; tag and\nrelease don't exist yet; no Release run in progress; **CI green for this exact commit** (CI\nincludes `release-dryrun`, a GoReleaser snapshot of what would ship); and the local\n`.\u002Fscripts\u002Fverify.sh` gate (several minutes). It also warns early when cosign, a gh with\n`gh attestation`, npm, or docker is missing, because step 8 would then report those checks as\nskipped.\n\nTypical fixes: not on `main` → the work must be merged first (open PRs are not releasable); CI\nstill running → wait for it; out of sync → `git pull --ff-only`. Re-run preflight after any fix.\n\n### 3. Confirm with the user (the gate)\n\nPresent this and wait for an explicit yes:\n\n```\nRelease vX.Y.Z from main @ \u003Cshort sha> (\u003Ccommit subject>)\nBump: \u003Clevel>, because \u003Cthe PR titles that drove it>\nPublishes: GitHub Release + signed archives, Homebrew cask, npm @glapsfun\u002Fgskill (latest),\n           image ghcr.io\u002Fglapsfun\u002Fgskill (X.Y.Z + latest)\n           [for -rc: GitHub pre-release, npm next, image X.Y.Z + next; no Homebrew]\nNotes preview: \u003CFeatures \u002F Bug Fixes items from the PR titles>\nVerification gaps on this machine: \u003Cnone | cosign missing | gh too old for provenance | docker missing>\nTagging is irreversible. Go ahead?\n```\n\nAn override from the user (a different version) means re-running preflight for that tag.\n\n### 4. Cut the tag\n\n```bash\nscripts\u002Fcut-release.sh vX.Y.Z \u003CSHA from preflight>\n```\n\nIt re-checks identity and that `origin\u002Fmain` still equals the approved SHA, then creates the\nannotated tag on that commit and pushes it. If the push fails it deletes the local tag so a retry\nstarts clean (nothing public happened).\n\n### 5. Watch the Release run\n\n```bash\nscripts\u002Fwatch-release.sh vX.Y.Z\n```\n\nTakes 8-12 minutes; run it in the background or with a long timeout rather than polling by hand.\nOn failure it prints the failed step and log tail. Go straight to the playbook: what is safe\ndepends entirely on whether the failed step came before or after GoReleaser published.\n\n### 6. Watch the npm run\n\n```bash\nscripts\u002Fwatch-npm.sh vX.Y.Z\n```\n\nOn failure it prints the registry state. A red npm run does not by itself mean npm is broken:\nv0.7.2's run failed after all five packages were already published. Decide from the registry\nstate using the playbook's npm section.\n\n### 7. Watch the image run\n\n```bash\nscripts\u002Fwatch-image.sh vX.Y.Z\n```\n\nAbout 10 minutes: `publish` builds, pushes, and signs the image, `verify` pulls it anonymously\nand smoke-tests it on amd64 and arm64, and only then `record` adds the \"Container image\" block to\nthe release notes. A failed image run never touches the GitHub Release assets, Homebrew, or npm.\nClassify a failure with the playbook's image section before re-dispatching with\n`scripts\u002Fwatch-image.sh vX.Y.Z --redispatch`, which follows the new run, never the failed one. On\nthe first publish, `verify` fails until the package is made public.\n\n### 8. Verify every channel\n\n```bash\nscripts\u002Fverify-artifacts.sh vX.Y.Z   # GitHub assets: set, checksum, cosign, provenance, binary\nscripts\u002Fverify-channels.sh vX.Y.Z    # npm (5 pkgs, provenance, dist-tag, npx), Homebrew,\n                                     # image (tags, platforms, notes digest, cosign,\n                                     # provenance, version), install.sh\n```\n\nBoth are read-only. A failure here after green runs is serious (see playbook section H): stop and\ntell the user before anyone announces the release. A check reported as `skipped` is not a pass;\nname it in the report.\n\n### 9. Report\n\n```\nReleased vX.Y.Z  \u003CGitHub Release URL>\nCommit:      \u003Cshort sha> on main\nPipelines:   Release run \u003Curl> (success) · npm run \u003Curl> (success | failed, see note) · image run \u003Curl> (success)\nGitHub:      4 archives + SBOMs · checksum ok · signature \u003Cok|skipped> · provenance \u003Cok|skipped> · binary reports X.Y.Z\nnpm:         5\u002F5 packages with provenance · dist-tag \u003Clatest|next> = X.Y.Z · npx smoke ok\nImage:       ghcr.io\u002Fglapsfun\u002Fgskill:X.Y.Z (+ latest | next) @ sha256:\u003C12 hex> · linux\u002Famd64 + linux\u002Farm64 · signature \u003Cok|skipped> · provenance \u003Cok|skipped> · reports X.Y.Z \u003Cok|skipped>\nHomebrew:    cask at X.Y.Z  [rc: untouched, by design]\ninstall.sh:  pinned install ok · default install resolves to X.Y.Z  [stable only]\nNotes:       \u003CFeatures \u002F Bug Fixes headlines>\nFollow-ups:  \u003Canything skipped or retried, and why>\n```\n\n## Quick reference\n\n| Step | Command | Stops when |\n| --- | --- | --- |\n| Status board | `scripts\u002Frelease-status.sh \u003Ctag>` | never (read-only) |\n| Version | `scripts\u002Fsuggest-version.sh` | never (informational) |\n| Preflight | `scripts\u002Fpreflight.sh \u003Ctag>` | identity, branch, dirty, sync, tag exists, release in flight, CI not green, gate red |\n| Tag | `scripts\u002Fcut-release.sh \u003Ctag> \u003Csha>` | identity, main moved, tag appeared, push rejected |\n| Release run | `scripts\u002Fwatch-release.sh \u003Ctag>` | run fails |\n| npm run | `scripts\u002Fwatch-npm.sh \u003Ctag> [--redispatch]` | run fails (prints registry state) |\n| Image run | `scripts\u002Fwatch-image.sh \u003Ctag> [--redispatch]` | run fails (prints the failed log and status) |\n| Verify GitHub | `scripts\u002Fverify-artifacts.sh \u003Ctag>` | asset set, checksum, signature, provenance, version mismatch |\n| Verify channels | `scripts\u002Fverify-channels.sh \u003Ctag>` | any channel wrong, image included (reports all) |\n\n## Configuration (environment overrides)\n\n`RELEASE_BRANCH` (default `main`), `RELEASE_REPO` (`glapsfun\u002Fgskill`), `RELEASE_WORKFLOW`\n(`release.yml`), `NPM_WORKFLOW` (`npm-release.yml`), `CI_WORKFLOW` (`ci.yml`), `TAP_REPO`\n(`glapsfun\u002Fhomebrew-tap`), `NPM_PACKAGES`, `IMAGE_REPO` (`ghcr.io\u002Fglapsfun\u002Fgskill`),\n`IMAGE_WORKFLOW` (`image-release.yml`), and `RELEASE_GURU_SKIP_GATE=1` (skip the local gate in\npreflight; only when the gate already passed on this exact commit, and say so in the report).\n\n## Rehearsing\n\nThis skill always publishes for real; success means a real, verified release. To rehearse, rely\non the `release-dryrun` CI job, or run `goreleaser release --snapshot --clean --skip=sign,sbom`\nlocally. `scripts\u002Frelease-status.sh`, `verify-artifacts.sh`, and `verify-channels.sh` are safe to\nrun against any existing release at any time.\n",{"name":5,"description":7,"compatibility":23},"Requires git, bash, curl, jq, and the GitHub CLI (gh, authenticated). npm\u002Fnpx verify the npm channel; cosign and gh >= 2.49 (gh attestation) complete signature and provenance checks, docker runs the released image, and their absence is reported, not hidden.","main","733b6331801fa95793e0291c10520b23a59858f7",".claude\u002Fskills\u002Frelease-guru",0,"https:\u002F\u002Fgithub.com\u002Fglapsfun\u002Fgskill","https:\u002F\u002Fglapsfun.github.io\u002Fgskill\u002F","https:\u002F\u002Fgithub.com\u002Fglapsfun","https:\u002F\u002Fglaps.fun","2026-11-15 03:50:37",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add glapsfun\u002Fgskill --skill release-guru",{"tool":39,"command":40},"bunx","bunx skills add glapsfun\u002Fgskill --skill release-guru",{"tool":42,"command":43},"pnpm","pnpm dlx skills add glapsfun\u002Fgskill --skill release-guru","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fglapsfun\u002Fgskill\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frelease-guru\u002FSKILL.md",true,[47,53,57,61,67,71,75,79,83,87,91,95,99],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"evals\u002Fevals.json","REFERENCE","参考文档",4080,"https:\u002F\u002Fgithub.com\u002Fglapsfun\u002Fgskill\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frelease-guru\u002Fevals\u002Fevals.json",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Ffailure-playbook.md",10385,"https:\u002F\u002Fgithub.com\u002Fglapsfun\u002Fgskill\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frelease-guru\u002Freferences\u002Ffailure-playbook.md",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Fpipeline.md",8043,"https:\u002F\u002Fgithub.com\u002Fglapsfun\u002Fgskill\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frelease-guru\u002Freferences\u002Fpipeline.md",{"path":62,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":66},"scripts\u002Fcut-release.sh","SCRIPT","脚本",1411,"https:\u002F\u002Fgithub.com\u002Fglapsfun\u002Fgskill\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frelease-guru\u002Fscripts\u002Fcut-release.sh",{"path":68,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":69,"sourceHtmlUrl":70},"scripts\u002Flib.sh",4781,"https:\u002F\u002Fgithub.com\u002Fglapsfun\u002Fgskill\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frelease-guru\u002Fscripts\u002Flib.sh",{"path":72,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":73,"sourceHtmlUrl":74},"scripts\u002Fpreflight.sh",4449,"https:\u002F\u002Fgithub.com\u002Fglapsfun\u002Fgskill\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frelease-guru\u002Fscripts\u002Fpreflight.sh",{"path":76,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":77,"sourceHtmlUrl":78},"scripts\u002Frelease-status.sh",3003,"https:\u002F\u002Fgithub.com\u002Fglapsfun\u002Fgskill\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frelease-guru\u002Fscripts\u002Frelease-status.sh",{"path":80,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":81,"sourceHtmlUrl":82},"scripts\u002Fsuggest-version.sh",3709,"https:\u002F\u002Fgithub.com\u002Fglapsfun\u002Fgskill\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frelease-guru\u002Fscripts\u002Fsuggest-version.sh",{"path":84,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":85,"sourceHtmlUrl":86},"scripts\u002Fverify-artifacts.sh",4098,"https:\u002F\u002Fgithub.com\u002Fglapsfun\u002Fgskill\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frelease-guru\u002Fscripts\u002Fverify-artifacts.sh",{"path":88,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":89,"sourceHtmlUrl":90},"scripts\u002Fverify-channels.sh",10192,"https:\u002F\u002Fgithub.com\u002Fglapsfun\u002Fgskill\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frelease-guru\u002Fscripts\u002Fverify-channels.sh",{"path":92,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":93,"sourceHtmlUrl":94},"scripts\u002Fwatch-image.sh",1641,"https:\u002F\u002Fgithub.com\u002Fglapsfun\u002Fgskill\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frelease-guru\u002Fscripts\u002Fwatch-image.sh",{"path":96,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":97,"sourceHtmlUrl":98},"scripts\u002Fwatch-npm.sh",1814,"https:\u002F\u002Fgithub.com\u002Fglapsfun\u002Fgskill\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frelease-guru\u002Fscripts\u002Fwatch-npm.sh",{"path":100,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":101,"sourceHtmlUrl":102},"scripts\u002Fwatch-release.sh",1823,"https:\u002F\u002Fgithub.com\u002Fglapsfun\u002Fgskill\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frelease-guru\u002Fscripts\u002Fwatch-release.sh",[104,112,119,125,131,137],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":111},"01M7BCS51KN1X31S36ZECP7Z70","gskill","Manage AI agent skills with the GSKILL CLI (gskill). Use when the user asks to find, add, install, restore, list, inspect, update, upgrade, verify, troubleshoot, or remove skills, or mentions skills.toml or skills-lock.json.","https:\u002F\u002Fgithub.com\u002Fglapsfun\u002Fgskill\u002Fblob\u002Fmain\u002Fskills\u002Fgskill\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":111},"01M7BCRZZVRTCMEKPJHCVASES4","gskill-install","Install, locate, verify, or upgrade the GSKILL CLI (gskill) on Linux or macOS, then install the official gskill skill. Use when the user asks to install, set up, configure, or start using GSKILL, when a gskill command is not found, or when they ask which GSKILL version is installed or want a different one.","https:\u002F\u002Fgithub.com\u002Fglapsfun\u002Fgskill\u002Fblob\u002Fmain\u002Fskills\u002Fgskill-install\u002FSKILL.md",[],[],{"skillNo":120,"name":121,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":18},"01M75YPPEW0XRK8BT3MWCMRAMT","unicode","https:\u002F\u002Fgithub.com\u002Fglapsfun\u002Fgskill\u002Fblob\u002Fmain\u002Finternal\u002Fintegrity\u002Ftestdata\u002Fcompat\u002Ffixtures\u002Funicode\u002FSKILL.md",[],[],{"skillNo":126,"name":127,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":18},"01M75YPN3EZHFM5N6HC6XXJH94","hidden","https:\u002F\u002Fgithub.com\u002Fglapsfun\u002Fgskill\u002Fblob\u002Fmain\u002Finternal\u002Fintegrity\u002Ftestdata\u002Fcompat\u002Ffixtures\u002Fhidden\u002FSKILL.md",[],[],{"skillNo":132,"name":133,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":18},"01M75YPKDSWGM46Z7KAFMGJ784","executable","https:\u002F\u002Fgithub.com\u002Fglapsfun\u002Fgskill\u002Fblob\u002Fmain\u002Finternal\u002Fintegrity\u002Ftestdata\u002Fcompat\u002Ffixtures\u002Fexecutable\u002FSKILL.md",[],[],{"skillNo":138,"name":139,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":18},"01M75YPJ9KSJP7NPJ2Q4VR3TM8","excluded","https:\u002F\u002Fgithub.com\u002Fglapsfun\u002Fgskill\u002Fblob\u002Fmain\u002Finternal\u002Fintegrity\u002Ftestdata\u002Fcompat\u002Ffixtures\u002Fexcluded\u002FSKILL.md",[],[]]