agentleFS
virajpvirajp/claude-plugins/.claude/skills/release/SKILL.md

release

Skill1 starsChanged 2 months agoMITView on GitHub

Cut a release — the plugins via p:plugins:release, the installer

  • Reads credentials
  • Commits and pushes

190 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use watch-pr, marketplace and 9 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 FaceSkill

    watch-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

  • OpenAISkill

    marketplace

    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 AzureSkill

    engineering-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

  • ZAidBinAsifSkill

    write-readme

    Write README files as landing pages not API docs

    Also in 3 projects that use this

  • eugenelimSkill

    new-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

  • Microsoft AzureSkill

    documentation-consistency

    Keeps GPT-RAG Orchestrator user and operator documentation aligned with shipped behavior. Use for runtime strategies, APIs, configuration keys, deployment, defaults, operations, or breaking changes.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 1 is distinctive, and 4 are 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.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When plugins, installer and site release together, cut them from the same main merge in that order — plugins, installer, site — each with …

    line 28
  2. Very specific:

    If plugins.yml goes red on main with *"marketplace.json pins X, which is not a tag"*, the merge landed and the tags did not.

    line 116
  3. Very specific:

    Every installer-vX.Y.Z tag carries one — the tag is the npm-publish trigger, the Release is the human-readable record beside it.

    line 167
  4. Very specific:

    Every site-vX.Y.Z tag carries one, in the note format below — the same 1:1 rule as the installer's.

    line 221
  5. Very specific:

    Follow .config/git-conventional-commits.yaml — the same config the repo already uses.

    line 234

“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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Release

Ask the user before running p:i:release, p:plugins:release or p:site:release. It is the repo's hard rule, and all three tasks tag and push. The one exception is a plan folder whose After landing table records that release as run, consented at its interview — /vwf:execute runs it on a green landing without a second ask.

There are three independent things to release, and one tag family each. Ask which is meant before doing anything; the answer is usually visible in what changed.

ReleasingTagTaskEnds at
one or more plugins<name>-v<version>p:plugins:releasethe pushed tag
the installer CLIinstaller-v<version>p:i:releasenpm + GitHub Release
the websitesite-v<version>p:site:releaseWorkers + GitHub Release

When plugins, installer and site release together, cut them from the same main merge in that order — plugins, installer, site — each with its own note.

The namespaces must all stay prefixed. GitHub's tag globs match any character except /, so a bare v* family matched vwf-v19.9.0 and fired the npm publish on a plugin release — which is why release.yml filters installer-v*. The 54 pre-2026-08-30 v1.2.1–v6.0.0 tags are history; nothing fires on them, and they are deliberately left unprotected.

Adding a fourth tag family means widening the ruleset. GitHub's release-tags ruleset blocks deletion and re-pointing for refs/tags/*-v*, which covers all three families above and every plugin ref the generator can emit — a test pins their shape to /^[a-z][a-z0-9-]*-v\d+\.\d+\.\d+/, and site-v1.0.0 matches both, so the site family needed no widening. A family without -v in the name (nightly-2026-09, say) simply falls outside the pattern and gets no protection, silently: nothing fails, it is just unguarded. Either give the new family a -v or widen conditions.ref_name.include to ["~ALL"] on ruleset 21871515.

Local first

A plugin is staged locally before it is tagged publicly. The staging command is mise run p:plugins:local: it copies each changed plugin into the gitignored dev marketplace under X.Y.Z+N and updates this machine's install, so the author runs the plugin they are about to publish. It commits nothing, pushes nothing and cuts no tag; /vwf:execute takes it as the plan folder's after-landing step on the mode the interview recorded — run without a prompt on a green landing, ask with one stop before it — and a hand-made change reaches it the same way.

