/officialunofficial-skills:kit-releasefrom Official Unofficial Skills
Drives the signed, attested release process for a kit project by pushing a vX.Y.Z tag that triggers release.yml to publish GitHub Releases, npm packages, and crates.io crates. Use when tagging a new version or verifying a published release.
Ships in Official Unofficial Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A single signed vX.Y.Z tag is the whole release trigger. Pushing it drives
release.yml off the tagged tree, which publishes the GitHub Release and the npm
package. A maintainer then publishes the crates by hand from the same tag. You
prepare main, push a good tag, then verify each channel actually ran and its
output is trustworthy.
docs/RELEASE.md in the repo is the authoritative runbook — this skill is the
repeatable procedure over it. When a detail here disagrees with docs/RELEASE.md
or the workflow files, the repo wins; re-read and update.
| Channel | Driven by | Publishes |
|---|---|---|
| Binaries | .github/workflows/release.yml on push: tags: 'v*.*.*' | GitHub Release archives (4 targets) + signatures, SBOM, notices, provenance |
| npm wasm | publish-npm job of release.yml | @officialunofficial/kit-wasm on npm |
| crates.io | a maintainer running cargo publish --workspace --locked at the tag | every workspace crate without publish = false, in dependency order |
release.yml job order: validate-release-tag → build (×4 targets) → sbom /
third-party-notices (parallel) → release → publish-npm. release-plz.yml
only opens the release PR, on manual dispatch, once the repo variable
KIT_RELEASE_PLZ_ENABLED is true; it never tags or publishes.
Read the current workflows before every release — trigger, job order, and gates change. Do not trust this table over the files.
Work top to bottom. CHECKLIST.md beside this file is the full line-by-line
checklist (pre-tag, wait, smoke test, distribution, post-release); use it as the
running to-do and mirror its checkboxes. Each phase below has a completion
criterion — do not advance until it is met.
Publish state drifts; confirm it live before planning the release.
cargo search kit-core (and kit-bin and the other kit-* library
names) — is the target version already there? Versions are immutable; a
re-publish of an existing version fails the whole train.npm view @officialunofficial/kit-wasm version — at what version? The
publish-npm job ends without publishing if the tag's version is already on npm,
and it needs the trusted publisher on npmjs.com to name release.yml and the
environment npm.officialunofficial/homebrew-tap has a
Formula/kit.rb yet.Done when: you have written down, for this release, the current version on each channel and whether the npm trusted publisher is in place — no assumptions carried from a prior release.
main is green in CI. A green PR rollup does not prove the release-gating
jobs ran — confirm by name that the kit-ci-main build on Cloud Build and the
macOS leg (macos.yml) both succeeded on the release commit. The macOS leg runs
only on pushes to main and on demand (gh workflow run macos.yml --ref main).bash scripts/check-publish.sh (the workspace cargo publish dry run).[workspace.package].version in rust/Cargo.toml to a version not yet
published on crates.io (Phase 1).bash scripts/check-semver.sh after the bump: a breaking change fails unless
the bump allows it.CHANGELOG.md items from ## [Unreleased] into ## [X.Y.Z] - YYYY-MM-DD,
leaving a fresh ## [Unreleased] heading above it.docs/INSTALL.md,
docs/LIBKIT.md, CONTRIBUTING.md, install.sh usage examples) — see
CHECKLIST.md for the exact list.release-plz.yml or by hand).Done when: the version bump + changelog are merged to main, main is green,
and you have named-confirmed kit-ci-main and macos.yml ran on that commit.
Tag the merge commit on main with a signed, annotated tag:
git tag -s vX.Y.Z -m "kit X.Y.Z"
git tag -v vX.Y.Z # confirm the fingerprint before pushing
git push origin vX.Y.Z
validate-release-tag rejects anything that is not: strict vX.Y.Z[-prerelease],
annotated (not lightweight), GPG-signed by a fingerprint listed in the
KIT_RELEASE_GPG_FINGERPRINTS repo/org variable, with the signing public key
importable from keys.openpgp.org or keyserver.ubuntu.com, and pointing at a
commit reachable from origin/main. Confirm the fingerprint is allowlisted and
the public key is on a keyserver before pushing.
Done when: the tag is pushed and validate-release-tag has passed (not the
whole workflow yet — just the gate).
release.yml to greenEnumerate by name; a green tag push is not proof each job ran.
sbom, third-party-notices, and release succeeded;
a non-draft GitHub Release exists with the four kit-X.Y.Z-<triple>.tar.gz
archives, each .sha256/.sig/.crt/.cosign.bundle, SHA256SUMS(+.sig/
.crt/.cosign.bundle), sbom.cdx.json, THIRD-PARTY-NOTICES, and
kit-X.Y.Z.provenance.jsonl.publish-npm: ran and succeeded; npm view @officialunofficial/[email protected] version prints X.Y.Z.Done when: every job shows a terminal green — checked by name, with the release assets present.
Prove trust, don't assume it. On at least one macOS and one Linux host:
VERSION=X.Y.Z; TARGET=aarch64-apple-darwin
ARCHIVE="kit-${VERSION}-${TARGET}.tar.gz"
cosign verify-blob \
--certificate-identity "https://github.com/officialunofficial/kit/.github/workflows/release.yml@refs/tags/v${VERSION}" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
--bundle "${ARCHIVE}.cosign.bundle" "${ARCHIVE}"
Expect Verified OK.gh attestation verify "${ARCHIVE}" --repo officialunofficial/kit
SHA256SUMS entry, kit version against the tag, the bundled
share/man/man1/kit.1 and three completion files, and a basic kit init →
kit keygen → add → kit commit flow:
scripts/release-smoke.sh --archive "${ARCHIVE}" --version "${VERSION}"
npm view @officialunofficial/kit-wasm@${VERSION} version, and
npm audit signatures in a project that installs that version.Done when: cosign prints Verified OK, the provenance verifies, the smoke test
passes, and npm shows the version with valid provenance.
cargo publish --workspace --locked, with a
crates.io token that owns the kit-* crates. Keep the token out of the repo.
Check that the tag matches the workspace version first.officialunofficial/homebrew-tap, write Formula/kit.rb with the new version
and the archive hashes from the release SHA256SUMS.gh workflow run release-verify.yml -f version=X.Y.Z to check cargo install, cargo binstall, the install script, and Homebrew end to end.## [Unreleased] heading in CHANGELOG.md,
add co-owners after a crate's first publish (cargo owner --add), and file issues
for anything the smoke test surfaced.Done when: every publishable crate is on crates.io at the new version, the tap
formula installs the new version (or the tap gap is explicitly noted as deferred),
and release-verify.yml has run.
Two independent trust roots ship on every release:
install.sh and kit self update enforce.kit-X.Y.Z.provenance.jsonl comes from
actions/attest-build-provenance over the archives. Verify it with gh attestation verify or slsa-verifier.No release step needs a repository secret or an npm token. The one allowlist to
keep current is KIT_RELEASE_GPG_FINGERPRINTS: a maintainer who leaves also leaves
it (GOVERNANCE.md).
npm publish by hand
except to seed a new package per docs/RELEASE.md → One-time setup. Run cargo publish only from a checkout of the signed tag.--exclude for what
already landed — never bump-and-retag to work around it.kit belongs to an unrelated project; the CLI publishes as
kit-bin. Tell users cargo install kit-bin, never kit.xattr -d com.apple.quarantine <path> — do not tell users to bypass verification.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub officialunofficial/skills --plugin officialunofficial-skills85 skills in this plugin
/alignmentMeasures a running page for edges, gaps, centres and radii that miss by a pixel or two, judges visual weight, and returns a numbered report with proof./animateBuilds a web animation from scratch and writes the code. Decides in order whether it should animate at all, its purpose, the tool, the properties, the easing and duration or spring, how it interrupts and exits, and reduced motion. Use when asked to animate something, add motion, build a transition, or make a component feel alive. For React Native or Expo use animate-expo. To critique existing motion use review-animations. To audit a whole codebase use improve-animations./animate-expoOther plugins' skills for the same job