changesets

Changesets versioning and changelog management: assists using Changesets in JavaScript/TypeScript monorepos to manage versions and generate changelogs. Applicable to automating semantic versioning, creating changelogs from PRs, coordinating multi-package releases, and publishing to npm. Trigger words include changesets, versioning, changelog, npm publish, monorepo release, semver.

Last repository push
GitHub Stars
219
Forks
38
Issues / PRs
1

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "changesets" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-0ef098de65202c7307dcff01629ca5684a11030e4d88ce8ce8ca93c8071362bb. Verify the upstream source and version against https://github.com/TerminalSkills/skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Changesets versioning and changelog management: assists using Changesets in JavaScript/TypeScript monorepos to manage versions and generate changelogs. Applicable to automating semantic versioning, creating changelogs from PRs, coordinating multi-package releases, and publishing to npm. Trigger words include changesets, versioning, changelog, npm publish, monorepo release, semver.

0 Downloads

Introduction source: third_party · TerminalSkills · 1.0.0 Reference

SkillPi interpretation

Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: changesets
description: >-
  Assists with managing versioning and changelogs in JavaScript/TypeScript monorepos using
  Changesets. Use when automating semantic versioning, generating changelogs from PRs,
  coordinating multi-package releases, or publishing to npm. Trigger words: changesets,
  versioning, changelog, npm publish, monorepo release, semver.
license: Apache-2.0
compatibility: "Requires Node.js 16+"
metadata:
  author: terminal-skills
  version: "1.0.0"
  category: development
  tags: ["changesets", "versioning", "changelog", "monorepo", "npm"]

Changesets

Overview

Changesets is a versioning and changelog management tool for JavaScript/TypeScript monorepos. Developers add changeset files describing their changes, then CI consumes them to bump package versions, generate changelogs, and publish to npm with coordinated releases across interdependent packages.

Instructions

  • When adding a change, run npx changeset, select affected packages, choose the semver bump type (patch, minor, major), write a user-facing description, and commit the generated .changeset/xxx.md file with the PR.
  • When releasing versions, run npx changeset version to consume pending changesets, bump package.json versions, update CHANGELOG.md per package, and handle dependency bumps automatically.
  • When publishing, run npx changeset publish to publish changed packages to npm, create git tags, and skip unchanged packages.
  • When automating with CI, use changesets/action in GitHub Actions to automatically create a "Version Packages" PR and publish on merge.
  • When coordinating packages, use linked for packages that must share the same version (CLI + SDK) and fixed for monorepo-wide versioning.
  • When testing pre-releases, use snapshot releases (--snapshot preview) for CI testing or pre-release mode (changeset pre enter next) for -next.0 versions.

Examples

Example 1: Set up automated releases for a monorepo

User request: "Configure Changesets for automated versioning and publishing in my Turborepo monorepo"

Actions:

  1. Install @changesets/cli and run npx changeset init to create .changeset/config.json
  2. Configure @changesets/changelog-github for PR links and author attribution
  3. Add changesets/action to GitHub Actions for automatic "Version Packages" PR creation
  4. Set up CI check that requires a changeset file on PRs affecting published packages

Output: A monorepo with automated versioning, changelog generation, and npm publishing triggered by merging the version PR.

Example 2: Coordinate a breaking change across multiple packages

User request: "Release a major version bump for our core package and patch bumps for all dependents"

Actions:

  1. Run npx changeset and select the core package with major bump
  2. Write a description of the breaking change for the changelog
  3. Run npx changeset version which bumps the core package and patches all dependents
  4. Review the generated changelogs and version bumps, then merge

Output: A coordinated release with a major bump on the core package and automatic patch bumps on all dependent packages.

Guidelines

  • Require changesets on every PR that affects published packages and enforce with a CI check.
  • Write changeset descriptions for users, not developers: "Fixed button hover state" not "Refactored CSS modules."
  • Use linked for packages that must stay in sync, such as CLI and SDK pairs.
  • Use snapshot releases for testing PRs since they publish 0.0.0-timestamp versions for CI testing.
  • Use @changesets/changelog-github for open-source projects to include PR links and author attribution.
  • Keep .changeset/config.json in the repo root as project configuration.

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 针对 JavaScript/TypeScript 单体仓库的 Changesets 管理,具有明确的实用价值
  • 覆盖版本控制、变更日志生成、npm 发布等核心开发场景
Trigger Precision95/100

Highlights

  • 触发词完整且精准,覆盖 changesets、versioning、changelog 等关键术语
  • 边界清晰,不易与其他 Skill 重叠
Structure and Standards90/100

Highlights

  • 结构清晰,包含 Overview、Instructions、Examples、Guidelines 等完整章节
  • 提供端到端示例,frontmatter 完整规范
Execution Reliability85/100

Highlights

  • 工具来源明确,参数正确,覆盖主要异常场景
  • 提供 review 机制确保不可逆操作的可靠性
Evidence Verifiability (mean of the first four)89/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.