changesets
Skill4 starsChanged 14 days agoMITView on GitHub
Write the changeset for a change in a repo that releases with changesets (a `.changeset/` folder exists). The bump level follows one question, whether the thing existed before: patch for changed behavior, minor for something new, major only with the maintainer's approval. Use this skill whenever finishing a change, opening a pull request or reviewing one in such a repo, even when nobody asks for a changeset, and when the user asks about bump levels or changelog entries.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- primer/reacttheir own version, first seen Nov 1, 2026
- joostme/skillstheir own version, first seen Oct 17, 2026
- portabletext/editortheir own version, first seen Oct 8, 2026
- primer/octiconstheir own version, first seen Oct 8, 2026
- anza-xyz/kittheir own version, first seen Oct 8, 2026
- Effect-TS/effecttheir own version, first seen Oct 8, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- Effect-TS/effect★ 18ksame name
- primer/octicons★ 8.8ksame name
- primer/react★ 3.9ksame name
- anza-xyz/kit★ 702same name
- portabletext/editor★ 285same name
- joostme/skills★ 1same name
- lorisleiva/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- goal-debateSkill
- parallel-roadmapSkill
- perf-passSkill
- plain-writingSkill
- pr-authorSkill
- pr-reviewSkill
- repo-setupSkill
- security-fixSkill
- ts-styleSkill
- ui-styleSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 26
major: ask first. Never write one on your own judgment. - Very specific: line 60
Write for someone reading CHANGELOG.md, not the diff.
- Distinctive: line 61
Follow the plain-writing rules if that skill is installed: no em-dashes, plain sentences, no build-up.
- Distinctive: line 62
When a change alters data or output that existing users already have (a saved format, generated content, a migration), say so on its own …
- Very specific: line 74
When reviewing a pull request in such a repo, check that it has a changeset when it should, that the level follows the rules above, and …
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Changesets
In a repo that releases through changesets, a changeset is part of finishing the work, not a step somebody has to ask for. Check for a .changeset/ folder; without one, this skill does not apply.
What gets one
A changeset describes what changed against the release branch (usually main), not against the last commit.
A branch often adds something and then corrects it a few commits later. Nobody reading CHANGELOG.md ever saw the broken version, so the correction gets no changeset of its own. Amend the feature's changeset instead if it now says something untrue.
The test is one question: did the behavior being fixed ever reach a release? A fix for something users have today, or anything the release branch does not have at all, gets a changeset.
Changes users never see get none: tests, internal tooling, CI, docs that do not ship with the package. That includes everything under docs/ (roadmaps, debates, proposals, decisions). When unsure, ask whether the entry would mean anything to someone reading the changelog.
The bump level
The question is not how big the change looks. It is whether the thing existed before.
patch: something that already existed now behaves differently. A bug fix, a retuned number, a rewritten internal path, a relaid screen, a performance win. All of these arepatch, however different the result looks.minor: something exists that did not exist before. A new export, option, command, screen, event or field callers can set. If a user could not reach it yesterday and can today, it isminor.major: ask first. Never write one on your own judgment. Say what you think warrants it (a removed export, a changed signature, a changed default that breaks callers) and let the maintainer decide.
One change often does both: adding a new option is minor, retuning an existing default is patch. When one changeset covers both, take the higher level.
Packages before 1.0 often treat minor as breaking. Follow the repo's .changeset/config.json and its history; when the two rules conflict, ask.
The file
A markdown file in .changeset/, named in kebab-case as a short sentence about the change, not a ticket or a component: empty-carts-total-zero.md, tax-rounds-half-up.md.
---
'<package-name>': patch
---
One line saying what is true now.Take the package name from the name field of the package's package.json. In a monorepo, list every package whose published behavior changed, each with its own level, and nothing else.
The prose
- One line for one change. A changeset is a changelog entry: it says what is true now and stops. Leave out the reasoning, the trade-offs and what it replaced.
Several changes: a list, one line each.
--- 'cart': patch --- - Subtotals include the first item in the cart. - Discounts round half up instead of losing a cent on some totals.- Write for someone reading
CHANGELOG.md, not the diff. Name the behavior, not the file or the function. - Follow the plain-writing rules if that skill is installed: no em-dashes, plain sentences, no build-up. Wrap like the files already there.
- When a change alters data or output that existing users already have (a saved format, generated content, a migration), say so on its own line.
Before concluding one is missing
The release step folds every changeset into CHANGELOG.md and empties .changeset/, so a folder holding only README.md and config.json does not mean work went unrecorded. Check CHANGELOG.md before writing a second entry for something already released.
Held for a later release
Every changeset on the release branch ships with the next release. A pull request can be held for a later release, by a roadmap fence or by the maintainer. Keep its changeset in the pull request and hold the merge. Do not remove the changeset to slip the code into the current release, because the change would then ship with no changelog entry.
In reviews
When reviewing a pull request in such a repo, check that it has a changeset when it should, that the level follows the rules above, and that a major was approved. A missing or wrong changeset is a should-fix finding, not a blocking one.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

