>- package.json version, propagates it to every workspace package in lockstep, merges the PR, the `Publish to npm` workflow runs automatically and ships the new version to npm under dist-tag `latest`, plus a matching GitHub Release with auto-generated notes. Use when a maintainer asks to "cut the next minor", "bump to the next version", "open a release PR", or "prepare a publish PR".
npx skills add https://github.com/prisma/prisma --skill publish-npm-version
Maintainers who can push branches and open PRs. Invoke this locally, not as a
GitHub Action — a PR opened by a workflow's GITHUB_TOKEN does not trigger CI,
which defeats the point of a reviewable release.
Read docs/oss/versioning.md first — it is the
policy this skill mechanises: the root-package.json source of truth, the
lockstep guarantee, the dist-tag convention, and the full procedure (this skill
is the "open the bump PR" step; merging the PR is the publish trigger — there
is no separate dispatch step).
Confirm you can fetch from origin (git fetch origin main succeeds). The skill
works in a fresh worktree off origin/main, so your current worktree is left
undisturbed.
origin/main: git fetch origin main
git worktree add -b chore/release-vNEXT ../release-vNEXT origin/main
cd ../release-vNEXT
pnpm install --frozen-lockfile
pnpm bump-minor reads the root version at HEAD, computes the nextminor (0.2.0 → 0.3.0), stamps every workspace package.json in
lockstep (rewriting internal workspace: deps to the new version), and
regenerates pnpm-lock.yaml to match.
pnpm-lock.yaml — CI installs with --frozen-lockfile, so a bump without the
lockfile fails every CI job at the install step:
git diff --stat # every workspace package.json + pnpm-lock.yaml
pnpm check:publish-deps # no workspace:/catalog: leaks, exact internal pins
git commit -am "chore(release): v<version>"
git push -u origin chore/release-vNEXT
gh pr create --base main --title "chore(release): v<version>" \
--body "Release v<version>. Merging this triggers the Publish to npm workflow."
<version> to npm under latest (via OIDC trusted publishing) and cuts a
GitHub Release with auto-generated notes. Do not merge it yourself unless asked.
(versioning.md § pre-1.0). This skill only advances the latest minor.
Publish to npm workflow, triggered by themerge — never run pnpm publish by hand for a normal release.
(gh release create --generate-notes) by the workflow; there is no committed
release-notes file to write.
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification
Take prisma/publish-npm-version from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference npm.
Without those the skill loads but fails at the first command.