Write changelog entries for open source documentation sites using the Keep a Changelog format. Use when asked to write or update a changelog, add a changelog entry, document recent changes, or after a release or set of changes that should be recorded. Reviews git commits since the last changelog entry and produces a categorized, human-readable entry.
Write a new changelog entry by reviewing commits since the last documented entry, categorizing changes, and appending a well-written entry in Keep a Changelog format.
Search for the changelog in common locations:
CHANGELOG.md
changelog.md
docs/changelog.md
docs/CHANGELOG.md
src/pages/changelog.md
src/content/changelog.mdx
content/changelog.md
Use glob with patterns like **/changelog.{md,mdx} and **/CHANGELOG.{md,mdx} if not found in standard locations. If multiple candidates exist, ask the user which one to use.
Read the changelog file and extract the most recent version header. The header format is:
## [X.Y.Z] - YYYY-MM-DD
Extract:
1.2.0) — for determining the next version2025-01-15) — for scoping the git logIf the changelog is empty or has only an [Unreleased] header, use the repo's earliest tag or first commit as the boundary.
Run:
git log --oneline --no-merges --after="YYYY-MM-DD" HEAD
Where YYYY-MM-DD is the date from the last changelog entry. Also check tags:
git tag -l --sort=-creatordate | head -5
If there's a tag newer than the last changelog entry, use that as the new version number. Otherwise, ask the user what version this entry should be.
Review each commit and assign it to one Keep a Changelog category:
| Category | What belongs here | |---|---| | Added | New features, new pages, new API endpoints | | Changed | Updates to existing functionality, behavior changes, dependency updates | | Deprecated | Features marked for future removal | | Removed | Deleted features, removed pages, dropped support | | Fixed | Bug fixes, typo corrections, broken link repairs | | Security | Vulnerability patches, security improvements |
Categorization rules:
Insert the new entry directly below the # Changelog header (or below ## [Unreleased] if present). Use this exact structure — omit any category section that has no items:
## [X.Y.Z] - YYYY-MM-DD
### Added
- Brief, human-readable description of what was added
### Changed
- Brief description of what changed
### Fixed
- Brief description of what was fixed
Writing rules:
Fixed broken link on [Getting Started](/docs/getting-started) pageAfter writing the entry:
[1.3.0]: https://github.com/org/repo/compare/v1.2.0...v1.3.0)Present the new entry to the user for review before considering the task complete.
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer