Loading...
Loading...
Generate release notes from git commits and GitHub PRs/issues. Use when asked to "create release notes", "generate changelog", "prepare release", "what changed since last release", or need to document changes for a new version. Analyzes commit history, merged PRs, and closed issues to produce GitHub Releases formatted notes.
npx skill4agent add luongnv89/skills release-notes# List recent tags
git tag --sort=-creatordate | head -10
# Find commits since last tag
git log $(git describe --tags --abbrev=0)..HEAD --oneline# Get commits since last release
git log <base>..HEAD --pretty=format:"%h %s" --no-merges
# Get merge commits (PRs)
git log <base>..HEAD --merges --pretty=format:"%h %s"# Get merged PRs (if GitHub repo)
gh pr list --state merged --base main --json number,title,labels,author --limit 100
# Get closed issues linked to PRs
gh issue list --state closed --json number,title,labels --limit 100| Category | Commit Prefixes | PR Labels |
|---|---|---|
| Features | | |
| Bug Fixes | | |
| Performance | | |
| Documentation | | |
| Breaking Changes | | |
| Dependencies | | |
| Other | | - |
## What's Changed
### Breaking Changes
- Description of breaking change (#PR)
### Features
- Add new feature X (#123) @author
- Implement Y functionality (#124) @author
### Bug Fixes
- Fix issue with Z (#125) @author
### Performance
- Improve loading speed by 50% (#126) @author
### Documentation
- Update README with new examples (#127) @author
### Other Changes
- Refactor internal APIs (#128) @author
## New Contributors
- @username made their first contribution in #123
**Full Changelog**: https://github.com/owner/repo/compare/v1.0.0...v1.1.0RELEASE_NOTES.mdgh release create <version> --title "<version>" --notes-file RELEASE_NOTES.md(#123)@username