changelog
Write a user-facing CHANGELOG entry under [Unreleased] in Keep-a-Changelog format, mapped from Conventional Commits.
- License 许可
- MIT
- 最近更新
- 2026-10-29
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- changelog
- description
- Write a user-facing CHANGELOG entry under [Unreleased] in Keep-a-Changelog format, mapped from Conventional Commits.
02 资源文件 1
- 参考文档routing.yaml346 B
03 SKILL.md 正文
changelog
Append a CHANGELOG entry that describes the user-facing impact of the current diff. Keep-a-Changelog format, mapped from Conventional Commits.
Mode: deterministic — same inputs, same output. Follow the steps and the output shape exactly; compute with the named script or tool, never by estimate; add nothing the shape does not ask for.
When to use
- The user says "update the changelog", "add a changelog entry".
- A workflow's release step needs the changelog update.
Inputs
- The current diff or recent commits.
- The repo's
CHANGELOG.md(created from the template if missing).
Procedure
-
Check how this repo keeps its changelog first. If it uses a generator —
.changeset/(Changesets),release-please-config.json,towncrier.toml/newsfragments/,cliff.toml(git-cliff), or semantic-release — write the entry in that tool's format (e.g. a changeset file) and do not hand-editCHANGELOG.md. -
Read
CHANGELOG.md. If absent and no generator is in use, create one fromCHANGELOG-entry.md. -
Inspect the current diff or recent commits to determine the change category. Map Conventional Commits → Keep-a-Changelog:
Commit type CHANGELOG section feat:Added perf:or a user-visible behavior changeChanged deprecation Deprecated removal Removed fix:Fixed security fix Security refactor:style:test:chore:ci:with no user impact(omit) A breaking change (
!after the type, or aBREAKING CHANGE:footer) is prefixed BREAKING: in its bullet and names the migration path. -
Write one bullet per logical change:
- Imperative tense ("Add rate limiting on /login").
- User-facing language — what the user can now do (or no longer do).
- Link to PR if known.
-
Append under
## [Unreleased]in the appropriate subsection. Create the subsection if it doesn't exist. -
Show the user the diff before saving.
Output
## [Unreleased]
### Fixed
- Reject negative refund amounts that previously created a credit (#481)
- Updated
CHANGELOG.mdwith the new entry under[Unreleased]. - Summary listing how many bullets were added per section.
Quality bar
- No internal refactors without user impact (those go in PR description, not CHANGELOG).
- Each bullet is one line unless the bullet itself is the user-facing explanation.
- No emojis.
- Section ordering matches Keep-a-Changelog: Added, Changed, Deprecated, Removed, Fixed, Security.
Anti-patterns to avoid
- Restating the commit message verbatim (CHANGELOG is for users, not developers).
- "Updated dependencies" entries without specifying the user impact.
- Mixing categories in one bullet.
- Adding entries under a versioned heading (use
[Unreleased]until a release is cut).
04 同仓库更多 Skills
runbook
Write or refresh an operational runbook for an alert/symptom; structured as TL;DR + Pre-checks + Steps + Verification + Rollback + Escalation.
rfc
Draft a lightweight design RFC to docs/rfcs/<slug>.md; Summary, Motivation, Detailed design, Drawbacks, Alternatives, Unresolved questions. A proposal to debate, not a recorded decision (adr).
editorial-pass
Review and tighten prose in a Markdown artifact for a target tone (terse, formal, friendly) without dropping information; preserve quotations and load-bearing constraints.
architecture-review-facilitation
Run an architecture review as a process — entry criteria, reviewer checklist, decision log, and follow-up actions — pairing the design artifact with a red-team pass.
architecture-doc
Write a C4-style architecture document; System Context + Containers (+ Components when interesting) with mermaid diagrams. Describes structure, not a decision (adr) or proposal (rfc).
adr
Write an Architecture Decision Record (Michael Nygard format) to docs/adrs/NNNN-<slug>.md; frontmatter validated by the ADR artifact schema. Records a made decision, not a proposal to debate (rfc).