So, before p:plugins:release, confirm the plugin being tagged has been staged and actually exercised — in a restarted session, since skills are read at session start. If it has not, offer to run p:plugins:local and stop there; the tag can be cut in the next session and nothing is lost by waiting. This is a question, not a gate: the user can say the change is docs-only, or that they have exercised it another way, and that answer stands.

Two limits, both worth stating rather than papering over:

  • It covers plugins only. The installer's and the website's nearest local steps are mise run p:i:test and mise run p:site:check — gates over the built artifact, not an install of it, so they prove less. p:site:dev serves the site locally and is the closest thing the website has to running the real change.
  • It refuses in user mode, where the registered marketplace is the published one — it would otherwise re-copy the last release, which is the state it exists to escape. Setup is .claude/docs/dev-marketplace.md. A refusal is reported, never routed around.

Releasing plugins

Each entry in .claude-plugin/marketplace.json pins its plugin to a <name>-v<version> tag, and that ref is derived from the plugin manifest's version. So bumping a version is what declares a release; the task only materializes the tag the manifest already names.

# on develop: bump plugins/<name>/.claude-plugin/plugin.json, then
mise run p:plugins:marketplace     # the ref renames itself
# merge develop → main, then
mise run p:plugins:release --dry-run
mise run p:plugins:release

The tracked version is plain X.Y.Z always; the X.Y.Z+N the authoring machine runs between releases exists only in the gitignored staged copies p:plugins:local writes, and p:plugins:check fails a manifest that carries one.

13 and 17 are never issued as a version component, on any version line this repo maintains — a plugin manifest, the installer, the site, config_format, blueprint_format. p:plugins:check refuses a manifest whose version has one (1.13.0, 17.0.0, 2.1.17; 1.130.0 and 113.0.0 are ordinary versions that merely contain the digits), and p:plugins:release refuses the whole run when any ref it would newly cut carries one — refs already tagged predate the rule and stay. A manifest is bumped by hand, so bump it past the number: 19.12.0 minor goes to 19.14.0. The +N staging counter is not a component and never trips it.

p:plugins:release tags only the plugins whose ref has no tag yet, so a plugin whose version did not move is skipped and its entry stays byte-identical — that is what makes releases per-plugin. It refuses to run off main, on a dirty tree, or against a stale manifest.

No GitHub Release and no npm publish. The tag is the release. Users move with claude plugin marketplace update virajp-plugins (re-reads the pins) then claude plugin update <name> (fetches them) — both steps, or nothing moves.

If plugins.yml goes red on main with "marketplace.json pins X, which is not a tag", the merge landed and the tags did not. Run p:plugins:release.

Releasing the installer CLI

Releasing via CI is preferred over the local p:i:publish, so every version keeps the strongest npm trust level (trusted publisher).

1. Bump on develop, merge to main

main is merge-only — the no-commit-to-branch hook blocks a commit there — so p:i:release neither bumps nor commits. It is the same shape as p:plugins:release: tag what has already landed.

# on develop
mise run p:i:version              # patch; --minor / --major to choose the bump
git add package.json && mise x -- git commit -m "ops: bump installer to X.Y.Z"
# merge develop → main

p:i:version skips past 13 and 17 by itself: it computes the target before it writes anything, stepping the bumped component past the number and saying so, so 1.1.12 patched is 1.1.14. Read the version the task prints rather than the one you expected, and use that in the commit message.

2. Cut the tag

# on main
mise run p:i:release

It requires a clean tree and main, refuses a version carrying a 13 or 17 component (which means the tree was hand-edited past p:i:version), refuses if installer-vX.Y.Z already exists (which means package.json was never bumped for this release), runs p:i:test, creates the annotated tag, then — interactively — pushes main first and the tag second 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.

The push order is load-bearing: release.yml checks the tagged commit is reachable from origin/main, so a tag arriving before the branch fails that gate. p:plugins:release pushes tags alone because no plugin tag is checked for reachability.

--ci stops after the tag, with no push and no watch. deps-update.yml passes it, having done its own bump, commit and merge first. Do not pass it by hand.

