changesets
Skill702 starsChanged 9 months agoMITView on GitHub
Generate a changeset file with a changelog entry for package releases. Use when a PR introduces user-facing changes that should trigger a version bump.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- lxsmnsyc/agent-skillstheir own version, first seen Nov 8, 2026
- 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
- Effect-TS/effecttheir own version, first seen Oct 8, 2026
Other versions7 projects use a version of this.
Word for word · 1
- lorisleiva/skills★ 1100% same
Edited · 0
None found.
Wrote their own version · 6
- Effect-TS/effect★ 18ksame name
- primer/octicons★ 8.8ksame name
- primer/react★ 3.9ksame name
- portabletext/editor★ 285same name
- lxsmnsyc/agent-skills★ 4same name
- joostme/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 repository5 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- shipping-gitSkill
- shipping-graphiteSkill
- ts-docblocksSkill
- ts-readmeSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 8 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
8
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
- Distinctive: line 10
Create a new changeset file for the current project using the changesets CLI, then fill it with a proper changelog entry based on recent …
- Very specific: line 18
ALWAYS use npx changeset add --empty to generate a new changeset file with a random name.
- Distinctive: line 19
No changeset needed for: docs-only changes, CI config, dev dependency updates, test-only changes.
- Distinctive: line 20
Do NOT modify any existing changeset files.
- Distinctive: line 21
Only create one new changeset file per invocation.
- Distinctive: line 38
Write a concise but informative changelog entry (1-3 sentences).
- Distinctive: line 39
Start with a verb — e.g. "Add", "Remove", "Replace", "Fix", "Update".
- Very specific: line 45
Add a BREAKING CHANGES section (bold paragraph, not a header) after the changelog entry when:
- Distinctive: line 74
Not every breaking change needs a diff — use them when there's a clear before/after code change to show.
- Distinctive: line 78
When invoked as a command, follow these steps:
- Very specific: line 86
Determine the change source: Check git status for uncommitted changes.
“Common” is measured: kept by at least 6 in 10 of the 6 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
Generate Changeset
Create a new changeset file for the current project using the changesets CLI, then fill it with a proper changelog entry based on recent changes.
Key Rules
- Any PR that should trigger a package release MUST include a changeset.
- Identify affected packages by mapping changed files to their nearest
package.json. - Choose the right bump:
patchfor fixes,minorfor features,majorfor breaking changes. - While a project is pre-1.0,
minorbumps may be treated as breaking. - ALWAYS use
npx changeset add --emptyto generate a new changeset file with a random name. NEVER create changeset files manually. - No changeset needed for: docs-only changes, CI config, dev dependency updates, test-only changes.
- Do NOT modify any existing changeset files.
- Only create one new changeset file per invocation.
Guidelines
Changeset Format
---
'<package-a>': patch
'<package-b>': patch
---
<concise changelog entry>Changelog Entries
- Write a concise but informative changelog entry (1-3 sentences).
- Start with a verb — e.g. "Add", "Remove", "Replace", "Fix", "Update".
- Focus on what changed from the user's perspective, not implementation details.
- Mention renamed or removed APIs explicitly.
Breaking Changes
Add a **BREAKING CHANGES** section (bold paragraph, not a header) after the changelog entry when:
- The bump level is
major, OR - The bump level is
minorAND the current major version is0(i.e. pre-1.0)
...and the changes actually introduce breaking changes.
The breaking changes section should list each breaking change with a bold title summarizing the change, followed by a brief explanation and a diff code block showing the before/after migration when applicable. For example:
Replace the `useGranularImports` boolean option with a new `importStrategy` option.
**BREAKING CHANGES**
**`useGranularImports` replaced with `importStrategy`.** The boolean option has been replaced with a string union for finer control.
\`\`\`diff
- renderVisitor('./output', { useGranularImports: true });
+ renderVisitor('./output', { importStrategy: 'granular' });
\`\`\`
**Default import behavior changed.** The default strategy is now `'preferRoot'`, which falls back to granular packages for symbols not on the root entrypoint.
\`\`\`diff
- renderVisitor('./output'); // equivalent to useGranularImports: false
+ renderVisitor('./output'); // equivalent to importStrategy: 'preferRoot'
\`\`\`Not every breaking change needs a diff — use them when there's a clear before/after code change to show. For type removals or behavioral changes, a text explanation is sufficient.
Command Process
When invoked as a command, follow these steps:
Arguments
[patch|minor|major](optional): Override the bump level for all affected packages.
Steps
- Determine the change source. Check
git statusfor uncommitted changes. If there are meaningful working tree changes, use those. Otherwise, use the latest commit(s) on the current branch (compared to the base branch from.changeset/config.json). - Identify which packages changed. Look at which files were modified and map them to their nearest
package.jsonto determine affected packages. Ignore changes that are not relevant to a changeset — e.g. typo fixes in comments, dependency version bumps inpackage.json, changes to CI config, docs-only changes in non-doc packages, etc. Use your judgement to filter out noise. - Run
npx changeset add --emptyto generate a new changeset file with a random name. - Identify the newly created file — it will be the most recently created
.mdfile in.changeset/(excludingREADME.md). - Write the changeset file with the proper frontmatter listing each affected package and the bump level, followed by the changelog entry.
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.

