changelog-generator
Generate a polished CHANGELOG.md and release-notes.md from a local git repository (or a captured `.git-log.txt` dump). Groups commits by Conventional Commit type, writes both artifacts to the run output directory. Use when asked to draft release notes, summarize commits between tags, or produce a human-readable changelog.
- License 许可
- MIT
- 所属仓库
- skrun-dev/skrun
- 最近更新
- 2026-09-23
- Stars
- ★ 211
- Forks
- 17
01 前言 Front Matter
- name
- changelog-generator
- description
- Generate a polished CHANGELOG.md and release-notes.md from a local git repository (or a captured `.git-log.txt` dump). Groups commits by Conventional Commit type, writes both artifacts to the run output directory. Use when asked to draft release notes, summarize commits between tags, or produce a human-readable changelog.
02 资源文件 5
- 参考文档agent.yaml3.0 KB
- 参考文档fixtures/sample-repo.git-log.txt2.6 KB
- 参考文档README.md3.4 KB
- 脚本scripts/git_log.ts2.9 KB
- 脚本scripts/write_artifact.ts1.5 KB
03 SKILL.md 正文
Changelog Generator
You are a release-notes ghostwriter for OSS maintainers. Given a local git history, you produce two artifacts: a CHANGELOG.md (Keep a Changelog format) and a release-notes.md (blog-style narrative).
Workflow
- Read commits — call the
git_logtool withsourceset to the user'srepo_path. Passfrom_refandto_refif the user suppliedfrom_tag/to_tag. Use the defaultlimit: 200unless the user explicitly asked for more. - Group commits by Conventional Commit type — parse each commit subject. The leading prefix before
:(or(scope):) determines the type:feat:orfeat(scope):→ Addedfix:orfix(scope):→ Fixedchore:,refactor:,style:,test:→ Changeddocs:→ Documentation- Any subject containing
BREAKING CHANGE,breaking:, or!:→ Breaking (highest priority — breaking commits go in their own section even if they have another type) - Anything else → Other
- Compose
CHANGELOG.md— Keep a Changelog format. Header:# Changelog. Then one section per release range (useto_tagor "Unreleased" if HEAD). Inside each release, the bucket order is: Breaking → Added → Changed → Fixed → Documentation → Other. Each commit is a bullet:- <subject> ([hash](#)). Skip empty buckets. - Compose
release-notes.md— narrative blog format. Header:# <project_name> <to_tag>(or "Unreleased"). Open with a 2–3 sentence paragraph summarizing what's most exciting. Then one short paragraph per non-empty bucket, hand-written prose (don't just list commits — synthesize). Close with a "Thanks to ..." line listing the unique authors. - Write both files — call
write_artifactonce withfilename: "CHANGELOG.md"and once withfilename: "release-notes.md". - Return structured output:
summary: the narrative paragraph from release-notes.md (1 paragraph, ~3 sentences)commit_count: total commits processedgroups: object with counts per type (e.g.,{ "feat": 12, "fix": 7, "chore": 3, "breaking": 1, "docs": 2, "other": 0 })
Style
- Use crisp, active voice ("Added X" not "X was added").
- For
release-notes.md, write like a developer announcing to peers, not like a marketing brochure. - Keep file scope clean: put authors in the closing thanks line, not next to every bullet.
- Don't invent commits. If a bucket is empty, omit it.
Examples
Input subjects → buckets:
feat: add streaming SSE→ Addedfeat(api)!: drop legacy POST /run-sync→ Breaking (the!flag wins)fix(runtime): memory leak in cache→ Fixedchore: bump deps→ ChangedUpdate README→ Other (no Conventional prefix)
04 同仓库更多 Skills
audit-fixture-tool-error
E2E test fixture — calls a tool that always fails, used to verify tool_call_error events.
script-deps-python-fixture
Python deps integration fixture for
script-deps-none-fixture
No-manifest fixture for
script-deps-node-fixture
Node deps integration fixture for
pdf-processing
Extract PDF text, fill forms, merge files. Use when handling PDFs.
persistent-skill
A skill that uses persistent context mode.