create-changelog
Installation
SKILL.md
Create Changelog
Create a changelog backfilled with version history.
Step 1: Run $changelog-rules Skill
Run the $changelog-rules skill to load shared changelog conventions.
Step 2: Check for Existing Changelog
Use git rev-parse --show-toplevel to find the repository root. Look for the changelog file per $changelog-rules. If it already exists, use request_user_input to confirm overwriting it. If the user declines (chooses the free-form "Other" option or asks to abort), stop without running the remaining steps.
Step 3: Backfill Version History
Collect release history from the most authoritative source available:
- GitHub releases (preferred): Run
gh release list --limit 100 --json tagName,name,publishedAtto list releases. For each release, read its notes withgh release view <tag> --json body --jq .bodyand parse them into changelog entries. - Git tags (fallback): If no GitHub releases exist, run
git tag --sort=-v:refnameto list tags. For each consecutive tag pair, rungit log <older-tag>..<newer-tag> --onelineto collect commit summaries.