From 8ace1d9c84e5ce455356cf852c370ea625e3b1d1 Mon Sep 17 00:00:00 2001 From: Alex Newman Date: Wed, 22 Apr 2026 16:15:12 -0700 Subject: [PATCH] docs(skill): use npm run changelog:generate in version-bump flow The project's working changelog regenerator is `scripts/generate-changelog.js` (not the stdin-based bundled script), exposed via `npm run changelog:generate`. Prior wording pointed to a broken path. Co-Authored-By: Claude Opus 4.7 (1M context) --- plugin/skills/version-bump/SKILL.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugin/skills/version-bump/SKILL.md b/plugin/skills/version-bump/SKILL.md index 31d2b306..27e1654e 100644 --- a/plugin/skills/version-bump/SKILL.md +++ b/plugin/skills/version-bump/SKILL.md @@ -41,10 +41,11 @@ description: Automated semantic versioning and release workflow for Claude Code ``` Alternative: `npm run release:patch` / `release:minor` / `release:major` invokes `np` and handles tag+push+publish in one shot — use ONLY if you skipped steps 4–6, otherwise `np` will error on the existing tag. 8. **GitHub release**: `gh release create vX.Y.Z --title "vX.Y.Z" --notes "RELEASE_NOTES"`. -9. **Changelog**: Regenerate via the GitHub API + script: +9. **Changelog**: Regenerate via the project's changelog script: ```bash - gh api repos/{owner}/{repo}/releases --paginate | ./scripts/generate_changelog.js > CHANGELOG.md + npm run changelog:generate ``` + (Runs `node scripts/generate-changelog.js`, which pulls releases from the GitHub API and rewrites `CHANGELOG.md`.) 10. **Sync changelog**: Commit and push the updated `CHANGELOG.md`. 11. **Notify**: `npm run discord:notify vX.Y.Z` if applicable. 12. **Finalize**: `git status` — working tree must be clean.