changelog-generator
Turns git log output into a grouped markdown changelog using conventional commit prefixes such as feat, fix and docs. Use when the user prepares a release, asks for release notes, or wants a summary of what changed between two tags.
#git
Install
npx skills add https://github.com/Lethe044/agentskill-kit/tree/main/skills/changelog-generator
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install lethe044-agentskill-kit@llmmart
git clone https://github.com/Lethe044/agentskill-kit.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole lethe044/agentskill-kit collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
Changelog generator
Groups commit subjects by type so release notes can be written in minutes.
When to use
- The user is cutting a release and needs notes.
- The user asks what changed since the last tag.
- A pull request needs a summary of its commits.
How to run
Pipe git log with the %h|%s format into the script:
git log v1.0.0..HEAD --pretty=format:"%h|%s" | python scripts/make_changelog.py --title "v1.1.0"
Without a title, the heading is Changelog.
Output
Markdown on standard output. Sections appear in a fixed order: Breaking changes, Features, Fixes,
Performance, Documentation, Refactoring, Tests, Build and CI, Other. Empty sections are left out.
A ! after the type (feat!:) or a BREAKING CHANGE marker puts the commit under Breaking changes.
Each line shows the scope in bold, the subject and the short hash.
After running
Read the draft once, merge duplicate lines, and rewrite subjects that only make sense to the author. Add a short summary paragraph on top for releases with user visible changes.
Errors
Empty input prints a heading and the line No commits found.. Lines without a | separator are ignored.
Files (agentskill-kit)
-
scripts
-
make_changelog.py 2.1 KB
Loading…
-
-
tests
-
cases.json 1.2 KB
Loading…
-
-
SKILL.md 1.5 KB
--- name: changelog-generator description: Turns git log output into a grouped markdown changelog using conventional commit prefixes such as feat, fix and docs. Use when the user prepares a release, asks for release notes, or wants a summary of what changed between two tags. license: MIT metadata: version: 1.0.0 author: Lethe044 tags: [git, changelog, release, documentation] --- # Changelog generator Groups commit subjects by type so release notes can be written in minutes. ## When to use - The user is cutting a release and needs notes. - The user asks what changed since the last tag. - A pull request needs a summary of its commits. ## How to run Pipe `git log` with the `%h|%s` format into the script: ```bash git log v1.0.0..HEAD --pretty=format:"%h|%s" | python scripts/make_changelog.py --title "v1.1.0" ``` Without a title, the heading is `Changelog`. ## Output Markdown on standard output. Sections appear in a fixed order: Breaking changes, Features, Fixes, Performance, Documentation, Refactoring, Tests, Build and CI, Other. Empty sections are left out. A `!` after the type (`feat!:`) or a `BREAKING CHANGE` marker puts the commit under Breaking changes. Each line shows the scope in bold, the subject and the short hash. ## After running Read the draft once, merge duplicate lines, and rewrite subjects that only make sense to the author. Add a short summary paragraph on top for releases with user visible changes. ## Errors Empty input prints a heading and the line `No commits found.`. Lines without a `|` separator are ignored.
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.