agentleFS
stijnvanhullestijnvanhulle/agents/.agents/skills/changeset/SKILL.md

changeset

Skill1 starsChanged 2 months agoMITView on GitHub

Write or review a release-note changeset with the correct bump.

5 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use the bump from the command when it is patch, minor, or major.

    line 25
  2. Distinctive:

    Write no changeset file until the bump is known.

    line 28
  3. Distinctive:

    Leave out file paths, PR numbers, and reviewer talk.

    line 82

“Common” is measured: kept by at least 6 in 10 of the 4 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Changeset skill

A changeset is the release note for a change. Whoever reads it is upgrading a package, not reviewing the diff.

1. Does the change need one

A change that reaches a versioned package does. Docs, CI, and tests do not. When you are not sure, check whether the package is in the workspace and not listed under ignore in .changeset/config.json, since private packages can be versioned too.

2. Pick the bump

BumpForExample
patchA fixThe resolver no longer caches a miss
minorNew behavior existing code survivesA new unionType option
majorA rename, a removal, or a changed defaultenumType now defaults to asConst

Use the bump from the command when it is patch, minor, or major. When none was passed, or the table does not pick one on its own, follow the ask skill: offer patch, minor, and major, likely answer first. Do not default to patch and report it as a guess. Write no changeset file until the bump is known. When the question goes unanswered, stop and say the bump is missing.

List only the packages you changed.

3. Write the file

.changeset/<slug>.md, named for whoever reads git log, so plugin-resolver-cache.md beats fix.md.

---
'@scope/core': minor
---

Add `unionType` so one type covers every variant of a discriminated schema.

- Accepts `unionType: 'asConst' | 'asLiteral'`, defaulting to `asConst`.
- Leaves output unchanged when the option is not set.

```typescript
// Before
export type PetDog = { type: 'dog'; bark: string }
export type PetCat = { type: 'cat'; meow: string }

// After
export type Pet = PetDog | PetCat
```

In order:

  1. One sentence saying what a user gets. It becomes the changelog headline, so it has to stand on its own.
  2. Bullets, one per user-visible change, verb first, naming the real option, export, or command. Five at most, and none for a one-line change.
  3. A code example whenever a user writes something differently, with before and after when you changed existing behavior.
  4. For a major, a closing line saying what to change to upgrade.

A patch is usually one line and no example:

---
'@scope/core': patch
---

Resolve nested plugin paths on Windows, which broke on a backslash separator.

Wording

  • Lead with what the user gets. Cut what only a reviewer needs.
  • Name real identifiers. "Various improvements" says nothing.
  • Leave out file paths, PR numbers, and reviewer talk. Changesets adds the commit link.
  • No emoji.

Related skills

SkillUse for
prThe branch and PR the changeset ships in
changelogTurning released changesets into docs/changelog.md

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.