From designer-skill
Automates releasing designer-skill-mcp to npm with version bump, git tag, and GitHub release. Use when shipping, publishing, or cutting a release.
How this skill is triggered — by the user, by Claude, or both
Slash command
/designer-skill:releaseThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Ship **designer-skill-mcp** in one ordered sequence: version bump → build/test → commit → tag → push → npm → GitHub release.
Ship designer-skill-mcp in one ordered sequence: version bump → build/test → commit → tag → push → npm → GitHub release.
Every release bumps the minor version by 0.1.0 and resets patch to 0, unless you pass an explicit semver to the script.
| Current | Next (default) |
|---|---|
0.10.0 | 0.11.0 |
0.11.0 | 0.12.0 |
0.9.1 | 0.10.0 |
Rule: {major}.{minor + 1}.0 — never auto-bump patch. Use an explicit version only for hotfixes (e.g. ./scripts/release.sh 0.11.1 "hotfix").
npm whoami must succeed (logged in as a publisher for designer-skill-mcp).gh auth status must succeed (active account: elkaix — branch protection on main).README.md and commands/designer-setup.md (@latest → @<new-version>).| File | Field |
|---|---|
designer-skill-mcp/package.json | "version" |
designer-skill-mcp/package-lock.json | top-level "version" |
designer-skill-mcp/server.json | "version" + packages[0].version |
.claude-plugin/plugin.json | "version" |
.codex-plugin/plugin.json | "version" |
.cursor-plugin/plugin.json | "version" |
README.md | pin example (@0.11.0) |
commands/designer-setup.md | pin example (@0.11.0) |
Tag format: v{semver} (e.g. v0.11.0).
From repo root:
chmod +x scripts/release.sh
# Default: auto-bump minor (+0.1.0), e.g. 0.10.0 → 0.11.0
./scripts/release.sh "Short release notes for GitHub and the tag body."
# Override only when you need a patch or major bump
./scripts/release.sh 0.11.1 "Hotfix: …"
./scripts/release.sh 1.0.0 "Breaking: …"
The script runs this sequence:
npm version <semver> --no-git-tag-version in designer-skill-mcp/server.jsonnpm run build + npm testv<semver>git push origin HEAD + git push origin v<semver>npm publish --access public from designer-skill-mcp/mcp-publisher publish from designer-skill-mcp/ (if installed and logged in)gh release create v<semver>README.md and commands/designer-setup.md pin examples, commit, pushcd designer-skill-mcp
npm version 0.11.0 --no-git-tag-version --allow-same-version
# Sync plugin.json + server.json versions (see table above)
npm run build && npm test
cd ..
git add designer-skill-mcp/package.json designer-skill-mcp/package-lock.json \
designer-skill-mcp/server.json \
.claude-plugin/plugin.json .codex-plugin/plugin.json .cursor-plugin/plugin.json
git commit -m "Release designer-skill-mcp v0.11.0."
git tag -a v0.11.0 -m "designer-skill-mcp v0.11.0"
git push origin HEAD && git push origin v0.11.0
cd designer-skill-mcp && npm publish --access public
(cd designer-skill-mcp && mcp-publisher publish) 2>/dev/null || true
gh release create v0.11.0 --title "designer-skill-mcp v0.11.0" --notes "Release notes."
git tag -l 'v0.1*'
npm view designer-skill-mcp version
gh release view v0.11.0
cd designer-skill-mcp && npm test
npm test or npm run build before publish (prepublishOnly also runs them, but verify locally first).--force on npm publish unless explicitly recovering a failed release.Co-authored-by or agent attribution lines to commit or tag messages.npx claudepluginhub pythoughts-labs/designer-skill --plugin designer-skillGuides npm publishing for @mcp-b monorepo packages using changesets: validate build/test/typecheck, create/apply changesets for version bumps and CHangelogs, NPM_TOKEN auth, pnpm publish -r in topological order.
Automates publishing of Claude Code plugins and Agent Skills: version bumping, changelog updates, git workflow. Activates on 'publish plugin' or 'release plugin' requests.
Generates changelog from git commits, determines semver bump from commit messages or user input, updates package.json, commits/tags/pushes, creates GitHub release, publishes to npm.