draft-release-notes
Draft release notes
This skill fires inside a stable-release cut. The release-cutting agent runs it from the release/<version> worktree that publish-npm-version created, with the target version already known, and produces the committed notes file that is the GitHub Release body (the publish workflow ships it verbatim via gh release create --notes-file docs/releases/v<version>.md). There is no --generate-notes fallback — the file you author here is what every consumer reads.
The skill is prose-driven: there is no codemod or script to run. You — the agent — do the enumeration, the Linear-context lookup, the triage, and the writing directly, the same way record-upgrade-instructions walks you through authoring an upgrade entry rather than running one for you.
When to use
Run this skill when all of the following hold:
- A stable (
latest) release is being cut — the target version$NEXTis known (computed bypublish-npm-versionstep 1, e.g.0.12.0). - You are in the
release/<version>worktree checked out at the bump commit (HEAD carries the bumped rootversion). docs/releases/v$NEXT.mddoes not exist yet (the PR-mode release-notes gate,pnpm check:release-notes --mode pr, fails the release PR until it does).
Do not run it for -dev.N or -beta.N builds: those create no GitHub Release and are not gated. Do not run it to backfill notes for an already-shipped release — the convention starts from the first release cut after it landed.
The two hard rules
These are project requirements, not style preferences. A draft that violates either is wrong even if everything else is perfect.