prepare-release
Skill563 starsChanged 2 months agoMITView on GitHub
Prepare a new touchdesigner-mcp release: inspect the unreleased diff since the last tag, decide independently how the MCP **package version** and the **MCP API version** each move (the API axis stays put unless the server/API contract changed), write the CHANGELOG entry, bump the six version-bearing files, commit, and open the development → main release PR. Use when cutting a release, bumping the version, updating the CHANGELOG for a release, or when asked to "release", "prepare a release", or "cut vX.Y.Z". Pairs with `release-test-audit` (verify integration-test coverage of the release diff first) and the `release-manager` agent that orchestrates both.
- Commits and pushes
14 other projects use a version of this.
Adopted by
Most recently taken up by
- CherryHQ/cherry-studiotheir own version, first seen Oct 2, 2026
- jpicklyk/task-orchestratortheir own version, first seen Sep 25, 2026
- Krzysztof318/MailFathomtheir own version, first seen Sep 10, 2026
- sampleXbro/agentsmeshtheir own version, first seen Sep 1, 2026
- Fioooooooo/FylloCodetheir own version, first seen Aug 24, 2026
- modelcontextprotocol/csharp-sdktheir own version, first seen Aug 5, 2026
Other versions14 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 14
- CherryHQ/cherry-studio★ 52ksame name
- modelcontextprotocol/csharp-sdk★ 4.6ksame name
- microsoft/FeatureManagement-Dotnet★ 1.2ksame name
- Shopify/shopify-app-js★ 542same name
- jpicklyk/task-orchestrator★ 207same name
- Fioooooooo/FylloCode★ 28same name
- sampleXbro/agentsmesh★ 25same name
- microsoft/FeatureManagement-JavaScript★ 19same name
- Azure/AppConfiguration-JavaScriptProvider★ 18same name
- Krzysztof318/MailFathom★ 14same name
4 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 repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- integration-test-guardSkill
- release-test-auditSkill
- touchdesigner-self-debugSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 4 are distinctive, and 10 are very specific to this project.
0
Common
Most of the 14 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 35
If the range is empty, there is nothing to release — stop and say so.
- Very specific: line 39
Before writing anything, confirm the release diff is adequately tested.
- Distinctive: line 47
Read references/version-policy.md and decide, from the Step 0 diff:
- Distinctive: line 62
Follow references/changelog-format.md.
- Very specific: line 67
If the file already opens with an ## [Unreleased] block (feature PRs may land their entries there ahead of a release), rename that heading …
- Very specific: line 122
If anything under plugin/touchdesigner/ changed in the range, bump version in plugin/touchdesigner/.claude-plugin/plugin.json.
- Very specific: line 129
Should one ever be added there, it has to move with this one — tests/unit/pluginManifestSync.test.ts compares them whenever the marketplace …
- Very specific: line 144
Update the ^N pin in plugin/touchdesigner/.mcp.json to the new major.
- Very specific: line 152
Whenever either knob moved: run npm run plugin:sync and confirm npm run plugin:check passes.
- Very specific: line 156
Commit plugins/touchdesigner/ and .agents/plugins/marketplace.json together with the source edits.
- Very specific: line 228
If the PR already exists — a re-run, or someone opened it early — put the same file through gh pr edit <number> --body-file …
- Distinctive: line 249
Never bump the API axis on a deps-only / refactor-only / docs-only release.
- Very specific: line 250
Never edit the six version files by hand — let npm version write them, then revert the API trio if needed.
- Very specific: line 262
Don't "fix" the server.json SHA256 mismatch during a release.
“Common” is measured: kept by at least 6 in 10 of the 14 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
Prepare release
Cut a release for touchdesigner-mcp. The job has one non-obvious core: the
repo has two independent version axes, and npm version bumps both — the API
axis must be reverted when the release has no server/API contract change. Read
references/version-policy.md before touching any
version file.
Land the release via a development → main PR (historical flow; PR title is the
version, e.g. v1.4.13). Do not merge or publish — stop at the opened PR.
Step 0 — preflight
git fetch --tags
LAST_TAG=$(git describe --tags --abbrev=0) # e.g. v1.4.12
git log "$LAST_TAG"..HEAD --oneline # the unreleased commits
git diff "$LAST_TAG"..HEAD --stat # the unreleased surfacesIf the range is empty, there is nothing to release — stop and say so.
Step 1 — audit integration-test coverage first
Before writing anything, confirm the release diff is adequately tested. Invoke
the release-test-audit skill: it walks the API/MCP surface changes in the
unreleased range and reports coverage gaps. Resolve (or consciously waive) gaps
via the integration-test-guard skill before cutting the release. Don't
bump a release with an untested API/MCP surface change.
Step 2 — decide the two version axes
Read references/version-policy.md and decide, from the Step 0 diff:
- Package version — always bumps. Pick patch / minor / major from the change set (features → minor, fixes/deps → patch, breaking → major).
- MCP API version — bumps only if the diff changes the server/API
contract (
src/api/**, contract-changingsrc/features/tools/**ortd/modules/mcp/**,src/server/**,src/tdClient/**,src/transport/**). Otherwise it stays put and must be reverted afternpm version.
State the decision out loud before proceeding — it drives both the bump and the CHANGELOG wording.
Step 3 — write the CHANGELOG entry
Follow references/changelog-format.md. Group the Step 0 commits into Keep-a-Changelog sections, write impact-first prose, reference the merged PRs, and include the mandatory "Released version … across …" bullet whose last sentence records the Step 2 API-axis decision.
If the file already opens with an ## [Unreleased] block (feature PRs may land
their entries there ahead of a release), rename that heading to
## [X.Y.Z] - YYYY-MM-DD and fold the new bullets into it — never leave it
behind as a second block under the released version.
Two sections bracket the entry (both defined in changelog-format.md):
### Upgrade Notesfirst — required whenever the API axis moves, and whenever the release otherwise changes what existing users experience. Derive it from the Node-side vs TD-side split of the diff.### Contributorslast — credit every human contributor, cross-checking commit authors,Co-Authored-Bytrailers, and PR authors (squash merges can hide a contributor behind the maintainer's commit email).
Step 4 — bump the version-bearing files
Per references/version-policy.md:
npm run build:mcpb # must precede version:mcp (it hashes the bundle)
npm version <patch|minor|major> --no-git-tag-versionIf the API axis stays put (Step 2), revert the three API files and the
expectedApiVersion field now:
git checkout HEAD -- src/api/index.yml td/modules/utils/version.py pyproject.toml
npm pkg set mcpCompatibility.expectedApiVersion=<OLD_API_VERSION>Then verify the split is correct:
grep -H version package.json src/api/index.yml pyproject.toml
grep MCP_API_VERSION td/modules/utils/version.py
grep -A3 mcpCompatibility package.json
# package.json version = NEW package version; the API-axis files AND
# mcpCompatibility.expectedApiVersion = OLD API version (unless Step 2 bumped them)The
server.jsonfileSha256will not match the CI-rebuilt release asset — that mismatch is a known, expected issue. See version-policy.md.
Step 4b — the bundled touchdesigner plugin
The plugin is not one of the version-bearing files, and npm version does not
touch it. It has two independent knobs; check both on every release.
Every release — did the plugin's own tree change?
git diff --stat "$LAST_TAG"..HEAD -- plugin/touchdesignerIf anything under plugin/touchdesigner/ changed in the range, bump version in
plugin/touchdesigner/.claude-plugin/plugin.json. That is the plugin's own semver
axis: it follows the plugin's changes, not the npm version, and it moves on a
PATCH release just as readily as on a MAJOR one. Marketplace consumers only see
an update when it moves, so a skill, hook, or manifest fix shipped without a bump
ships invisibly. It is the only hand-edited copy: the Claude marketplace entry
deliberately carries no version, so this step cannot leave a stale one behind.
Should one ever be added there, it has to move with this one —
tests/unit/pluginManifestSync.test.ts compares them whenever the marketplace
names a version, and would fail this release.
MAJOR only — the server pin. The plugin resolves the server from npm rather than from this tree:
plugin/touchdesigner/.mcp.json → --package=touchdesigner-mcp-server@^2On a MAJOR bump that pin silently keeps resolving the old major, so the plugin stops tracking releases without anything failing. When — and only when — the npm major moved:
- Update the
^Npin inplugin/touchdesigner/.mcp.jsonto the new major. - Re-read the skills under
plugin/touchdesigner/skills/for claims about server behaviour the new major changed — response shapes,detailLeveltruncation,get_td_nodes'patterndefault, tool argument names.tests/unit/toolListingsSync.test.tscatches renamed tools; nothing catches changed behaviour. Those edits are plugin changes, so the pluginversionmoves too.
Whenever either knob moved: run npm run plugin:sync and confirm
npm run plugin:check passes. The Codex package under plugins/touchdesigner/
is generated from these files — its .mcp.json carries the same ^N pin and
its .codex-plugin/plugin.json the same version — and CI rejects a stale copy.
Commit plugins/touchdesigner/ and .agents/plugins/marketplace.json together
with the source edits.
On a MINOR or PATCH release whose range never touched plugin/touchdesigner/,
nothing here moves — ^N already covers the server, and plugin:check stays
green without a sync.
Step 5 — build the PR body, then open the release PR
git checkout -b <release-branch> # if not already on the release/development branch
git add -A
git commit -m "release: v<X.Y.Z>"
git push -u origin <release-branch>Build the body before creating the PR. gh pr create --body takes the body
at creation time, and nothing later in this step edits it — so keywords
collected afterwards never reach GitHub, which is the exact failure this step
exists to prevent.
The body is the new version's CHANGELOG section plus one closing keyword per issue this release resolves. Collect the keywords the range already claims:
git log "$LAST_TAG"..HEAD --format='%B' \
| grep -oiE '(close[sd]?|fixe?[sd]?|resolve[sd]?) +#[0-9]+' | sort -uThat catches only what somebody already wrote a keyword for. Cross-check it
against the issues the CHANGELOG entry cites, because a bug fixed in the range
may never have had one written anywhere — #220 in v2.1.0 did not, and stayed
open through the release. Cut the entry out once, into the body file, and read
the citations back off it:
# Read the version back out of package.json rather than retyping it — by this
# point Step 4 has written it, and an empty variable here makes the pattern
# match nothing, which is indistinguishable from "the entry cites no issues".
NEW_VERSION=$(node -p "require('./package.json').version")
# The CHANGELOG entry for this version, stopping at the next version heading.
awk -v v="## [$NEW_VERSION]" '
index($0, v) == 1 { on = 1; print; next }
on && /^## \[/ { exit }
on { print }
' CHANGELOG.md > /tmp/release-pr-body.md
grep -oE 'issues/[0-9]+' /tmp/release-pr-body.md | sort -uReconcile the two lists by hand — a cited issue is not automatically a closed
one. On v2.1.0 the range claimed #221, #226 and #228; the entry cited
those plus #219 and #220. #220 was fixed and needed the keyword nobody had
written, while #219 was cited as still open and must not get one.
Append the reconciled keywords to the same file, then create the PR from it:
cat >> /tmp/release-pr-body.md <<'KEYWORDS'
Closes #220
Closes #226
Closes #228
KEYWORDS
gh pr create --base main --title "v$NEW_VERSION" --body-file /tmp/release-pr-body.mdCloses #226 and #228 does not work: GitHub closes the first and ignores the
rest. Every issue needs its own keyword.
If the PR already exists — a re-run, or someone opened it early — put the same
file through gh pr edit <number> --body-file /tmp/release-pr-body.md. Printing
the keywords without writing them anywhere leaves the issues open.
Why the body rather than the commits. A release PR squash-merges into a single commit whose message is every commit in the range concatenated, and GitHub stops parsing closing keywords partway through a message that large. Measured on v2.1.0, whose squashed message ran to 107,513 bytes:
Closes #221at byte 52,521 fired,Closes #228at byte 78,390 andCloses #226at byte 79,538 did not — a cut-off consistent with 64 KiB. The PR body is parsed separately and is not subject to that.
Stop here — the release is published by CI (release.yml) after the
maintainer merges to main. Do not merge, tag, or npm publish yourself.
Once the maintainer has merged, check that the issues actually closed
(gh issue list --state open) and close any stragglers by hand with a comment
naming the release. Silence here looks exactly like success.
Guardrails
- Never bump the API axis on a deps-only / refactor-only / docs-only release.
- Never edit the six version files by hand — let
npm versionwrite them, then revert the API trio if needed. Hand edits drift from the sync scripts. build:mcpbbeforeversion:mcp, always.- Step 4b is not MAJOR-only: a change under
plugin/touchdesigner/in the range bumps the pluginversionon any release, and either knob moving needsnpm run plugin:sync, orplugin:checkfails the release in CI. Only the^Nserver pin waits for a MAJOR bump —npm versionleaves it behind. - Closing keywords belong in the release PR body, and must be in the body
passed to
gh pr create(or written back withgh pr edit --body-file) — collecting them after the PR exists changes nothing. Buried in the squashed commit message they are past the size GitHub will read, and the issues stay open with nothing reporting it. - Don't "fix" the
server.jsonSHA256 mismatch during a release.
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.

