shopify/prepare-release
Prepare the changeset-release/main branch for release by syncing version.ts files and running pnpm install
npx skills add https://github.com/Shopify/shopify-app-js --skill prepare-release
You are preparing the changeset-release/main branch for release.
Run git branch --show-current and confirm the current branch is changeset-release/main. If it is not, stop and tell the user they must be on changeset-release/main to run this workflow.
For each of the four packages below, read both the package.json version and the version.ts constant. If they differ, the file needs updating.
| Package | package.json | version.ts | Constant name |
| ----------------------------------- | ----------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------- |
| @shopify/shopify-api | packages/apps/shopify-api/package.json | packages/apps/shopify-api/lib/version.ts | SHOPIFY_API_LIBRARY_VERSION |
| @shopify/shopify-app-express | packages/apps/shopify-app-express/package.json | packages/apps/shopify-app-express/src/version.ts | SHOPIFY_EXPRESS_LIBRARY_VERSION |
| @shopify/shopify-app-remix | packages/apps/shopify-app-remix/package.json | packages/apps/shopify-app-remix/src/server/version.ts | SHOPIFY_REMIX_LIBRARY_VERSION |
| @shopify/shopify-app-react-router | packages/apps/shopify-app-react-router/package.json | packages/apps/shopify-app-react-router/src/server/version.ts | SHOPIFY_REACT_ROUTER_LIBRARY_VERSION |
Read all 8 files in parallel.
For each package where the package.json version does not match the version.ts constant:
package.json version.SHOPIFY_API_LIBRARY_VERSION updated from 12.2.0 to 12.3.0").If all version.ts files already match their package.json versions, note that no updates were needed.
Run pnpm install from the repo root to update the lock file.
Print a summary of:
pnpm install was runRemind the user that the next steps are:
CHANGELOG.md files if needed, then commit any changes to changeset-release/main.Packages for release PR into main to trigger the release.Take shopify/prepare-release 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.