rivet-dev/release
Bump version, build, test, commit, tag, push, and publish to npm. Use when the user asks to release, publish, cut a release, or bump the version.
npx skills add https://github.com/rivet-dev/agentos --skill release
/release patch / minor / major — semver bump from current version/release 0.2.0 or /release 0.2.0-rc.1 — exact versiongit branch --show-current # must be main
git status --porcelain # must be clean
git fetch origin main && git rev-parse HEAD && git rev-parse origin/main # must match
Stop and report if any check fails.
patch / minor / major: strip any prerelease suffix from current package.json version, then bump (e.g. 0.1.0-rc.1 + patch = 0.1.1)0.2.0, 0.3.0-rc.1): use as-isnpm view antiox versions --json-): use --tag rc--tag latestlatest tag backwards)Show the user: current version, target version, npm tag. Ask to confirm.
pnpm build
pnpm check-types
pnpm test
Stop if any step fails.
Update version in package.json to the target version.
git add package.json
git commit -m "release: v<version>"
git tag v<version>
git push origin main
git push origin v<version>
gh workflow run release.yml -f version=<version> -f npm-tag=<latest|rc>
This dispatches the release.yml workflow, which checks out the tag, builds, publishes to npm, and creates a GitHub release.
Show the user: final commit hash, tag, and the link to the triggered workflow run.
Take rivet-dev/release from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.