AGENT SKILL

pluot-add-changeset

Use when the user has made changes within this repository and needs to document the changes in preparation for semantic versioning. Trigger on "add a changeset", "bump version", "record a change", "prepare a release", "how do I version this", "update the changelog", or any mention of CHANGELOG in this codebase.

License 许可
Apache-2.0
所属仓库
keller-mark/pluot
最近更新
2026-11-04
Stars
★ 31
Forks
3

01 前言 Front Matter

name
pluot-add-changeset
description
Use when the user has made changes within this repository and needs to document the changes in preparation for semantic versioning. Trigger on "add a changeset", "bump version", "record a change", "prepare a release", "how do I version this", "update the changelog", or any mention of CHANGELOG in this codebase.

03 SKILL.md 正文

Adding a Changeset

Pluot uses Changesets to manage versioning and changelogs.

Never edit any CHANGELOG.md directly. All changelog entries are generated from changeset files.

Write the changeset file directly

pnpm changeset is an interactive prompt, so it is not usable non-interactively. Create the markdown file in .changeset/ yourself instead. The filename is arbitrary (the CLI generates adjective-noun-verb.md); only the contents matter:

---
"@pluot/core": patch
---

Added a cool new feature.
  • Front matter maps package names (from each sub-package's package.json name field) to a bump type: major, minor, or patch.
  • The body is the changelog entry. One sentence, imperative or descriptive, ending with a period.
  • List every sub-package you changed. Commit the file alongside your code changes.

When to add a changeset

CI check

.github/workflows/test.yml runs pnpm run changeset-status, which is changeset status --since=origin/main. It fails the PR when a package was modified relative to main but has no changeset covering it. To check locally before pushing:

pnpm run changeset-status

04 同仓库更多 Skills