Parses git history since last release tag, categorizes commits by type, generates Keep a Changelog markdown with next version suggestion, and offers to prepend to CHANGELOG.md.
From smart-commitnpx claudepluginhub rohitg00/awesome-claude-code-toolkit --plugin smart-commit/changelogGenerate structured changelog from recent git commits, grouped by date and categorized by type (features, fixes, etc.) in markdown format.
Parse the git history since the last release tag and generate a structured markdown changelog.
Identify the latest release tag by running git tag --sort=-v:refname | head -20.
Retrieve all commits since the last tag:
git log <last-tag>..HEAD --pretty=format:"%H|%s|%an|%ad" --date=short
Parse each commit message and categorize by conventional commit type:
feat commits introducing new functionalityfix commits correcting bugs or errorsrefactor, perf, style commits modifying existing behaviordocs commitschore, ci, test, build commitsFor each commit entry, format as:
Suggest the next version number based on changes:
BREAKING CHANGE footers are presentfeat commits are presentfix, refactor, perf, docs, chore commitsGenerate the changelog in Keep a Changelog format.
## [X.Y.Z] - YYYY-MM-DD
### Added
- Description of new feature (scope) [`abc1234`]
### Fixed
- Description of bug fix (scope) [`def5678`]
### Changed
- Description of modification (scope) [`ghi9012`]
### Internal
- Description of internal change [`jkl3456`]
git show <hash> --stat for context