release
Skill39 starsChanged 59 days agoMITView on GitHub
Cut an r3 release — draft the CHANGELOG entry, bump every version string in lockstep, commit, then cut the annotated `vX.Y.Z` tag on that commit (the release CI lifts the changelog section into the GitHub release notes). Use when the user wants to release a new version, bump the version, write or update the changelog, or tag a release.
- Deletes or force-pushes
- Commits and pushes
190 other projects use a version of this.
Adopted by
Most recently taken up by
- bonboncinnabon/gemini-plugin-cctheir own version, first seen Oct 5, 2026
- NahumLitvin/prismantistheir own version, first seen Oct 5, 2026
- Kangentic/kangentictheir own version, first seen Oct 5, 2026
- colonyops/hivetheir own version, first seen Oct 5, 2026
- vericontext/vibeframetheir own version, first seen Oct 4, 2026
- shaharia-lab/slackclitheir own version, first seen Oct 4, 2026
Used with
Projects with it also use watch-pr, marketplace and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Hugging FaceSkillwatch-pr
Monitor a PR's CI checks and Greptile code review after submission. Polls CI status, auto-fixes failures via ralph-loop, waits for Greptile review, addresses comments, and iterates until green.
Also in 3 projects that use this
OpenAISkillmarketplace
Vercel Marketplace expert guidance — discovering, installing, and managing third-party integrations via the `vercel integration` CLI. Use when building any app that needs an external capability without a dedicated skill — commerce (stores, storefronts, selling products), payments (checkout, subscriptions, billing), observability/monitoring, messaging/email, search, or CMS — or when discovering, installing, or managing integrations.
Also in 4 projects that use this
Microsoft AzureSkillengineering-principles
GPT-RAG Orchestrator architecture and implementation principles. Use for design, review, meaningful refactoring, runtime strategies, FastAPI, Azure integration, security, testing, or operations.
Also in 4 projects that use this
ZAidBinAsifSkillwrite-readme
Write README files as landing pages not API docs
Also in 3 projects that use this
polyant-aiSkillplugin-authoring
Use when creating, converting, or loading Polyant agent tools/plugins — authoring a *.tool.ts with defineTool, the serialized (JSON Schema) contract, converting a legacy registerTool tool, or wiring an external plugin via PLUGIN_DIRS / src/plugins. Also covers authoring a *.hook.ts with defineHook (conversation lifecycle hooks + control returns halt/injectContext/replaceResponse/regenerate). Covers the module-resolution rules that decide where a plugin can live.
Also in 3 projects that use this
eugenelimSkillnew-spec
Use this skill when the user wants to start a new feature with a spec, or wants to write a spec for something they're about to build. Triggers on "new spec", "write a spec for X", "let's spec this out", "start a feature for…". Spec-driven development; the spec drives implementation. Do NOT use for cross-cutting proposals (use `new-rfc`) or recording decisions (use `new-adr`).
Also in 3 projects that use this
Other versions190 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 190
- tw93/Pake★ 62ksame name
- Yeachan-Heo/oh-my-claudecode★ 40ksame name
- openai/symphony★ 28ksame name
- slopus/happy★ 24ksame name
- coleam00/Archon★ 24ksame name
- microsoft/agent-lightning★ 19ksame name
- EverMind-AI/EverOS★ 13ksame name
- 0xJacky/nginx-ui★ 12ksame name
- modelcontextprotocol/inspector★ 11ksame name
- max-sixty/worktrunk★ 8.8ksame name
180 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- api-surfaceSkill
- build-and-distributionSkill
- mobile-tierSkill
- security-modelSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 172 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 47
Write from the user's vantage point: what they can now do, or no longer run into — not the internal mechanics, refactors, or scaffolding …
- Very specific: line 54
Add the compare link at the very bottom, with the others: [X.Y.Z]: https://github.com/hyperlogue/r3/compare/v<prev>...vX.Y.Z
“Common” is measured: kept by at least 6 in 10 of the 172 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Releasing r3
A release is one version-bump commit plus an annotated tag on it. The whole job
is: write the changelog, move every version string to the new number
together, commit, and tag that commit. Push remains a separate user action.
The release CI reads CHANGELOG.md out of the tagged tree for the GitHub release notes, so the
changelog entry is the release's public face and the tag carries no notes of its
own.
The one rule: bump before you tag
The tag must point at the version-bump commit. Cutting the tag first and bumping afterward leaves the tag on a commit whose in-code version is still the previous release — this skill exists because that exact mistake happened once. Do the changelog and the version bump in the release commit, then tag that commit.
Version sources — all must read the same number
Three files hold the version. The release-build scripts
(scripts/release-binaries.ts, scripts/stage-npm-packages.ts) refuse to build
if they drift, so keep them in lockstep:
shared/version.ts—R3_VERSION(baked into the binary + CLI, reported by/api/health; the CLI warns on skew).package.json— top-level"version".npm/package.json—"version"and all fouroptionalDependenciespins:@hyperlogue/r3-darwin-arm64,-darwin-x64,-linux-x64,-linux-arm64. All four must equal the new version (the launcher resolves the matching per-platform binary at exactly its own version).
Steps
- Pick the version (SemVer). Previous tag:
git describe --tags --abbrev=0. Draft the CHANGELOG entry (
CHANGELOG.md, Keep a Changelog format). Survey what shipped since the last tag —git log v<prev>..HEAD --oneline— then:- Insert a new
## [X.Y.Z] - YYYY-MM-DDsection directly under the intro block, above the previous version. Use the release date. - Group bullets under
### Added/### Changed/### Fixed/### Removed— only the groups that apply, in that order. - Write from the user's vantage point: what they can now do, or no longer
run into — not the internal mechanics, refactors, or scaffolding that got it
there. Frame each entry as what shipped, not what was turned off or reworked
mid-development; internal churn a user never observes doesn't belong in the
log at all. Match the existing voice: a bold lead-in (
**Feature.**) then a sentence or two on the change and why it matters; fold related commits into one bullet. - Add the compare link at the very bottom, with the others:
[X.Y.Z]: https://github.com/hyperlogue/r3/compare/v<prev>...vX.Y.Z
This entry is the release's public face — the CI publishes this exact section as the GitHub release notes. Show the draft to the user and get their sign-off before you commit.
- Insert a new
- Bump all three version sources to
X.Y.Z— do not forget the four npm pins innpm/package.json. - Verify they agree, then run the checks:
rg -n '"version"|R3_VERSION|@hyperlogue/r3-' \ package.json npm/package.json shared/version.ts # every hit must read X.Y.Z bun run typecheck bun test biome check . - Commit — follow
AGENTS.mdfor scope, authorship, and explicit staging. Preserve existing authorship metadata; do not add an unrelated agent trailer.git add CHANGELOG.md shared/version.ts package.json npm/package.json git commit -m "chore(release): release vX.Y.Z" - Tag — annotated, on the commit you just made (the
r3 vX.Y.Zsubject is the convention since v0.2.0). The tag needs no body: CI reads the changelog section from the tagged tree. The awk is the same extraction CI runs, used here only as a guard — it refuses to tag when the## [X.Y.Z]section is missing or empty, which is exactly when the release would silently fall back to GitHub's auto-generated notes:
Eyeball what CI will publish before pushing — that'sV=X.Y.Z NOTES=$(awk -v v="$V" 'index($0, "## [" v "]")==1{f=1; next} /^## \[/{f=0} f' CHANGELOG.md | sed '/./,$!d') test -n "$NOTES" && git tag -a "v$V" -m "r3 v$V" || echo "refusing to tag: no populated '## [$V]' section in CHANGELOG.md" >&2$NOTES, orgit show "v$V":CHANGELOG.md | head -40. - Push — leave the actual push to the user unless they ask. Report any
authentication or transport failure; never imply a failed push succeeded:
git push origin main && git push origin vX.Y.Z
After the tag lands on GitHub
The tag-driven pipeline (.github/workflows/release.yml) verifies the tag,
cross-compiles the four r3-<os>-<arch> binaries, then publishes in three
jobs. Each one uses the release environment, and GitHub asks for that
environment once per job:
- The GitHub Release (curl / Homebrew). Its description is the
## [X.Y.Z]section ofCHANGELOG.mdin the tagged tree — step 2's entry, verbatim — falling back to GitHub's auto-generated notes only if that section is missing or empty (the version guard warns when it is). This is why the tag must sit on the bump commit: a tag one commit early carries a changelog that doesn't describe it yet. - The four npm platform packages, staged from those published release assets.
- The npm launcher (
@hyperlogue/r3), after those exact versions are visible. That wait is one ten-minute deadline, not a manual step.
The repeated approvals are required. npm's trusted publisher names the
release environment, so the job that runs npm publish must too. Putting
the npm publishes in the GitHub Release job would let one approval cover
them, and it would also make a failed npm publish retry by re-uploading the
release. Immutable releases reject that re-upload.
Tell the user the run is parked — a pushed tag no longer completes on its own, and each publication job waits for its own approval. Approve from the run page (Actions → the run → Review deployments). The binaries are already built and smoke-tested, so the approval is the decision to publish. Approve the GitHub Release job within a week — its build artifact expires after 7 days. If that job never ran and the artifact is gone, re-run the workflow so the build can compile again (or reuse assets the release already carries).
The pins were already synced in step 3, so there is nothing else to bump by hand. If an npm job fails after the GitHub Release exists, use Re-run failed jobs. The GitHub Release job stays done and is not uploaded again. The npm retry asks for its own approval, skips a version already on the registry, and downloads the published release assets instead of rebuilding. Once that release exists, the expired build artifact does not block the npm retry.
If you botch a release
Immutable releases are enabled, so a published vX.Y.Z tag can't be moved or
deleted through the normal path — which is the whole reason steps 1–6 get it right
the first time (bump before tag, changelog into the tag). Recovery depends on how
far it got:
- Not pushed yet — the tag is still local. Delete and recut it:
git tag -d vX.Y.Z, fix, then redo step 6. Cheap. - Already pushed / released — don't fight the immutability. Cut the next
patch version (
vX.Y.(Z+1)) carrying the fix; that is the intended recovery. Force-moving a published tag is a rare escape hatch that needs the user to temporarily lift GitHub's immutable-tag / release protection, thengit tag -f -a vX.Y.Z -m "r3 vX.Y.Z" <commit>andgit push --force origin vX.Y.Z. It's outward-facing and hard to reverse — confirm with the user first, and if the branch and tag can't both push, stop and report rather than half-applying.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

