changelog-composer
Original:🇺🇸 English
Translated
Generates structured changelogs and release notes from git history and PR descriptions. Classifies changes into breaking, features, fixes, performance, and docs. Filters internal-only changes, detects breaking changes, and produces human-readable entries linked to source PRs. Triggers on: "generate changelog", "write release notes", "compose changelog", "what changed since", "changes since last release", "prepare release", "release notes for", "changelog for", "summarize changes", "diff since tag". Use this skill when preparing a release and needing to summarize changes for users.
5installs
Sourcemathews-tom/armory
Added on
NPX Install
npx skill4agent add mathews-tom/armory changelog-composerTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Changelog Composer
Transforms raw git history and PR descriptions into polished, audience-appropriate
changelogs. Parses conventional commits, classifies changes by impact category, filters
internal-only modifications, and produces structured release notes with PR links —
following Keep a Changelog conventions.
Reference Files
| File | Contents | Load When |
|---|---|---|
| Commit type parsing, scope extraction, breaking change indicators | Repository uses conventional commits |
| Change classification logic, audience filtering, severity ordering | Always |
| User-facing vs internal change detection, exclusion patterns | Always |
| Keep a Changelog, GitHub Releases, announcement copy templates | Format selection needed |
Prerequisites
- git — access to the repository history
- gh (optional) — GitHub CLI for PR description extraction
- A tagging strategy (semver tags) for identifying release boundaries
Workflow
Phase 1: Gather Raw Changes
Collect all changes between the previous release and the current state:
- Identify boundaries — Find the last release tag: . If no tags exist, use the initial commit or a user-specified starting point.
git describe --tags --abbrev=0 - Extract commits —
git log <last-tag>..HEAD --oneline --no-merges - Extract PR titles — or parse merge commit messages.
gh pr list --state merged --base main --search "merged:>YYYY-MM-DD" - Parse conventional commits — If the repository follows conventional commits
(,
feat:,fix:, etc.), extract type, scope, and description. Seedocs:.references/conventional-commits.md - Collect breaking change indicators — Look for in commit bodies,
BREAKING CHANGE:after type (!), or explicit annotations in PR descriptions.feat!:
Phase 2: Classify Changes
Categorize each change by its impact:
| Category | Conventional Commit Type | Indicators |
|---|---|---|
| Breaking Changes | | API removal, signature change, behavior change |
| Features | | New capability, new endpoint, new command |
| Fixes | | Bug correction, error handling improvement |
| Performance | | Speed improvement, memory reduction |
| Documentation | | README, API docs, guides |
| Internal | | No user-facing impact |
For repositories without conventional commits, classify by reading the commit message
and changed files. Code changes to public API → Feature or Fix. Test-only changes → Internal.
Phase 3: Filter for Audience
-
Exclude internal changes by default:
- CI/CD configuration changes
- Test additions/modifications
- Dependency bumps (unless security-relevant)
- Code refactoring with no behavior change
- Build system changes
-
Include internal changes only when:
- They represent significant architecture shifts users should know about
- They affect development workflow (contributing guide changes)
- The changelog targets developers, not end-users
-
Highlight breaking changes prominently — always at the top, always with migration guidance.
Phase 4: Compose Entries
For each included change, write a human-readable description:
- Lead with the impact — "Users can now..." or "Fixed issue where..."
- Be specific — "Reduced memory usage by 40% for large file processing" not "Performance improvements"
- Include migration guidance for breaking changes — what the user must change
- Link to source — PR number, issue number, or commit hash
Phase 5: Output
Assemble the changelog in the requested format, ordered by severity:
- Breaking Changes (always first)
- Features
- Fixes
- Performance
- Documentation
Output Format
text
## [{version}] - {YYYY-MM-DD}
### Breaking Changes
- **`function_name` parameter renamed** — `old_param` is now `new_param`.
Migration: find/replace `old_param=` with `new_param=` in all call sites. ([#{pr}]({url}))
### Features
- **{Feature name}** — {What it enables and why it matters}. ([#{pr}]({url}))
### Fixes
- Fixed {symptom} when {condition}. ([#{pr}]({url}))
### Performance
- {Operation} is now {X}x faster / uses {X}% less memory. ([#{pr}]({url}))
### Documentation
- Added {guide/reference} for {topic}. ([#{pr}]({url}))Configuring Scope
| Mode | Input | Output | When to Use |
|---|---|---|---|
| Tag-to-HEAD | Full changelog entry | Preparing a versioned release |
| Date range or commit range | Summary of changes | Sprint review, status update |
| Single PR | One-line changelog entry | PR description template |
Calibration Rules
- User impact first. Every entry should answer "what does this mean for the user?" not "what did the developer do?"
- Breaking changes are non-negotiable. Never omit or bury breaking changes. They go first, with migration guidance.
- Specific over vague. "Fixed login timeout on slow connections" beats "Fixed bug." "Added CSV export for reports" beats "New feature."
- Link everything. Every entry links to its source PR or issue. Users who want details can follow the link.
- Exclude noise. Internal refactoring, dependency bumps, and CI changes do not belong in user-facing changelogs unless they have user-visible impact.
Error Handling
| Problem | Resolution |
|---|---|
| No tags exist in repository | Ask for a starting commit or date. Default to the initial commit if the repository is small. |
| Repository doesn't use conventional commits | Classify by reading commit messages and changed files. Note reduced classification accuracy. |
| PR descriptions are empty or low-quality | Fall back to commit messages. Flag entries that may need manual review. |
| Ambiguous change classification | Default to "Features" for additions, "Fixes" for modifications. Mark uncertain entries for review. |
| Too many changes for a single release | Group by component/module. Consider whether the release should be split. |
| Merge commits obscure individual changes | Use |
When NOT to Compose
Push back if:
- The user wants to auto-publish release notes without review — changelogs require human judgment
- The repository has no meaningful commit history (single "initial commit" with everything)
- The request is for marketing copy, not technical release notes — different skill
- The changes are not yet merged — changelog is for shipped changes, not in-progress work