Run this workflow to create a release commit and tag for all publishable packages in this workspace.
Use the bundled script for deterministic behavior.
Workflow
Confirm prerequisites.
Run from repository root.
Ensure git working tree is clean before release.
Ensure npm auth is configured if publishing after tagging.
Find last release tag matching v* (semver sorted).
Parse conventional commits since last tag (or full history if no tag).
Select bump type:
major if any commit has BREAKING CHANGE or type(scope)!:
minor if any feat(...)/feat:
patch for any other conventional commit type
Update all packages/*/package.json versions to the new version.
Update internal workspace dependencies pinned to old version.
Create or update root CHANGELOG.md.
Create commit and tag.
Failure Handling
If quality gates fail, stop and fix before retry.
If no conventional commits are found, stop and ask user whether to proceed manually.
If git working tree is dirty, stop and ask user to clean/stash unrelated changes first.
1---2name: release-npm-packages3description: Release Npm Packages4---56# Release Npm Packages78## Overview910Run this workflow to create a release commit and tag for all publishable packages in this workspace.11Use the bundled script for deterministic behavior.1213## Workflow14151. Confirm prerequisites.16- Run from repository root.17- Ensure git working tree is clean before release.18- Ensure npm auth is configured if publishing after tagging.19202. Run release script.2122```bash23node skills/release-npm-packages/scripts/release-packages.mjs24```25263. Verify output.27- Check version updates in `packages/*/package.json`.28- Review top entry in `CHANGELOG.md`.29- Confirm new commit message: `chore(release): vX.Y.Z`.30- Confirm new git tag: `vX.Y.Z`.31324. Publish packages if requested.3334```bash35npm publish -w @frenchfryai/core36npm publish -w @frenchfryai/react37npm publish -w @frenchfryai/runtime38```3940## Script Behavior4142- Run quality gates in this order:43 - `npm run lint`44 - `npm run format:check`45 - `npm run typecheck`46 - `npm run test -- --coverage`47 - `npm run build`48- Find last release tag matching `v*` (semver sorted).49- Parse conventional commits since last tag (or full history if no tag).50- Select bump type:51 - `major` if any commit has `BREAKING CHANGE` or `type(scope)!:`52 - `minor` if any `feat(...)`/`feat:`53 - `patch` for any other conventional commit type54- Update all `packages/*/package.json` versions to the new version.55- Update internal workspace dependencies pinned to old version.56- Create or update root `CHANGELOG.md`.57- Create commit and tag.5859## Failure Handling6061- If quality gates fail, stop and fix before retry.62- If no conventional commits are found, stop and ask user whether to proceed manually.63- If git working tree is dirty, stop and ask user to clean/stash unrelated changes first.
Run npx skillmds@latest add copilotkit/release-npm-packages in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Release Npm Packages It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
copilotkit (@copilotkit) published this skill. Their other Agent Skills are listed on their SkillMD profile.