---
name: changelog
type: workflow
description: "Generates a structured changelog from git history following Keep a Changelog format and conventional commits. Use when creating a CHANGELOG.md, preparing release notes, or when the user mentions changelog or release history."
argument-hint: "[version|sprint-number]"
user-invocable: true
allowed-tools: Read, Glob, Grep, Bash
context: |
!git log --oneline -30 2>/dev/null
!git tag --list --sort=-v:refname 2>/dev/null | head -5
effort: 1
when_to_use: "When generating a changelog from git commits for a version or sprint release"
When this skill is invoked:
- Read the argument for the target version or sprint number. If a version
is given, use the corresponding git tag. If a sprint number is given, use
the sprint date range.
1b. Check git availability — Verify the repository is initialized:
- Run
git rev-parse --is-inside-work-tree to confirm git is available
- If not a git repo, inform the user and abort gracefully
Read the git log since the last tag or release:
git log --oneline [last-tag]..HEAD
If no tags exist, read the full log or a reasonable recent range (last 100
commits).
Read sprint reports from production/sprints/ for the relevant period
to understand planned work and context behind changes.
Read completed design documents from design/docs/ for any new features
that were implemented during this period.
Categorize every change into one of these categories:
- New Features: Entirely new business systems, modes, or content
- Improvements: Enhancements to existing features, UX improvements,
performance gains
- Bug Fixes: Corrections to broken behavior
- Balance Changes: Tuning of business logic values, difficulty, economy
- Known Issues: Issues the team is aware of but have not yet resolved
Generate the INTERNAL changelog (full technical detail):
# Internal Changelog: [Version]
Date: [Date]
Sprint(s): [Sprint numbers covered]
Commits: [Count] ([first-hash]..[last-hash])
## New Features
- [Feature Name] -- [Technical description, affected systems]
- Commits: [hash1], [hash2]
- Owner: [who implemented it]
- Design doc: [link if applicable]
## Improvements
- [Improvement] -- [What changed technically and why]
- Commits: [hashes]
- Owner: [who]
## Bug Fixes
- [BUG-ID] [Description of bug and root cause]
- Fix: [What was changed]
- Commits: [hashes]
- Owner: [who]
## Balance Changes
- [What was tuned] -- [Old value -> New value] -- [Design intent]
- Owner: [who]
## Technical Debt / Refactoring
- [What was cleaned up and why]
- Commits: [hashes]
## Known Issues
- [Issue description] -- [Severity] -- [ETA for fix if known]
## Metrics
- Total commits: [N]
- Files changed: [N]
- Lines added: [N]
- Lines removed: [N]
- Generate the USER-FACING changelog (friendly, non-technical):
# What is New in [Version]
## New Features
- **[Feature Name]**: [User-friendly description of what they can now do
and why it is exciting. Focus on the experience, not the implementation.]
## Improvements
- **[What improved]**: [How this makes the product better for the user.
Be specific but avoid jargon.]
## Bug Fixes
- Fixed an issue where [describe what the user experienced, not what was
wrong in the code]
- Fixed [user-visible symptom]
## Balance Changes
- [What changed in user-understandable terms and the design intent.
Example: "Healing potions now restore 50 HP (up from 30) -- we felt
users needed more recovery options in late-product encounters."]
## Known Issues
- We are aware of [issue description in user terms] and are working on a
fix. [Workaround if one exists.]
---
Thank you for playing! Your feedback helps us make the product better.
Report issues at [link].
- Output both changelogs to the user. The internal changelog is the
primary working document. The user-facing changelog is ready for
community posting after review.
Guidelines
- Never expose internal code references, file paths, or developer names in
the user-facing changelog
- Group related changes together rather than listing individual commits
- If a commit message is unclear, check the associated files and sprint data
for context
- Balance changes should always include the design reasoning, not just the
numbers
- Known issues should be honest -- users appreciate transparency
- If the git history is messy (merge commits, reverts, fixup commits), clean
up the narrative rather than listing every commit literally
Protocol
- Question: Reads version or sprint number from argument; verifies git repo availability before starting
- Options: Skip — both internal and user-facing versions always generated
- Decision: Skip
- Draft: Both changelogs shown in conversation before saving
- Approval: "May I write to
production/releases/[version]/changelog.md?"
Output
Deliver exactly:
- Internal changelog — developer-facing, grouped by category (Features, Fixes, Performance, etc.)
- User-facing changelog — user-friendly language, no internal references
- Both saved to
production/releases/[version]/changelog.md and changelog-user.md
- Excluded items count — internal-only changes omitted from user version
User-Facing Patch Notes Style
When the user asks for "patch notes" (as opposed to full changelog), generate
a condensed user-facing version using the Brief or Detailed style below.
Translate developer language to user language and omit internal jargon.
Brief Style
# Patch [Version] — [Title]
**New**
- [Feature 1]
**Changes**
- [Balance/mechanic change — before → after values]
**Fixes**
- [Bug fix in user terms]
**Known Issues**
- [Issue and workaround]
Detailed Style (default for /patch-notes)
# Patch [Version] — [Title]
*[Date]*
## Highlights
[1-2 sentence summary of the most exciting changes]
## New Content / Features
[2-3 sentences per major feature — focus on user experience]
## Changes & Balance
| Change | Before | After | Reason |
|--------|--------|-------|--------|
| [Item] | [old] | [new] | [brief rationale] |
## Bug Fixes
- Fixed [user-visible symptom description]
## Known Issues
- [Issue and workaround if available]
Invoke with /changelog [version] --style patch-notes or /changelog [version] --style brief.
Save patch notes to production/releases/[version]/patch-notes.md.
1---2name: changelog3description: ---4---5---6name: changelog7type: workflow8description: "Generates a structured changelog from git history following Keep a Changelog format and conventional commits. Use when creating a CHANGELOG.md, preparing release notes, or when the user mentions changelog or release history."9argument-hint: "[version|sprint-number]"10user-invocable: true11allowed-tools: Read, Glob, Grep, Bash12context: |13 !git log --oneline -30 2>/dev/null14 !git tag --list --sort=-v:refname 2>/dev/null | head -515effort: 116when_to_use: "When generating a changelog from git commits for a version or sprint release"17---1819When this skill is invoked:20211. **Read the argument** for the target version or sprint number. If a version22 is given, use the corresponding git tag. If a sprint number is given, use23 the sprint date range.24251b. **Check git availability** — Verify the repository is initialized:26 - Run `git rev-parse --is-inside-work-tree` to confirm git is available27 - If not a git repo, inform the user and abort gracefully28292. **Read the git log** since the last tag or release:30 ```31 git log --oneline [last-tag]..HEAD32 ```33 If no tags exist, read the full log or a reasonable recent range (last 10034 commits).35363. **Read sprint reports** from `production/sprints/` for the relevant period37 to understand planned work and context behind changes.38394. **Read completed design documents** from `design/docs/` for any new features40 that were implemented during this period.41425. **Categorize every change** into one of these categories:43 - **New Features**: Entirely new business systems, modes, or content44 - **Improvements**: Enhancements to existing features, UX improvements,45 performance gains46 - **Bug Fixes**: Corrections to broken behavior47 - **Balance Changes**: Tuning of business logic values, difficulty, economy48 - **Known Issues**: Issues the team is aware of but have not yet resolved49506. **Generate the INTERNAL changelog** (full technical detail):5152```markdown53# Internal Changelog: [Version]54Date: [Date]55Sprint(s): [Sprint numbers covered]56Commits: [Count] ([first-hash]..[last-hash])5758## New Features59- [Feature Name] -- [Technical description, affected systems]60 - Commits: [hash1], [hash2]61 - Owner: [who implemented it]62 - Design doc: [link if applicable]6364## Improvements65- [Improvement] -- [What changed technically and why]66 - Commits: [hashes]67 - Owner: [who]6869## Bug Fixes70- [BUG-ID] [Description of bug and root cause]71 - Fix: [What was changed]72 - Commits: [hashes]73 - Owner: [who]7475## Balance Changes76- [What was tuned] -- [Old value -> New value] -- [Design intent]77 - Owner: [who]7879## Technical Debt / Refactoring80- [What was cleaned up and why]81 - Commits: [hashes]8283## Known Issues84- [Issue description] -- [Severity] -- [ETA for fix if known]8586## Metrics87- Total commits: [N]88- Files changed: [N]89- Lines added: [N]90- Lines removed: [N]91```92937. **Generate the USER-FACING changelog** (friendly, non-technical):9495```markdown96# What is New in [Version]9798## New Features99- **[Feature Name]**: [User-friendly description of what they can now do100 and why it is exciting. Focus on the experience, not the implementation.]101102## Improvements103- **[What improved]**: [How this makes the product better for the user.104 Be specific but avoid jargon.]105106## Bug Fixes107- Fixed an issue where [describe what the user experienced, not what was108 wrong in the code]109- Fixed [user-visible symptom]110111## Balance Changes112- [What changed in user-understandable terms and the design intent.113 Example: "Healing potions now restore 50 HP (up from 30) -- we felt114 users needed more recovery options in late-product encounters."]115116## Known Issues117- We are aware of [issue description in user terms] and are working on a118 fix. [Workaround if one exists.]119120---121Thank you for playing! Your feedback helps us make the product better.122Report issues at [link].123```1241258. **Output both changelogs** to the user. The internal changelog is the126 primary working document. The user-facing changelog is ready for127 community posting after review.128129### Guidelines130131- Never expose internal code references, file paths, or developer names in132 the user-facing changelog133- Group related changes together rather than listing individual commits134- If a commit message is unclear, check the associated files and sprint data135 for context136- Balance changes should always include the design reasoning, not just the137 numbers138- Known issues should be honest -- users appreciate transparency139- If the git history is messy (merge commits, reverts, fixup commits), clean140 up the narrative rather than listing every commit literally141142## Protocol143144- **Question**: Reads version or sprint number from argument; verifies git repo availability before starting145- **Options**: Skip — both internal and user-facing versions always generated146- **Decision**: Skip147- **Draft**: Both changelogs shown in conversation before saving148- **Approval**: "May I write to `production/releases/[version]/changelog.md`?"149150## Output151152Deliver exactly:153154- **Internal changelog** — developer-facing, grouped by category (Features, Fixes, Performance, etc.)155- **User-facing changelog** — user-friendly language, no internal references156- **Both saved** to `production/releases/[version]/changelog.md` and `changelog-user.md`157- **Excluded items count** — internal-only changes omitted from user version158159160## User-Facing Patch Notes Style161162When the user asks for "patch notes" (as opposed to full changelog), generate163a condensed user-facing version using the Brief or Detailed style below.164Translate developer language to user language and omit internal jargon.165166### Brief Style167168```markdown169# Patch [Version] — [Title]170171**New**172- [Feature 1]173174**Changes**175- [Balance/mechanic change — before → after values]176177**Fixes**178- [Bug fix in user terms]179180**Known Issues**181- [Issue and workaround]182```183184### Detailed Style (default for `/patch-notes`)185186```markdown187# Patch [Version] — [Title]188*[Date]*189190## Highlights191[1-2 sentence summary of the most exciting changes]192193## New Content / Features194[2-3 sentences per major feature — focus on user experience]195196## Changes & Balance197| Change | Before | After | Reason |198|--------|--------|-------|--------|199| [Item] | [old] | [new] | [brief rationale] |200201## Bug Fixes202- Fixed [user-visible symptom description]203204## Known Issues205- [Issue and workaround if available]206```207208Invoke with `/changelog [version] --style patch-notes` or `/changelog [version] --style brief`.209Save patch notes to `production/releases/[version]/patch-notes.md`.