cut-release
Skill140 starsChanged 3 months agoApache-2.0View on GitHub
Runbook for cutting a release of @sistent/sistent to npm. Use when asked to "cut a release", "release Sistent", "publish a new version", or "ship the next @sistent/sistent". The flow is: wait for Release Drafter to fold the merged PR into the draft release, then publish that draft - Release Drafter has already set the version (from the merged PR's labels) and the notes, and release.yml handles the npm publish (OIDC provenance) and the auto-merged version-bump-back.
36 other projects use a version of this.
Adopted by
Most recently taken up by
- GLinnik21/plx-nativetheir own version, first seen Nov 8, 2026
- mediajunkie/piper-morgan-producttheir own version, first seen Nov 8, 2026
- delexw/motion-graphics-agenttheir own version, first seen Nov 8, 2026
- V-Songbird/foundrytheir own version, first seen Nov 4, 2026
- tansu-io/tansutheir own version, first seen Nov 1, 2026
- rpraharaj/ai-sdlctheir own version, first seen Nov 1, 2026
Used with
Projects with it also use verify-ui, write-prd and 1 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.
ThisIsSadeghiSkillverify-ui
Verify UI implementation against Stitch design via a token audit (HTML ↔ Code, with X-component default-render checks) and an X-components compliance check.
Also in 3 projects that use this
RhyGSkillwrite-prd
Also in 3 projects that use this
SentrySkillcommit
Create commit messages following Sentry conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows conventional commits with Sentry-specific issue references.
Also in 4 projects that use this
Other versions36 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 36
- ToolJet/ToolJet★ 41ksame name
- meshery/meshery★ 12ksame name
- danielmeppiel/apm★ 4.2ksame name
- microsoft/apm★ 4.2ksame name
- Screenly/Anthias★ 3.7ksame name
- Netflix/bpftop★ 2.7ksame name
- tansu-io/tansu★ 1.9ksame name
- fim-ai/fim-agent★ 1.6ksame name
- fim-ai/fim-one★ 1.6ksame name
- libredb/libredb-studio★ 1.3ksame name
26 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 repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- chrome-devtools-axiSkill
- gh-axiSkill
- iterate-prSkill
- lavishSkill
- quota-axiSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 36 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 31
If the version bump is wrong, it's driven by the merged PR's labels - relabel and let Release Drafter re-draft.
- Distinctive: line 39
Publish the draft Release. That's it: No version editing, no notes, no tagging:
“Common” is measured: kept by at least 6 in 10 of the 36 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
Cut a Sistent Release
Publishes a new version of the @sistent/sistent npm package. Releasing is automation-driven and requires no manual preparation: Release Drafter already computes the next version and writes the release notes, and the publish workflow does the rest. You do not run npm publish, bump package.json, write release notes, or create a git tag by hand.
- Package:
@sistent/sistent(public, scope@sistent), published with npm provenance via OIDC trusted publishing. - Release branch:
master(protected — requires PR approval). - Workflows:
.github/workflows/release-drafter.ymlmaintains the draft Release;.github/workflows/release.yml("Publish Node.js Package") does thenpm publish, then opens and auto-merges the version-bump-back PR;notify-dependents.ymlupdates downstream consumers after a successful publish.
The release chain (what actually happens)
- A PR merges to
master→release-drafter.ymlruns and updates the draft GitHub Release: it folds that PR into the changelog and computes the next version from the PR's labels (major/minor/patch, defaulting topatchwhen unlabelled). - You publish the draft Release. The tag (e.g.
v0.21.31) becomes the version source of truth. - Publishing emits
release: published→release.yml: setspackage.json#versionfrom the tag,npm ci→npm run build→npm publish --provenance --access public, then opens therelease/version-bump/vX.Y.ZPR and auto-merges it somaster'spackage.json/package-lock.jsontrack the published version without sitting idle. notify-dependents.ymlfires on the publish workflow's success and bumps downstream consumers (e.g. meshery, meshery-cloud) to the new version.
Procedure
The only human step is publishing the drafted release - Release Drafter has already done the versioning and notes.
Wait for Release Drafter to fold your merged PR into the draft. After the PR merges to
master,release-drafter.ymlruns (a few seconds). Confirm the draft now reflects the merged PR and shows the intended next version:gh release list --repo layer5io/sistent # find the draft (isDraft = true) gh release view <vX.Y.Z> --repo layer5io/sistent # confirm version + notesIf the version bump is wrong, it's driven by the merged PR's labels - relabel and let Release Drafter re-draft; do not hand-edit the tag. Which label a breaking change gets is the pre-1.0 rule in
AGENTS.md's Releasing section.Relabelling alone does not re-draft:
release-drafter.ymlruns on push tomaster, so nothing re-runs it after the merge. Re-run it by hand once the label is right:gh workflow run release-drafter.yml --repo layer5io/sistent --ref masterThen re-check the draft with
gh release viewbefore publishing.- Publish the draft Release. That's it. No version editing, no notes, no tagging:
Publishing triggersgh release edit <vX.Y.Z> --repo layer5io/sistent --draft=false --latestrelease.yml, which publishes to npm and auto-merges the version-bump-back PR.
A label-driven minor or major has never actually been drafted in this repo. Until the config change alongside this note, the name and tag templates interpolated
$NEXT_PATCH_VERSION, soversion-resolverwas inert and everyv0.21.*release drafted as a patch regardless of labels (v0.21.0and the boundaries below it were created by hand). The first non-patch draft is worth confirming against step 1 before publishing rather than assuming.
Verify
- Watch the publish workflow to success:
gh run watch --repo layer5io/sistent \ "$(gh run list --repo layer5io/sistent --workflow release.yml --limit 1 --json databaseId --jq '.[0].databaseId')" - Confirm the version is live on npm:
npm view @sistent/sistent version - Confirm the
release/version-bump/vX.Y.ZPR auto-merged (it should close on its own) and thatnotify-dependentsopened the downstream consumer bump PRs.
What NOT to do
- ❌ Don't
npm publishlocally ornpm version-tag by hand — the workflow owns publishing (with provenance) and the version comes from the release tag. - ❌ Don't edit the draft's version or release notes - Release Drafter owns both; fix PR labels instead.
- ❌ Don't publish expecting an unmerged PR to be included — the release ships
master's current state; merge first, then let Release Drafter update the draft. - ❌ Don't republish an already-published npm version — npm publishes are effectively permanent; cut a new patch instead.
Permissions note
Publishing a release deploys to the public npm registry — an irreversible, outward-facing action, and it runs against a protected branch. Restricted agent / CI sessions can be blocked from publishing releases and merging protected branches (e.g. 403 "not permitted for this session type"); in that case, hand the publish step to a maintainer with release rights rather than attempting to force it.
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.

