Release
Cut a release of @askviraj/ai-plugins — the i:release ritual, the GitHub Release note format, and the CI facts that make a failed publish legible. Run when the user asks to cut, tag, or publish a release.From its SKILL.md
npx -y skills add virajp/ai-plugins --skill releaseAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
4.5 KB, as published. Nobody here has run it
Release
Ask the user before running i:release. It is the repo's hard rule, and the
task commits, tags, pushes and triggers a publish.
Releasing via CI is preferred over the local i:publish, so every version keeps
the strongest npm trust level (trusted publisher). v* is the installer
CLI's namespace, matching package.json — not a plugin version. Marketplace
plugin versions are not separately tagged; they ride the CLI release that
carries them.
The procedure
1. Cut the tag
mise run i:release # patch; --minor / --major to choose the bump
It requires a clean tree, runs i:test, bumps package.json, commits
ops: release vX.Y.Z, creates the annotated tag, then — interactively — pushes
the commit and tag and watches the release.yml run with
gh run watch --exit-status, so the task only succeeds if the publish pipeline
does. It needs gh installed and authenticated.
--ci stops after the tag, with no push and no watch. deps-update.yml passes
it and does its own push and dispatch. Do not pass it by hand.
2. Cut the GitHub Release
Every vX.Y.Z tag carries one — the tag is the npm-publish trigger, the Release
is the human-readable record beside it. The mapping is 1:1, so a missing
Release means a missed step.
gh release create vX.Y.Z --title vX.Y.Z --notes-file <notes> --verify-tag
- Creating a Release never publishes.
release.ymltriggers onpush: tags: v*; nothing listens forreleaseevents.--verify-tagkeeps it that way by refusing to invent a tag — which would push and publish. --latestresolves by publish date, so a normal forward release is correct by default. Pass--latest=falsewhen backfilling out of order.
The note format
Follow .config/git-conventional-commits.yaml — the same config the repo
already uses. Do not invent a second changelog format.
- Eligible types are
feat,fixandrefactor, plus breaking changes.includeInvalidCommits: false, soops:/docs:/blueprint:/merge:are excluded. Commits matching^[wW][iI][pP]\bare skipped. - Headlines: Features, Bug Fixes, Performance Improvements, Merges, BREAKING CHANGES.
- Scopes are bolded; each entry links its commit via
https://github.com/virajp/ai-plugins/commit/%commit%.
Shape of the note, in order:
- An optional
**Plugin versions:**line — only the marketplace entries whose version changed since the previous tag. - The changelog sections.
- A
**Full Changelog**compare link.
A tag with no eligible commits still gets a Release, saying it is a maintenance release.
Facts that make a failed publish legible
- npm allows exactly one Trusted Publisher per package, and it validates the
entry-point workflow's filename — so it is set to
release.ymlonly.workflow_calltherefore does not work: the repo shipped it that way for two months and both monthly runs died at the publish step withENEEDAUTH, because npm sawdeps-update.ymland matched nothing.deps-update.ymlpublishes by dispatchingrelease.ymlon the new tag. - Refs pushed with
GITHUB_TOKENdo not start workflow runs — butworkflow_dispatchandrepository_dispatchare explicit exceptions, which is why no PAT or GitHub App token is needed. The dispatch is fire-and-forget; therelease.ymlrun is the publish record. - The publish step is idempotent: it skips (does not fail) if that version is already on npm, so tag re-points, dispatch retries and re-runs are safe.
release.ymlgates onosv-scannerover the lockfile before publishing, so an unpatched advisory in a transitive dep blocks the release. The remedy is an entry inpnpm-workspace.yaml'soverrides, not a bypass.- Publishing uses the npm CLI; everything else stays pnpm.
release.ymlmust keep its trigger surface untouched — that is why plugin validation lives in the separateplugins.yml, which publishes nothing and holds noid-tokenpermission.
Before cutting
Confirm the working tree is clean and that the change being released has its
docs reconciled — readme.md, CLAUDE.md and docs/plugins/<plugin>.md ship
with the change, not after it.