/utils:update-changelogfrom Utils
Creates or updates CHANGELOG.md from git tags following Keep a Changelog 1.1.0 format. Automatically groups commits into human-readable entries.
Ships in Utils. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Create or update CHANGELOG.md following the Keep a Changelog 1.1.0 format, using git tags as version boundaries.
[Unreleased] section MUST always be present, even if empty.YYYY-MM-DD).See references/keepachangelog-format.md for the full format specification.
Run these commands to understand the project's release history:
git tag --sort=-v:refname
git log --oneline --decorate
git remote get-url origin
Collect:
v1.0.0 and 1.0.0 prefixes are valid -- detect which convention the project uses and stay consistent.If no tags exist, inform the user and generate only an [Unreleased] section from the full commit history.
Look for CHANGELOG.md (case-insensitive) in the project root.
For each pair of adjacent tags (newest to oldest), extract commits with their full messages:
git log --format="%h %s%n%b" <older-tag>..<newer-tag>
For the oldest tag:
git log --format="%h %s%n%b" <oldest-tag>
For unreleased changes (commits after the latest tag):
git log --format="%h %s%n%b" <latest-tag>..HEAD
Get the tag date for each version:
git log -1 --format=%ai <tag>
Do NOT copy commit messages verbatim. Changelogs are for humans -- readers who care about what changed and why, not how the code was modified.
Analyze the full commit messages gathered in step 3 (subject lines and bodies) to understand the intent and impact of each change. Group related commits into logical changes. Multiple commits that together implement one feature become a single entry. A refactor that splits one file into three is one change, not three.
Classify each logical change into exactly one category (in this order of precedence):
| Category | What belongs here |
|---|---|
| Added | New capabilities users can now do |
| Changed | Existing behavior that now works differently |
| Deprecated | Capabilities that will be removed in a future version |
| Removed | Capabilities that no longer exist |
| Fixed | Broken behavior that now works correctly |
| Security | Vulnerabilities that have been addressed |
Omit changes with no user-facing impact (internal refactors, CI tweaks, test additions, doc typo fixes) unless they substantially affect the development experience for contributors.
Write each entry as a clear, meaningful description:
- .Bad (git log copy-paste):
- Update auth middleware
- Fix bug in login
- Refactor token validation
Good (meaningful for readers):
- Session tokens now refresh automatically 5 minutes before expiry, eliminating unexpected logouts during long sessions
- Fix login failing silently when the email contains uppercase characters
Follow this exact structure. See references/keepachangelog-format.md for the full format specification.
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [x.y.z] - YYYY-MM-DD
### Added
- Entry
### Fixed
- Entry
[Unreleased]: https://github.com/owner/repo/compare/vx.y.z...HEAD
[x.y.z]: https://github.com/owner/repo/compare/vPREV...vx.y.z
Rules:
YYYY-MM-DD).[Unreleased] section is always present, even if empty.Write CHANGELOG.md to the project root. After writing, briefly confirm what was generated (number of versions, notable entries).
When CHANGELOG.md already exists:
[Unreleased] section with commits after the latest tag.references/keepachangelog-format.md -- Full format specification, diff link patterns, and category orderingWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 skills in this plugin
npx claudepluginhub fradser/dotclaude --plugin utilsOther plugins' skills for the same job