Changelog Draft
Last tag: !git describe --tags --abbrev=0
Draft the release entry for everything merged since $ARGUMENTS, or since the last tag above when no tag is given.
Steps
Collect the merged changes:
${CLAUDE_SKILL_DIR}/scripts/collect.sh "$ARGUMENTS"It prints one line per merged pull request: number, label, title.
Drop every line labelled
internalordeps.Group the rest under Added, Changed, and Fixed, using the
feature,change, andfixlabels.Rewrite each title from the support agent's side. "Add macro variables for assignee" becomes "Macros can now insert the assignee's name".
Write the entry to
content/releases/<version>.mdx, where<version>is theversionfield inpackage.json.Print the entry and the path.
Gotchas
- A pull request with the
breakinglabel goes first under Changed with the migration step in the same line. - Do not include a pull request that was reverted later in the same range.
collect.shmarks those lines withreverted.