| name | releasenotes |
| description | Generate formatted changelogs from git history since the last release tag. Use when preparing release notes that categorize changes into breaking changes, features, fixes, and other sections. |
| triggers | ["/releasenotes"] |
Generate a changelog for all changes from the most recent release until now.
Steps
- Find the most recent release tag using
git tag --sort=-creatordate
- Get commits and merged PRs since that tag
- Look at previous releases in this repo to match their format and style
- Categorize changes into sections: Breaking Changes, Added, Changed, Fixed, Notes
- Focus on user-facing changes (features, important bug fixes, breaking changes)
- Include PR links and contributor attribution
- For this GitHub-native demo, prefer committing the changelog as a reviewable markdown artifact or draft PR when that is more useful than returning text only
Output
Present the changelog in a markdown code block, ready to copy-paste into a GitHub release. When running in this repo's workflow context, prefer a reviewable markdown artifact or draft PR when practical.