/ceh-git-workflow:update-changelogfrom ceh-git-workflow
Load this skill when updating CHANGELOG.md or writing release notes, as a versioned section or an Unreleased entry in Keep a Changelog format. Trigger on "update the changelog", "write release notes", "log this under unreleased", "what changed since the last release".
Ships in ceh-git-workflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Inspect the project's git history, existing CHANGELOG.md, and codebase to produce or update a well-structured changelog following Semantic Versioning and Keep a Changelog format.
LAST_TAG=$(git describe --tags --abbrev=0 2>/dev/null) # current version (empty if none)
if [ -n "$LAST_TAG" ]; then
git log "$LAST_TAG"..HEAD --oneline --no-merges # changes since last release
else
git log --oneline --no-merges # no tags yet: full history
fi
git tag --sort=-v:refname | head -20 # version history
cat CHANGELOG.md 2>/dev/null || echo "No CHANGELOG.md found"
If no tag exists, read the version from whatever manifest the project uses (e.g. package.json,
pyproject.toml, Cargo.toml, *.csproj, build.gradle, VERSION).
Unreleased mode. When the caller says the change is not being released — no version bump, no
tag — skip the version entirely: categorize as below, then add the bullets under the existing
## [Unreleased] heading (create it directly under the intro if missing) and stop after step 5. Do
not invent a version number, do not add a dated header, and do not touch the comparison links.
Everything else in this skill applies unchanged.
Apply semver rules and map to Keep a Changelog sections in one pass:
| Commit signal | Bump | Section |
|---|---|---|
BREAKING CHANGE: footer or feat!: / fix!: | MAJOR | Removed / Changed |
feat: | MINOR | Added |
fix: | PATCH | Fixed |
perf: | PATCH | Changed |
chore:, docs:, refactor:, test: | PATCH | (use judgment) |
| Security patches | PATCH | Security |
Skip: merge commits, version bumps, CI config, trivial formatting.
If the user specifies the version explicitly, use it. If uncertain about the bump level, explain reasoning and ask before writing.
## [X.Y.Z] - YYYY-MM-DD
### Added
- Imperative description (#PR or commit ref)
### Changed / Fixed / Removed / Security
- ...
[#123](url)Existing file: Prepend new entry after [Unreleased] (create the section if missing). Update
comparison links at bottom.
No file: Create from scratch:
# 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
...
Add comparison links at the bottom (infer repo URL from git remote get-url origin):
[Unreleased]: https://github.com/owner/repo/compare/vX.Y.Z...HEAD
[X.Y.Z]: https://github.com/owner/repo/compare/vX.Y.Z-1...vX.Y.Z
Run the bundled validator. ${CLAUDE_SKILL_DIR} is substituted with the skill's directory, so
the path resolves wherever the plugin is installed:
python3 "${CLAUDE_SKILL_DIR}/scripts/check-semver.py" CHANGELOG.md
If the script cannot be located, scan CHANGELOG.md manually: verify all version headers match
MAJOR.MINOR.PATCH (with optional -prerelease or +build), dates are YYYY-MM-DD, versions are
newest-first, no duplicates.
CHANGELOG.md.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub cheneeheng/ceh-claude-code-library --plugin ceh-git-workflow8 skills in this plugin
/address-review-commentsLoad this skill when acting on review feedback left on your change: verify each comment, fix what holds, push back with evidence on what does not, reply to every thread. Trigger on "address these review comments", "fix the review feedback", "the reviewer said"./commitLoad this skill when making a git commit or writing its message: Conventional Commits type and scope, subject line, body, and footers for breaking changes and issue references./pull-requestLoad this skill when a branch is heading into main: open a PR, "merge it", "land this", or before you run `gh pr create` or `gh pr merge` yourself. Covers the PR body, pre-merge gate, merge, and cleanup. Not for shipping a version (use ceh-git-workflow:release)./releaseLoad this skill when shipping a version: bump, changelog, land it, tag, publish the GitHub release. Trigger on "cut a release", "bump the version", "tag a release", "hotfix", or a version field changing in a project manifest. Not for a branch with no version (use ceh-git-workflow:pull-request)./update-readmeLoad this skill when a change alters how someone installs, runs, or configures the project (a new feature, command, setup step, dependency, environment variable, or public API) and README.md must catch up. Trigger on "update the readme", "document this feature". Not for bug fixes or refactors./write-code-reviewLoad this skill when reviewing a diff before it lands, a pull request or your own unmerged branch: review order, blocking versus advisory comments, the verdict, and the saved review file. Trigger on "review this PR", "review my branch". Not for finding defects (use the built-in /code-review).