git-changelog
bởi fratua
Git & GitHubTóm tắt
Auto-generate beautiful changelogs from git history, grouped by conventional commit types.
Mô tả
Kỹ năng này làm gì
Reads git commit history and produces a categorized, markdown-formatted changelog grouped by conventional commit types. Handles tag ranges, date ranges, and breaking change detection automatically. Output is ready to paste into CHANGELOG.md or a GitHub release.
Parsing conventional commits and grouping them by type by hand is tedious and error-prone, especially across long ranges; this skill automates the whole process in one step.
Khi nào nên dùng
- Generating release notes before tagging a new version
- Creating a CHANGELOG.md entry after a sprint
- Reviewing what changed between two git tags
- Catching breaking changes before publishing a package
- Summarizing recent commits for a team update
Quy trình ví dụ
User asks: generate a changelog from v1.1.0 to HEAD
- 1
Verify the current directory is a git repository using git rev-parse
- 2
Determine the commit range from v1.1.0 to HEAD
- 3
Extract commits with hash, subject, author, and date using git log
- 4
Parse each commit subject for conventional commit prefixes and group into categories
- 5
Check for BREAKING CHANGE footers and feat! commits, then render the full markdown output
A markdown changelog with sections for Features, Bug Fixes, and any other detected categories, including short commit hashes and scopes
Cài đặt
clawhub install fratua/git-changelogChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.