agentleFS
WebMCP-orgWebMCP-org/npm-packages/.agents/skills/release/SKILL.md

release

Skill104 starsChanged 44 days agoMITView on GitHub

Release the @mcp-b monorepo with Changesets and pnpm, using npm trusted publishing in GitHub Actions. Covers stable releases, snapshots, prerelease trains, metadata checks, and MCPB artifacts.

  • Reads credentials

196 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use create-agent-adapter, changelog-style 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.
  • MicrosoftSkill

    create-agent-adapter

    Technical guide for creating a new Paperclip agent adapter. Use when building a new adapter package, adding support for a new AI coding tool (e.g. a new CLI agent, API-based agent, or custom process), or when modifying the adapter system. Covers the required interfaces, module structure, registration points, and conventions derived from the existing claude-local and codex-local adapters.

    Also in 5 projects that use this

  • GrinvSkill

    changelog-style

    Turn a commit range into CHANGELOG.md entries following common-changelog style. Use when finishing a PR or cutting a release, to write/fix the [Unreleased] section's entries — moving [Unreleased] under a new dated version heading is a separate, automated step (see the release skill / scripts/sync-version.ts), not this skill's job.

    Also in 4 projects that use this

  • GrinvSkill

    docs-consistency-check

    Check README/manifest.json/server.json/CHANGELOG.md/AGENTS.md and docs/*.md for drift against the actual registered tools and source. Use after adding, renaming, or removing a tool, or as part of a live-audit pass.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    component-release

    Prepares a verifiable Agent Landing Zone UI release. Use for release branches, VERSION, changelog entries, tags, release notes, and compatibility evidence; never publish without explicit human approval.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    documentation-consistency

    Keeps AI Landing Zone contributor, user, and operator documentation aligned with shipped Bicep behavior. Use for parameters, defaults, outputs, topology, deployment flow, operations, or releases.

    Also in 8 projects that use this

  • rivet-devSkill

    launch-graphics

    Generate agentOS marketing/launch graphics (launch & social heroes, code-snippet cards) from the committed generators in docs-internal/graphics. Use when asked to make, update, or render an agentOS launch image, social image, "agentOS Apps" graphic, or technical code-snippet image.

    Also in 3 projects that use this

  • +3 more from Grinv

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 5 are distinctive, and 8 are very specific to this project.

  • 0

    Common

    Most of the 186 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 8

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use the existing Release workflow.

    line 8
  2. Distinctive:

    Do not publish, dispatch, push, or change remote settings without authorization.

    line 10
  3. Very specific:

    Run pnpm changeset. Select only packages with actual changes and describe the consumer-facing effect.

    line 20
  4. Distinctive:

    Commit the changeset with the implementation and submit the PR.

    line 22
  5. Very specific:

    After merge, CI creates or updates chore(release): version packages.

    line 23
  6. Very specific:

    Never hand-edit package versions or use pnpm version: this bypasses changelogs and fixed-group coordination.

    line 32
  7. Distinctive:

    Verify OIDC publishing works before disabling legacy token access in npm settings.

    line 62
  8. Very specific:

    Commit .changeset/pre.json.

    line 92
  9. Very specific:

    Use local publishing only when explicitly requested.

    line 102
  10. Distinctive:

    Do not publish a source directory with npm: it cannot resolve pnpm dependency protocols.

    line 105
  11. Distinctive:

    If only signing failed after stable GitHub releases were created, recover signatures with:

    line 113
  12. Very specific:

    Use the affected stable version.

    line 119
  13. Very specific:

    Verify exact versions (npm view <name>@<version> version) and dist-tags, including unscoped usewebmcp and nested …

    line 123

“Common” is measured: kept by at least 6 in 10 of the 186 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 @mcp-b packages

Use the existing Release workflow. CI publishes from main using npm OIDC, not an NPM_TOKEN secret. Do not publish, dispatch, push, or change remote settings without authorization.

Stable releases

  1. Validate the changes:

    pnpm build && pnpm typecheck && vp check && pnpm test:unit && pnpm release:check
  2. Run pnpm changeset. Select only packages with actual changes and describe the consumer-facing effect. Separate summaries when packages need different release notes.
  3. Commit the changeset with the implementation and submit the PR.
  4. After merge, CI creates or updates chore(release): version packages.
  5. Review that PR's versions, changelogs, relay manifest and global CDN test pin. Merging it lets CI publish the release.

The version PR uses GITHUB_TOKEN. GitHub can hold workflows from bot-created or updated PRs for approval: a maintainer with write access selects Approve workflows to run in the PR merge box, then waits for all required checks. Do not bypass checks or add a PAT to work around an approval prompt. See GitHub's workflow trigger rules.

Never hand-edit package versions or use pnpm version: this bypasses changelogs and fixed-group coordination. All 12 published packages belong to one Changesets fixed group; private workspace apps and examples are not released.

pnpm changeset:version applies versions and synchronizes checked-in metadata through scripts/release-metadata.mjs --write. Normally the workflow runs it. Use it locally only when preparing an explicitly requested version commit.

ci:publish validates metadata, publishes unpublished package versions in dependency order, then runs changeset tag. The pinned Changesets action reads those new-tag messages to create GitHub releases and trigger SBOM, MCPB and signing steps. Keep the tag command after a successful publish; plain pnpm publish does not emit Changesets release events.

npm trusted publishing

Each public package must configure the same trusted publisher on npm:

  • Organization: WebMCP-org
  • Repository: npm-packages
  • Workflow filename: changesets.yml
  • Environment: npm-publish
  • Allowed action: npm publish

The workflow uses GitHub-hosted runners and job-level id-token: write. Node 24 and the pinned npm CLI meet npm's OIDC requirements. pnpm packs the workspace, resolving workspace: and catalog: protocols, then delegates publication to npm. Keep the npm CLI setup. Provenance is enabled; no long-lived npm publish token is needed.

Configure npm-publish environment reviewers and restrict deployment branches to main in GitHub settings. Naming an environment in YAML does not configure these protections. Verify OIDC publishing works before disabling legacy token access in npm settings. The workflow's canonical-repository and branch checks are additional safeguards.

See npm trusted publishing and pnpm publish.

Snapshots

For one temporary build from main, dispatch only when requested:

gh workflow run "Release" --ref main -f tag=beta

This publishes <next>-beta.<datetime> under beta, without committing temporary versions or consuming the changesets on main. Dispatch before merging the version PR: snapshots need pending changesets. The workflow rejects an empty release, latest, unsafe tag text, and existing pre-mode state. It publishes only snapshot packages and signs the registry artifact in each prerelease GitHub release.

A snapshot is independent of the accumulating prerelease flow below. Never restore an entire working tree with git checkout . to discard snapshot versions. Prefer the workflow; if a local snapshot is explicitly needed, prepare it in a disposable clean checkout.

Accumulating prereleases

pnpm changeset pre enter beta

Commit .changeset/pre.json. Normal version PRs now produce X.Y.Z-beta.0, then beta.1, and so on. scripts/npm-dist-tag.mjs selects the active prerelease tag for ci:publish and publish:all; invalid state must stop publication rather than defaulting to latest.

To graduate, run pnpm changeset pre exit and commit the change. The next version PR removes the prerelease suffix and publishes to latest.

Local publishing and recovery

Use local publishing only when explicitly requested. Authenticate with npm login through the user's approved interactive flow; do not read, print, or shell-evaluate .env files. Then use pnpm publish:all, which builds, checks release metadata, and selects the dist-tag. Do not publish a source directory with npm: it cannot resolve pnpm dependency protocols.

Publication is not atomic across packages. pnpm skips versions already on npm, so rerun the same release after fixing the cause of a partial publish. Never overwrite or silently bump an already published version. If npm publishing succeeded but a later GitHub artifact step failed, recover those missing artifacts explicitly: existing tags can make Changesets report no new publication on a rerun. A rerun of snapshot versioning creates a new timestamp.

If only signing failed after stable GitHub releases were created, recover signatures with:

gh workflow run "Release" --ref main -f recover_signatures_version=5.0.3

Use the affected stable version. This checks out its usewebmcp@<version> tag, validates every public package's version, tag commit and existing release, then signs source archives with Sigstore bundles. It never publishes npm packages or replaces SBOM/MCPB/R2 artifacts.

Verify exact versions (npm view <name>@<version> version) and dist-tags, including unscoped usewebmcp and nested @mcp-b/smart-dom-reader-server. Do not use the default npm view version as a prerelease check: it reads latest.

See publishing references for MCPB artifact recovery.

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.