/sf-experimental:changelog-writerfrom sf-experimental
Turns git log output into a user-facing Keep a Changelog release section (Added/Changed/Fixed…, breaking changes first). Use when the user says "write the changelog for these commits", "draft release notes from this git log", or "update CHANGELOG.md for version X".
Ships in sf-experimental. 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.
None: SKILL.md is the whole skill.
Turn a list of commits into one release section in Keep a Changelog format. Write it for the project's users: what they can now do, what behaves differently and what was fixed. Do not describe how the code changed inside.
Read, and only to look at an existing CHANGELOG.md or a commit list the user points to. Never use Write, Edit or Bash. Never run git log yourself. Return the section in your reply, and the user pastes it in.Collect the inputs. You need three things: the commit list (git log output), the version (for example 1.4.0) and the release date (YYYY-MM-DD). If the version or the date is missing, ask one short question for both and stop until the user answers. If the user mentions CHANGELOG.md and the file exists, Read it to see the previous version and the existing style.
Verify: you have a commit list, a version and a date in YYYY-MM-DD form, and none of them is a guess.
Parse each commit. For each line or block, note:
feat(api): ...)! before the colon (feat!:), or a BREAKING CHANGE: footer(#42) in the subject, or Merge pull request #42
If a commit has no prefix, work out the type from its verb: "Add …" means feat and "Fix …" means fix.
Verify: every commit has a hash or a PR number, and a type.Drop the noise. Leave out chore, ci, test, docs-only (docs) and merge commits (Merge branch …, Merge pull request …). If a merge commit holds the only PR number for a change you keep, use that number. Leave out style and build commits too, unless users would notice the change.
Verify: no kept entry comes from a chore, ci, test, docs or merge commit.
Map each commit to a section.
| Commit | Section |
|---|---|
feat | Added |
fix | Fixed |
perf / refactor that changes behaviour users can see | Changed (drop it if nothing changes for users) |
revert of a released feature | Removed |
revert that undoes a bad change | Fixed |
any type marked breaking (! or BREAKING CHANGE) | Changed, listed first |
| a commit that marks something as deprecated | Deprecated |
| a commit that removes a feature, flag or API | Removed |
| a vulnerability or security fix (CVE, XSS, injection, auth bypass) | Security |
Verify: each kept commit is in exactly one section.
Rewrite each entry for users. Write one sentence in plain words about the effect, not the code. End it with the reference in parentheses: the PR number if there is one, otherwise the short hash.
feat(export): add csv writer (#42) → You can now export reports as CSV files. (#42)fix: null deref in parseDate when tz missing → Dates without a time zone no longer crash the importer. (abc1234)Start breaking entries with **Breaking:** and say what users must do, for example **Breaking:** The \--out` flag is now `--output`; update your scripts. (#57). Verify: each entry is one sentence, mentions no internal function or file names unless users call them directly, and ends with (#n)or(hash)`.
Assemble the section. Use this layout. Include only sections that have entries, in this fixed order:
## [1.4.0] - 2026-11-20
### Added
- ...
### Changed
- **Breaking:** ...
- ...
### Deprecated
### Removed
### Fixed
### Security
Put breaking entries at the top of ### Changed.
Verify: the heading matches ## [<version>] - <YYYY-MM-DD> exactly, there are no empty subsections, and the order is Added, Changed, Deprecated, Removed, Fixed, Security.
Hand it over. Reply with the section in one fenced markdown block. Under it, add one line listing which commits you left out and why (for example Left out: 3 chore, 1 ci, 2 merge.). If the user asked to update CHANGELOG.md, tell them to paste the section above the previous release (and below ## [Unreleased], if the file has one). Do not edit the file.
Verify: the reply has exactly one release section, and no file was created or changed.
| Symptom | Action |
|---|---|
| Version or date not given | Ask for both in one question. Do not use today's date or the next semver number on your own. |
Date given in another format (Nov 20, 2026) | Convert it to 2026-11-20. If it is ambiguous (03/04/2026), ask. |
User asks you to run git log or edit CHANGELOG.md | Explain that this skill only reads and drafts. Ask them to paste the log, or paste the section into the file themselves. |
| Every commit is chore/ci/test/docs/merge | Do not invent entries. Tell the user there are no user-facing changes, and ask whether they still want a section. |
Commit subject is too vague to explain to users (fix stuff) | Use the commit body if there is one. Otherwise write the most cautious accurate sentence and flag it under the block for the user to check. |
| Not sure whether a refactor/perf commit changes behaviour | Leave it out and mention it in the "Left out" line so the user can decide. |
CHANGELOG.md not found when asked to update it | Draft the section anyway and say the file was not found. Do not create it. |
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub yennanliu/skill-factory-1 --plugin sf-experimental3 skills in this plugin
/commit-message-writerWrites a Conventional Commits message for a diff: type(scope): subject header, a body that explains why, and a BREAKING CHANGE footer when needed. Use when the user asks "write a commit message for this diff", "what should the commit message be?" or "commit this change with a good message"./cron-explainerExplains a standard 5-field cron expression field by field, summarises it in plain English, and works out its next 3 run times from a given "now". Use when asked "what does this cron expression mean?", "when will '<cron>' run next?", or "explain this crontab line".