git-changelog-gen
由 rogue-agent1 提供
Git & GitHub简介
Generate changelogs from git commits.
描述
该技能的功能
Generates a human-readable changelog from git commit history. Supports markdown, plain text, and JSON output with date range and tag-based filtering. Automatically uses the last git tag as the start point and excludes merge commits.
Requires no dependencies beyond git and bash, so it runs in any environment without installation or configuration.
何时使用
- Writing release notes before tagging a new version
- Summarizing changes between two dates for a sprint review
- Exporting commit data as JSON for CI pipeline processing
- Reviewing what changed in a repo over the past month
- Grouping commits by type in a conventional-commits project
示例工作流
User asks: Generate a markdown changelog for my repo since January 1, 2026
- 1
Runs bash scripts/changelog.sh with --repo pointing to the target repository
- 2
Passes --since 2026-01-01 to filter commits from that date forward
- 3
Excludes merge commits and extracts conventional commit type prefixes from subjects
- 4
Formats output as markdown with commit hashes, authors, and dates
A markdown-formatted changelog listing all non-merge commits since January 1, 2026, with author attribution and commit hashes
安装
clawhub install rogue-agent1/git-changelog-gen运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。