lawrencehua/skills-log/changelog-generator
Claude Code and agent skill by lawrencehua/skills-log
- community
Checking that the SKILL.md file is still in the repository.
Generate consistent, auditable release notes directly from Conventional Commits — auto-detects the correct MAJOR/MINOR/PATCH semver bump, renders a Keep a Changelog-style document, and pairs with a CI commit-format linter and a mandatory human-approval gate before anything gets written.
Install
npx vskill@latest install lawrencehua/skills-log/changelog-generatorSKILL.md
The same SKILL.md was published earlier as lawrencehua/skills-log/changelog-generator.
changelog-generator
A changelog written by hand after the fact drifts from what actually shipped, and skips entries nobody remembered to mention. This generates it directly from the commit history using the Conventional Commits convention, so the changelog can't diverge from the commits it's summarizing — with a human editorial pass still required before anything lands on the main branch.
The method
1. Require Conventional Commits. Every commit message follows type(scope): summary, with type from the standard set (feat, fix, perf, security, refactor, style, docs, test, build, ci, chore) and breaking changes marked either with ! after the type/scope or a BREAKING CHANGE: footer. Enforce this with a CI linter that runs read-only against the commit range and returns non-zero on a malformed type or subject — catching it at PR time is far cheaper than catching it at release time. Only feat, fix, perf, security, and breaking changes need to appear in the rendered changelog; docs/test/build/ci/chore still have to pass the linter but are omitted from the reader-facing document.
2. Map commit types to changelog sections. Render a Keep a Changelog-style document with fixed sections — Added (from feat), Fixed (from fix), Changed (from refactor/style), Security, Deprecated, Removed, Performance — and omit any section with zero entries rather than printing an empty header.
3. Auto-detect the semver bump. Any breaking-change marker → MAJOR (or MINOR if the current version is still pre-1.0, per semver's own pre-release exception). Any non-breaking feat → MINOR. Everything else → PATCH. This removes the single most common release mistake — a human picking the wrong bump level under release-day time pressure.
4. Write prepend-only, never overwrite. New entries go at the top of the changelog file; historical sections are never rewritten or destructively replaced. This makes the changelog file itself an append-only audit log of every release.
5. Human approval gate, always. The generator drafts; it never writes to the changelog on the main branch without an explicit human pass. Commit messages are written for other engineers — changelog entries are written for users, and need a wording pass for clarity even when the underlying commit-type classification is correct.
6. Validate the draft before it ships. Before treating a draft as done: every bullet reads as user-meaningful (not internal implementation detail), every breaking-change entry includes the migration action a user needs to take, security fixes stay isolated in their own section, and there are no duplicate bullets across sections.
Reference implementation sketch
Neither changelog_generator.py nor commit_linter.py ships with this skill — they're the minimal script you write against the contract below:
The generator itself is a straightforward parse-classify-render pipeline: parse each commit subject into (type, scope, breaking?, summary), classify into a changelog section plus a semver-bump vote, render the section templates, and emit both a human-readable Markdown draft and a machine-readable JSON form for CI to consume.
When to use
- Before tagging any release.
- In CI, to auto-draft release notes and to block a PR whose commits don't follow the required format.
- Anywhere a project currently writes changelogs by hand after the fact and entries drift or get skipped.
Not for a marketing announcement (different audience, different tone) and not needed for an unversioned deploy with no discrete release boundary.
How to use
Install: copy this folder into ~/.claude/skills/changelog-generator/ for personal use, or .claude/skills/changelog-generator/ inside a project repo. Wire the linter into your CI as a required check on commit ranges.
Invoke:
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/changelog-generator/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/lawrencehua/skills-log/changelog-generator)