A Claude Code slash command for generating changelogs from git commits.
# Clone to your preferred location
git clone git@github.com:claude-commands/command-changelog.git <clone-path>/command-changelog
# Symlink (use full path to cloned repo)
ln -s <clone-path>/command-changelog/changelog.md ~/.claude/commands/changelog.md/changelog # Since last tag
/changelog v1.2.0 # Since specific tag
/changelog HEAD~50 # Last 50 commits
- Finds the last release tag (or uses specified starting point)
- Parses commits following Conventional Commits specification
- Categorizes into Keep a Changelog sections
- Extracts issue/PR references
- Generates formatted changelog ready for release
## [Unreleased] - 2025-11-26
### Added
- User authentication flow (#123)
- API rate limiting support
### Fixed
- Pagination bug in search results (#456)
- Memory leak in connection pool
### Changed
- **BREAKING**: Renamed `getUser` to `fetchUser`
- Improved query performance by 40%- Conventional Commits: Parses
feat:,fix:,BREAKING CHANGE:, etc. - Keep a Changelog: Follows the standard format
- Smart categorization: Infers category even for non-conventional commits
- Reference linking: Extracts
#123,fixes #456references - Version suggestion: Recommends semver bump based on changes
| Type | Changelog Section |
|---|---|
feat: |
Added |
fix: |
Fixed |
perf: |
Changed |
refactor: |
Changed |
BREAKING CHANGE: |
Changed (Breaking) |
deprecate: |
Deprecated |
remove: |
Removed |
security: |
Security |
- Git repository with commits
- Claude Code with Sonnet model access
cd <clone-path>/command-changelog && git pull