agentleFS
Mathews-TomMathews-Tom/armory/skills/changelog-composer/SKILL.md

changelog-composer

Skill340 starsChanged 7 months agoMITView on GitHub

Generates structured changelogs and release notes from git history and PRs, classifying breaking changes, features, fixes, performance, docs. Triggers on: "generate changelog", "write release notes", "what changed since", "prepare release", "release notes for", "diff since tag".

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If no tags exist, use the initial commit or a user-specified starting point.

    line 41
  2. Distinctive:

    Include internal changes: only when:

    line 76
  3. Distinctive:

    User impact first: Every entry should answer "what does this mean for the user?" not "what did the developer do?"

    line 136
  4. Distinctive:

    Breaking changes are non-negotiable: Never omit or bury breaking changes.

    line 138
  5. Distinctive:

    Link everything: Every entry links to its source PR or issue.

    line 142

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

FileContentsLoad When
references/conventional-commits.mdCommit type parsing, scope extraction, breaking change indicatorsRepository uses conventional commits
references/categorization-rules.mdChange classification logic, audience filtering, severity orderingAlways
references/audience-filter.mdUser-facing vs internal change detection, exclusion patternsAlways
references/changelog-formats.mdKeep a Changelog, GitHub Releases, announcement copy templatesFormat 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:

  1. Identify boundaries — Find the last release tag: git describe --tags --abbrev=0. If no tags exist, use the initial commit or a user-specified starting point.
  2. Extract commits — git log <last-tag>..HEAD --oneline --no-merges
  3. Extract PR titles — gh pr list --state merged --base main --search "merged:>YYYY-MM-DD" or parse merge commit messages.
  4. Parse conventional commits — If the repository follows conventional commits (feat:, fix:, docs:, etc.), extract type, scope, and description. See references/conventional-commits.md.
  5. Collect breaking change indicators — Look for BREAKING CHANGE: in commit bodies, ! after type (feat!:), or explicit annotations in PR descriptions.

Phase 2: Classify Changes

Categorize each change by its impact:

CategoryConventional Commit TypeIndicators
Breaking Changesfeat!:, BREAKING CHANGE:API removal, signature change, behavior change
Featuresfeat:New capability, new endpoint, new command
Fixesfix:Bug correction, error handling improvement
Performanceperf:Speed improvement, memory reduction
Documentationdocs:README, API docs, guides
Internalchore:, ci:, refactor:, test:, build: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

  1. 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
  2. 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
  3. 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:

  1. Lead with the impact — "Users can now..." or "Fixed issue where..."
  2. Be specific — "Reduced memory usage by 40% for large file processing" not "Performance improvements"
  3. Include migration guidance for breaking changes — what the user must change
  4. Link to source — PR number, issue number, or commit hash

Phase 5: Output

Assemble the changelog in the requested format, ordered by severity:

  1. Breaking Changes (always first)
  2. Features
  3. Fixes
  4. Performance
  5. Documentation

Output Format

## [{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

ModeInputOutputWhen to Use
releaseTag-to-HEADFull changelog entryPreparing a versioned release
sprintDate range or commit rangeSummary of changesSprint review, status update
prSingle PROne-line changelog entryPR description template

Calibration Rules

  1. User impact first. Every entry should answer "what does this mean for the user?" not "what did the developer do?"
  2. Breaking changes are non-negotiable. Never omit or bury breaking changes. They go first, with migration guidance.
  3. Specific over vague. "Fixed login timeout on slow connections" beats "Fixed bug." "Added CSV export for reports" beats "New feature."
  4. Link everything. Every entry links to its source PR or issue. Users who want details can follow the link.
  5. Exclude noise. Internal refactoring, dependency bumps, and CI changes do not belong in user-facing changelogs unless they have user-visible impact.

Error Handling

ProblemResolution
No tags exist in repositoryAsk for a starting commit or date. Default to the initial commit if the repository is small.
Repository doesn't use conventional commitsClassify by reading commit messages and changed files. Note reduced classification accuracy.
PR descriptions are empty or low-qualityFall back to commit messages. Flag entries that may need manual review.
Ambiguous change classificationDefault to "Features" for additions, "Fixes" for modifications. Mark uncertain entries for review.
Too many changes for a single releaseGroup by component/module. Consider whether the release should be split.
Merge commits obscure individual changesUse --no-merges to skip merge commits. Parse individual commits within merged PRs.

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

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.