3. Cut the GitHub Release

Every installer-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. Plugin tags get no Release.

gh release create installer-vX.Y.Z --title installer-vX.Y.Z \
  --notes-file <notes> --verify-tag
  • Creating a Release never publishes. release.yml triggers on push: tags: installer-v*; nothing listens for release events. --verify-tag keeps it that way by refusing to invent a tag — which would push and publish.
  • --latest resolves by publish date, so a normal forward release is correct by default. Pass --latest=false when backfilling out of order.

Releasing the site

The website deploys only from a site-v<version> tag; a merge to main ships nothing. Same shape as the installer: bump on develop, tag on main.

1. Bump on develop, merge to main

# on develop
mise run p:site:version           # patch; --minor / --major to choose the bump
git add site/package.json && mise x -- git commit -m "ops: bump site to X.Y.Z"
# merge develop → main

p:site:version skips past 13 and 17 the same way p:i:version does, and says which version it skipped — take the version it prints, not the next number.

2. Cut the tag

# on main
mise run p:site:release

It requires a clean tree and main, refuses a version carrying a 13 or 17 component, refuses if site-vX.Y.Z already exists (which means site/package.json was never bumped for this release), runs mise run p:site:check, creates the annotated tag, then — interactively — pushes main first and the tag second and watches the site.yml run with gh run watch --exit-status, so the task only succeeds if the deploy does. The push order is load-bearing for the same reason as the installer's: site.yml checks the tagged commit is reachable from origin/main.

--ci stops after the tag, with no push and no watch. Nothing passes it today; do not pass it by hand.

3. Cut the GitHub Release

Every site-vX.Y.Z tag carries one, in the note format below — the same 1:1 rule as the installer's.

gh release create site-vX.Y.Z --title site-vX.Y.Z \
  --notes-file <notes> --verify-tag

site.yml triggers on push: tags: site-v*; creating a Release never deploys, and --verify-tag refuses to invent a tag that would.

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, fix and refactor, plus breaking changes. includeInvalidCommits: false, so ops: / docs: / blueprint: / merge: are excluded. Commits matching ^[wW][iI][pP]\b are skipped.
  • Headlines: Features, Bug Fixes, Performance Improvements, Merges, BREAKING CHANGES.
  • Scopes are bolded; each entry links its commit via https://github.com/virajp/claude-plugins/commit/%commit%.

Shape of the note, in order:

  1. An optional **Plugin versions:** line — only the marketplace entries whose version changed since the previous tag. Informational: those plugins ship on their own tags, not on this one.
  2. The changelog sections.
  3. 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.yml only. workflow_call therefore does not work: the repo shipped it that way for two months and both monthly runs died at the publish step with ENEEDAUTH, because npm saw deps-update.yml and matched nothing. deps-update.yml publishes by dispatching release.yml on the new tag.
  • Refs pushed with GITHUB_TOKEN do not start workflow runs — but workflow_dispatch and repository_dispatch are explicit exceptions, which is why no PAT or GitHub App token is needed. The dispatch is fire-and-forget; the release.yml run 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.yml gates on osv-scanner over the lockfile before publishing, so an unpatched advisory in a transitive dep blocks the release. The remedy is an entry in pnpm-workspace.yaml's overrides, not a bypass.
  • Publishing uses the npm CLI; everything else stays pnpm.
  • No publish path may move into another file — that is why plugin validation lives in the separate plugins.yml, which publishes nothing and holds no id-token permission. Narrowing which tags reach release.yml is a different thing and is safe: npm matches the filename, not the trigger. That is what let the tag filter become installer-v*.

Before cutting

Confirm the working tree is clean, that a plugin release has been through the local stage above, and that the change being released has its docs reconciled — readme.md, CLAUDE.md and site/src/content/docs/plugins/<plugin>.md ship with the change, not after it.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.