Git Changelog Generator
/install git-changelog-generator
Git Changelog Generator
Generate structured changelogs from git history. Supports conventional commits, semantic versioning, and multiple output formats. Use when preparing releases, writing release notes, or documenting project history.
Usage
# Generate changelog for latest unreleased changes
python3 scripts/generate_changelog.py
# Generate changelog between two tags
python3 scripts/generate_changelog.py --from v1.2.0 --to v1.3.0
# Generate for last N commits
python3 scripts/generate_changelog.py --last 20
# Generate since a date
python3 scripts/generate_changelog.py --since 2026-04-01
Output Formats
# Markdown (default)
python3 scripts/generate_changelog.py --format markdown
# Keep a Changelog format (keepachangelog.com)
python3 scripts/generate_changelog.py --format keepachangelog
# GitHub Release format
python3 scripts/generate_changelog.py --format github-release
# JSON (for programmatic use)
python3 scripts/generate_changelog.py --format json
How It Works
- Collect — reads git log between specified ranges
- Parse — extracts conventional commit types (feat, fix, refactor, docs, test, chore, perf, ci)
- Categorize — groups changes by type with human-readable headers
- Enrich — adds PR links, issue references, author attribution, breaking change warnings
- Format — outputs in the requested format
Conventional Commit Support
Parses standard prefixes:
feat:→ Featuresfix:→ Bug Fixesrefactor:→ Code Refactoringdocs:→ Documentationtest:→ Testsperf:→ Performanceci:→ CI/CDchore:→ MaintenanceBREAKING CHANGE:→ Breaking Changes (highlighted)
Non-conventional commits are categorized as "Other Changes" with AI-assisted categorization.
Parameters
| Parameter | Description | Default |
|---|---|---|
--from |
Start tag/commit | Last tag |
--to |
End tag/commit | HEAD |
--last |
Last N commits | All since last tag |
--since |
Start date (YYYY-MM-DD) | None |
--format |
Output format | markdown |
--output |
Write to file | stdout |
--repo |
Repository path | Current directory |
--include-authors |
Show commit authors | false |
--include-hashes |
Show commit hashes | false |
--group-by |
Group by type or scope |
type |
AI Enhancement
When used as an agent skill, the AI can:
- Rewrite terse commit messages into human-readable descriptions
- Identify the most impactful changes and highlight them
- Generate a summary paragraph for release announcements
- Detect breaking changes even without conventional commit markers
- Cross-reference with issue trackers for richer context
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install git-changelog-generator - 安装完成后,直接呼叫该 Skill 的名称或使用
/git-changelog-generator触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Git Changelog Generator 是什么?
Generate structured changelogs from git history using conventional commits, with support for multiple formats, AI-enhanced descriptions, and customizable ran... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 48 次。
如何安装 Git Changelog Generator?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install git-changelog-generator」即可一键安装,无需额外配置。
Git Changelog Generator 是免费的吗?
是的,Git Changelog Generator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Git Changelog Generator 支持哪些平台?
Git Changelog Generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Git Changelog Generator?
由 charlie-morrison(@charlie-morrison)开发并维护,当前版本 v1.0.0。