Prepare an MCP server and plugin release by bumping versions across all files and updating changelog
60
71%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./.claude/skills/mcp-release-prep/SKILL.mdPrepare an MCP server and plugin release by updating version numbers across all required files and generating a changelog entry. Per the policy adopted in 20.0.0, the MCP server version tracks the qsv binary version — 20.0.0, 20.1.0, 21.0.0, 21.1.0 and 22.0.1 all shipped as companion releases to the matching binary. (The version numbers are mechanically independent — nothing enforces the match — but pick the binary's version unless you have a specific reason not to.)
version (required): The new MCP server version number (e.g., "16.2.0")minimum_qsv_version (optional): New minimum qsv binary version, if changingAll paths below are relative to .claude/skills/.
package.json: find "version": field — source of truth; version.ts reads this at runtimemanifest.json: find "version": field near top — must match package.json.claude-plugin/plugin.json: find "version": field../../.claude-plugin/marketplace.json (repo root): find "version": in both metadata and plugins[0] — must match package.jsonAfter bumping package.json, run npm install --package-lock-only to sync package-lock.json.
Do NOT look for a
version:field inagents/*.mdfrontmatter. Agent frontmatter carried one through 19.1.1 but it was removed since; the three agent files now have onlyname,description, andallowed-tools. There is nothing to bump there.
manifest.json: find "minimum_qsv_version": in _meta["com.dathere.qsv"] — this is the
single source of truth and the only edit point.
Both consumers read it from manifest.json at runtime; neither holds a hardcoded version,
so do not go hunting for a MINIMUM_QSV_VERSION constant to edit:
src/config.ts — loadMinimumQsvVersion() → readMinimumQsvVersionFromManifest(); falls
back to "0.0.0" (check becomes a no-op) if the manifest can't be read.scripts/cowork-setup.cjs — same logic in CJS, same "0.0.0" fallback.Raise the floor when the regenerated skill JSONs advertise flags that only exist in the new binary (the 21.1.0 and 22.0.1 precedent). If the release is purely a docs/packaging change, leaving the floor alone is fine.
These footers rot easily — they have been missed in past releases, so check all three even if the
release is small. Each is an **Updated**: YYYY-MM-DD / **Version**: X.Y.Z pair at the bottom
of the file.
README-MCP.md: **Version**: footer near the bottomdocs/desktop/README-MCPB.md: **Version**: footer near the bottom (this is the only
version string in the file — there are no releases/download/<ver>/ URLs to update)README.md: **Version**: footer near the bottomdocs/guides/START_HERE.md: check for hardcoded version references (currently none — it
uses an unversioned .mcpb reference)A catch-all sweep for anything the list misses — from the repo root, with <old> as the version
you are replacing:
git grep -n '<old>' -- .claude/skills .claude-pluginThis must come back clean (modulo historical prose in docs/audits/) before packaging: the
packaging scripts do no cross-validation, so a partial sweep silently produces a correctly-named
bundle containing a stale manifest.
Verify the skill-based command count matches actual files:
ls qsv/qsv-*.json | wc -lThen check descriptions in these files for stale counts:
.claude-plugin/plugin.json description../../.claude-plugin/marketplace.json — both metadata.description and plugins[0].descriptioncowork-CLAUDE.md — Tool Discovery sectionskills/csv-wrangling/SKILL.md — Tool Discovery sectionmanifest.json — _meta.com.dathere.qsv.features arrayAdd a new section at the top of CHANGELOG.md (in .claude/skills/) following this format:
## [X.Y.Z] - YYYY-MM-DD
### Added
- (new features)
### Changed
- (changes to existing features)
### Fixed
- (bug fixes)Find the last qsv release tag and use it to populate the changelog:
# Find the most recent qsv release tag
LAST_TAG=$(git describe --tags --match '[0-9]*.[0-9]*.[0-9]*' --abbrev=0 2>/dev/null || echo "")
# List relevant commits since that tag (or all commits from repo root if no tag exists)
git log --oneline --no-merges --grep="(mcp)" "${LAST_TAG:-$(git rev-list --max-parents=0 HEAD)}"..HEADOnly commits with (mcp) or (plugin) in the title are relevant to MCP server releases.
After version bumps:
npm run build — TypeScript compilation succeedsnpm test — all tests pass. This is the real gate: release commits use [skip ci], so
mcp-server-ci.yml will not run on them.npm run mcpb:package — generates qsv-mcp-server-X.Y.Z.mcpbnpm run plugin:package — generates qsv-data-wrangling-X.Y.Z.plugin⚠️ Run steps 3 and 4 back to back. clean:bundles is chained onto both and deletes every
.mcpb/.plugin not matching the current version — so mcpb:package removes the previous
release's .plugin before plugin:package rebuilds it. Stopping in between leaves you with only
one artifact on disk. (Harmless in practice: prior artifacts live on their GitHub release, and
both file types are gitignored, so they are never committed.)
There are two independent channels, and only one involves an artifact:
| Channel | Mechanism | Artifact? |
|---|---|---|
| Claude Code marketplace | marketplace.json has "source": "./.claude/skills" — installs pull live from master | No — pushing to master is the publish |
| GitHub release assets | .mcpb (Claude Desktop) + .plugin (Cowork) attached to the qsv release | Yes, uploaded by hand |
Nothing is automated; there is no CI job that packages or publishes either artifact.
git commit # subject: chore(mcp): vX.Y.Z release of MCP Server and Claude Cowork plugin
# body: [skip ci]
git push
gh release upload <tag> qsv-mcp-server-X.Y.Z.mcpb qsv-data-wrangling-X.Y.Z.plugin⚠️ Check the binary release is complete before pushing. Because the marketplace serves live
from master, pushing advertises a plugin whose minimum_qsv_version users must be able to satisfy
by download. If publish.yml is still in flight — or the release is still marked Pre-release —
some platforms have no binary yet, and those users get a version-floor warning from
cowork-setup.cjs (a warning, not a refusal). Confirm with gh release view <tag> and
gh run list --workflow=publish.yml first.
The Cowork plugin (.plugin file) is a separate distribution artifact from the Desktop Extension (.mcpb). It provides the workflow layer (skills, agents, hooks) without the MCP server itself.
.claude/skills/).claude-plugin/plugin.json — plugin manifest (version already bumped in Core step 3)scripts/cowork-setup.cjs — SessionStart hook that deploys cowork-CLAUDE.md to the working directory and validates the qsv binarycowork-CLAUDE.md — workflow template deployed by the hookskills/ — 15 SKILL.md files: 9 user-invocable (csv-query, data-clean, data-convert, data-describe, data-join, data-profile, data-validate, data-viz, infer-ontology) + 6 model-invoked (bls-query, csv-wrangling, data-quality, genai-disclaimer, qsv-performance, reproducible-analysis)agents/ — subagents (data-analyst, data-wrangler, policy-analyst)When preparing a release, also review:
cowork-CLAUDE.md: check that tool names, workflow steps, and limits are still accuratescripts/cowork-setup.cjs: if minimum_qsv_version changed, update the MINIMUM_QSV_VERSION constant (listed in Conditional step 10)skills/, agents/: check for any hardcoded version references or stale tool namesminimum_qsv_version tracks binary compatibility, not server version — enforced in 3 places: src/config.ts, manifest.json, and scripts/cowork-setup.cjs (all must stay in sync)qsv/*.json) are auto-generated by the qsv binary (qsv --update-mcp-skills), not by this skill — only bump those via /release-prepversion.ts reads version from package.json at runtime — no need to edit version.ts directly.plugin package reads its version from package.json (same source of truth as the .mcpb)a46782a
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.