No slash command · from buddy-changesets
Internal skill: review the pending changesets in `.changeset/` for scope, accuracy, and wording, adding a missing one first. Called by the `changesets` gateway in `review` mode.
Ships in buddy-changesets. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Called by the changesets gateway. It has already confirmed .changeset/config.json exists.
Every pending changeset in .changeset/ becomes a CHANGELOG.md entry verbatim at the next release. This skill is the last chance to catch a wrong bump, a leaked implementation detail, or an entry that should not ship at all.
Load write-changeset. It owns the criteria this skill audits against — what warrants a changeset, which bump type, and the body rules. Do not restate or re-derive them here; a rule that needs changing gets changed there.
Then run it for the current change, so a missing changeset is written before the review. If it concludes no changeset is needed, say so and continue — reviewing what is already pending is still worthwhile.
Skip the writing half only when the user asked to review the existing files and nothing else.
ls .changeset/*.md
Ignore README.md and config.json. Read every remaining file, and read .changeset/config.json for the fixed, linked, and ignore groups.
Get the changes those files are meant to describe:
git log origin/main..HEAD --oneline
git diff --name-only origin/main...HEAD
Substitute the repo's actual base branch when it is not main.
Four checks. The first two apply write-changeset's criteria to a file that already exists; the last two are review-only — they need the whole set of pending files, which the author of any single changeset could not see.
Does it belong? Apply write-changeset's When a Changeset Is Warranted. A changeset whose change fails that test gets deleted — most often one covering only a devDependencies bump, CI or tooling, tests, or an internal refactor. A runtime dependencies bump that does qualify usually still needs rewriting to say what changed for the consumer rather than which version moved.
Is the body up to standard? Apply write-changeset's Body rules and its breaking-change requirement. Fix what falls short; leave a body that already meets the bar alone rather than rewording it for style.
Is it accurate? This is what a review can check and the author could not — the file against what actually landed:
fixed group carry the same bumppackage.json exactlyIs it redundant? Across the pending set and the released history:
CHANGELOG.md, gets deletedReport the findings grouped by file, each with the proposed edit:
.changeset/fuzzy-wolves.md
- bump: patch → minor (adds the `retry` option, a new public API)
- body: wrap `retry` in backticks; drop "in fetchClient.ts"
.changeset/lucky-pandas.md
- delete: covers only a devDependency bump of `vitest`
Apply edits directly. Confirm before deleting a file or changing a bump type — both change what ships.
Do not stage or commit; leave the changes for the user's own commit unless they ask otherwise.
.changeset/ was read, not just the ones touched on this branchwrite-changeset's warranted test and body rulesfixed groups consistentCHANGELOG.md was not touchedWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub repobuddy/buddy-changesets --plugin buddy-changesets4 skills in this plugin
/changesetsUse this skill for changeset work on an existing setup — write a changeset for the current change, or review the pending changesets in `.changeset/` before merging. Triggers on 'add a changeset', 'add cs', a missing-changeset CI failure, 'review the changesets', or 'check the changeset wording'./init-changesetsUse this skill when setting up changesets, adding release CI, upgrading the Changesets CLI across a major, or migrating from another release tool. Also when a release job fails with a Changesets CLI/action version mismatch./write-changesetInternal skill: write a changeset file for the current change. Called by the `changesets` gateway in `add` mode, and by `review-changesets` when a pending changeset is missing.Other plugins' skills for the same job