Produce consistent, auditable release notes
Changelog generator

Produce consistent, auditable release notes from Conventional Commits. Separates commit parsing, semantic-bump logic, and changelog rendering for automated releases with editorial control.
--- name: "changelog-generator" description: "Produce consistent, auditable release notes from Conventional Commits. Separates commit parsing, semantic-bump logic, and changelog rendering for automated releases with editorial control. Use when cutting a release, generating CHANGELOG.md from git history, computing the next semantic version from commits, automating release notes in CI, or planning a hotfix/rollback. Examples: 'generate the changelog for v1.4.0', 'what version bump do these commits require', 'we need an emergency hotfix process'." --- # Changelog Generator **Tier:** POWERFUL **Category:** Engineering **Domain:** Release Management / Documentation ## Overview Use this skill to produce consistent, auditable release notes from Conventional Commits. It separates commit parsing, semantic bump logic, and changelog rendering so teams can automate releases without losing editorial control. ## Core Capabilities - Parse commit messages using Conventional Commit rules
Overview
Tier: POWERFUL Category: Engineering Domain: Release Management / Documentation
What you get
- Each bullet is user-meaningful, not implementation noise.
- Breaking changes include migration action.
- Security fixes are isolated in Security section.
- Sections with no entries are omitted.
- Duplicate bullets across sections are removed.
Manual install (npx, ZIP)
npx skills add alirezarezvani/claude-skills --skill changelog-generator -g -a claude-codemkdir -p ~/.claude/skills && curl -sL https://codeload.github.com/alirezarezvani/claude-skills/tar.gz/19392f7a0826 \
| tar -xz -C ~/.claude/skills --strip-components=3 claude-skills-19392f7a0826/engineering/skills/changelog-generatorNew-Item -ItemType Directory -Force "$HOME\.claude\skills" | Out-Null; Invoke-WebRequest "https://m.agentalley.io/zip/e492c3bfa3fb2189a793/changelog-generator.zip" -OutFile "$env:TEMP\changelog-generator.zip"; Expand-Archive "$env:TEMP\changelog-generator.zip" -DestinationPath "$HOME\.claude\skills" -ForceConnects with Agent Alley MCP · agentalley.io/mcp
Files included
SKILL.md7.3 KBREADME.md1.4 KBassets/1 file · 2.0 KBreferences/4 files · 17.6 KBscripts/3 files · 34.4 KB
Read the files here
alirezarezvani/
- changelog-formatting-guide.md316 B
- ci-integration.md509 B
- hotfix-procedures.md15.4 KB
- monorepo-strategy.md1.3 KB
Shared references1SKILL.md reads these from elsewhere in the repo. Not in the ZIP.
Get them on GitHub ↗Show the full text204 lines
Changelog Generator
Tier: POWERFUL
Category: Engineering
Domain: Release Management / Documentation
Overview
Use this skill to produce consistent, auditable release notes from Conventional Commits. It separates commit parsing, semantic bump logic, and changelog rendering so teams can automate releases without losing editorial control.
Core Capabilities
- Parse commit messages using Conventional Commit rules
- Detect semantic bump (
major,minor,patch) from commit stream - Render Keep a Changelog sections (
Added,Changed,Fixed, etc.) - Generate release entries from git ranges or provided commit input
- Enforce commit format with a dedicated linter script
- Support CI integration via machine-readable JSON output
When to Use
- Before publishing a release tag
- During CI to generate release notes automatically
- During PR checks to block invalid commit message formats
- In monorepos where package changelogs require scoped filtering
- When converting raw git history into user-facing notes
Key Workflows
1. Generate Changelog Entry From Git
python3 scripts/generate_changelog.py \
--from-tag v1.3.0 \
--to-tag v1.4.0 \
--next-version v1.4.0 \
--format markdown
2. Generate Entry From stdin/File Input
git log v1.3.0..v1.4.0 --pretty=format:'%s' | \
python3 scripts/generate_changelog.py --next-version v1.4.0 --format markdown
python3 scripts/generate_changelog.py --input commits.txt --next-version v1.4.0 --format json
3. Update CHANGELOG.md
python3 scripts/generate_changelog.py \
--from-tag v1.3.0 \
--to-tag HEAD \
--next-version v1.4.0 \
--write CHANGELOG.md
4. Compute the Next Version From Commits
When the user has not decided the next version, derive it instead of guessing:
git log v1.3.0..HEAD --oneline | \
python3 scripts/version_bumper.py --current-version 1.3.0 --output-format json
Output JSON contains recommended_version, bump_type (major/minor/patch/none), and with --include-commands the exact git tag commands. Feed recommended_version into generate_changelog.py --next-version. Pre-releases: add --prerelease alpha|beta|rc. Input must be real git log --oneline output (hex hashes); a sample lives at assets/sample_git_log.txt.
5. Lint Commits Before Merge
python3 scripts/commit_linter.py --from-ref origin/main --to-ref HEAD --strict --format text
Or file/stdin:
python3 scripts/commit_linter.py --input commits.txt --strict
cat commits.txt | python3 scripts/commit_linter.py --format json
Conventional Commit Rules
Supported types:
feat,fix,perf,refactor,docs,test,build,ci,choresecurity,deprecated,remove
Breaking changes:
type(scope)!: summary- Footer/body includes
BREAKING CHANGE:
SemVer mapping:
- breaking ->
major - non-breaking
feat->minor - all others ->
patch
Script Interfaces
python3 scripts/generate_changelog.py --help- Reads commits from git or stdin/
--input - Renders markdown or JSON
- Optional in-place changelog prepend
- Reads commits from git or stdin/
python3 scripts/commit_linter.py --help- Validates commit format
- Returns non-zero in
--strictmode on violations
Common Pitfalls
- Mixing merge commit messages with release commit parsing
- Using vague commit summaries that cannot become release notes
- Failing to include migration guidance for breaking changes
- Treating docs/chore changes as user-facing features
- Overwriting historical changelog sections instead of prepending
Best Practices
- Keep commits small and intent-driven.
- Scope commit messages (
feat(api): ...) in multi-package repos. - Enforce linter checks in PR pipelines.
- Review generated markdown before publishing.
- Tag releases only after changelog generation succeeds.
- Keep an
[Unreleased]section for manual curation when needed.
Hotfix Severity & SLAs
When a release goes wrong, classify before acting (full procedures in references/hotfix-procedures.md):
| Severity | Definition | SLA | Approval |
|---|---|---|---|
| P0 — Critical | Outage, data loss, exploited vulnerability | Fix deployed ≤ 2h; emergency deploy bypasses normal gates | Engineering Lead + On-call Manager |
| P1 — High | Major feature broken, significant user impact | Fix deployed ≤ 24h; expedited review | Engineering Lead + Product Manager |
| P2 — Medium | Minor issues, limited impact | Next release cycle | Standard PR review |
Hotfix branch comes from the last stable tag, contains the minimal fix only, and gets its own patch-bump changelog entry via the workflow above.
Rollback Triggers
Pre-commit to these thresholds before tagging; roll back when any fires:
| Trigger | Threshold |
|---|---|
| Error rate spike | > 2x baseline within 30 min |
| Performance degradation | > 50% latency increase |
| Feature failure | Core functionality broken |
| Security incident | Vulnerability being exploited |
| Data corruption | Database integrity compromised |
Prefer feature-flag disable over code rollback; database rollbacks only for non-destructive migrations (forward-only migrations preferred). See references/hotfix-procedures.md.
References
- references/ci-integration.md
- references/changelog-formatting-guide.md
- references/monorepo-strategy.md
- references/hotfix-procedures.md
- README.md
Release Governance
Use this release flow for predictability:
- Lint commit history for target release range.
- Generate changelog draft from commits.
- Manually adjust wording for customer clarity.
- Validate semver bump recommendation.
- Tag release only after changelog is approved.
Output Quality Checks
- Each bullet is user-meaningful, not implementation noise.
- Breaking changes include migration action.
- Security fixes are isolated in
Securitysection. - Sections with no entries are omitted.
- Duplicate bullets across sections are removed.
CI Policy
- Run
commit_linter.py --stricton all PRs. - Block merge on invalid conventional commits.
- Auto-generate draft release notes on tag push.
- Require human approval before writing into
CHANGELOG.mdon main branch.
Monorepo Guidance
- Prefer commit scopes aligned to package names.
- Filter commit stream by scope for package-specific releases.
- Keep infra-wide changes in root changelog.
- Store package changelogs near package roots for ownership clarity.
Failure Handling
- If no valid conventional commits found: fail early, do not generate misleading empty notes.
- If git range invalid: surface explicit range in error output.
- If write target missing: create safe changelog header scaffolding.
| 1 | |
| 2 | name "changelog-generator" |
| 3 | description "Produce consistent, auditable release notes from Conventional Commits. Separates commit parsing, semantic-bump logic, and changelog rendering for automated releases with editorial control. Use when cutting a release, generating CHANGELOG.md from git history, computing the next semantic version from commits, automating release notes in CI, or planning a hotfix/rollback. Examples: 'generate the changelog for v1.4.0', 'what version bump do these commits require', 'we need an emergency hotfix process'." |
| 4 | |
| 5 | |
| 6 | # Changelog Generator |
| 7 | |
| 8 | **Tier:** POWERFUL |
| 9 | **Category:** Engineering |
| 10 | **Domain:** Release Management / Documentation |
| 11 | |
| 12 | ## Overview |
| 13 | |
| 14 | Use this skill to produce consistent, auditable release notes from Conventional Commits. It separates commit parsing, semantic bump logic, and changelog rendering so teams can automate releases without losing editorial control. |
| 15 | |
| 16 | ## Core Capabilities |
| 17 | |
| 18 | Parse commit messages using Conventional Commit rules |
| 19 | Detect semantic bump (`major`, `minor`, `patch`) from commit stream |
| 20 | Render Keep a Changelog sections (`Added`, `Changed`, `Fixed`, etc.) |
| 21 | Generate release entries from git ranges or provided commit input |
| 22 | Enforce commit format with a dedicated linter script |
| 23 | Support CI integration via machine-readable JSON output |
| 24 | |
| 25 | ## When to Use |
| 26 | |
| 27 | Before publishing a release tag |
| 28 | During CI to generate release notes automatically |
| 29 | During PR checks to block invalid commit message formats |
| 30 | In monorepos where package changelogs require scoped filtering |
| 31 | When converting raw git history into user-facing notes |
| 32 | |
| 33 | ## Key Workflows |
| 34 | |
| 35 | ### 1. Generate Changelog Entry From Git |
| 36 | |
| 37 | |
| 38 | python3 scripts/generate_changelog.py \ |
| 39 | --from-tag v1.3.0 \ |
| 40 | --to-tag v1.4.0 \ |
| 41 | --next-version v1.4.0 \ |
| 42 | --format markdown |
| 43 | |
| 44 | |
| 45 | ### 2. Generate Entry From stdin/File Input |
| 46 | |
| 47 | |
| 48 | git log v1.3.0..v1.4.0 --pretty=format:'%s' | \ |
| 49 | python3 scripts/generate_changelog.py --next-version v1.4.0 --format markdown |
| 50 | |
| 51 | python3 scripts/generate_changelog.py --input commits.txt --next-version v1.4.0 --format json |
| 52 | |
| 53 | |
| 54 | ### 3. Update `CHANGELOG.md` |
| 55 | |
| 56 | |
| 57 | python3 scripts/generate_changelog.py \ |
| 58 | --from-tag v1.3.0 \ |
| 59 | --to-tag HEAD \ |
| 60 | --next-version v1.4.0 \ |
| 61 | --write CHANGELOG.md |
| 62 | |
| 63 | |
| 64 | ### 4. Compute the Next Version From Commits |
| 65 | |
| 66 | When the user has not decided the next version, derive it instead of guessing: |
| 67 | |
| 68 | |
| 69 | git log v1.3.0..HEAD --oneline | \ |
| 70 | python3 scripts/version_bumper.py --current-version 1.3.0 --output-format json |
| 71 | |
| 72 | |
| 73 | Output JSON contains `recommended_version`, `bump_type` (`major`/`minor`/`patch`/`none`), and with `--include-commands` the exact `git tag` commands. Feed `recommended_version` into `generate_changelog.py --next-version`. Pre-releases: add `--prerelease alpha|beta|rc`. Input must be real `git log --oneline` output (hex hashes); a sample lives at `assets/sample_git_log.txt`. |
| 74 | |
| 75 | ### 5. Lint Commits Before Merge |
| 76 | |
| 77 | |
| 78 | python3 scripts/commit_linter.py --from-ref origin/main --to-ref HEAD --strict --format text |
| 79 | |
| 80 | |
| 81 | Or file/stdin: |
| 82 | |
| 83 | |
| 84 | python3 scripts/commit_linter.py --input commits.txt --strict |
| 85 | cat commits.txt | python3 scripts/commit_linter.py --format json |
| 86 | |
| 87 | |
| 88 | ## Conventional Commit Rules |
| 89 | |
| 90 | Supported types: |
| 91 | |
| 92 | `feat`, `fix`, `perf`, `refactor`, `docs`, `test`, `build`, `ci`, `chore` |
| 93 | `security`, `deprecated`, `remove` |
| 94 | |
| 95 | Breaking changes: |
| 96 | |
| 97 | `type(scope)!: summary` |
| 98 | Footer/body includes `BREAKING CHANGE:` |
| 99 | |
| 100 | SemVer mapping: |
| 101 | |
| 102 | breaking -> `major` |
| 103 | non-breaking `feat` -> `minor` |
| 104 | all others -> `patch` |
| 105 | |
| 106 | ## Script Interfaces |
| 107 | |
| 108 | `python3 scripts/generate_changelog.py --help` |
| 109 | Reads commits from git or stdin/`--input` |
| 110 | Renders markdown or JSON |
| 111 | Optional in-place changelog prepend |
| 112 | `python3 scripts/commit_linter.py --help` |
| 113 | Validates commit format |
| 114 | Returns non-zero in `--strict` mode on violations |
| 115 | |
| 116 | ## Common Pitfalls |
| 117 | |
| 118 | Mixing merge commit messages with release commit parsing |
| 119 | Using vague commit summaries that cannot become release notes |
| 120 | Failing to include migration guidance for breaking changes |
| 121 | Treating docs/chore changes as user-facing features |
| 122 | Overwriting historical changelog sections instead of prepending |
| 123 | |
| 124 | ## Best Practices |
| 125 | |
| 126 | Keep commits small and intent-driven. |
| 127 | Scope commit messages (`feat(api): ...`) in multi-package repos. |
| 128 | Enforce linter checks in PR pipelines. |
| 129 | Review generated markdown before publishing. |
| 130 | Tag releases only after changelog generation succeeds. |
| 131 | Keep an `[Unreleased]` section for manual curation when needed. |
| 132 | |
| 133 | ## Hotfix Severity & SLAs |
| 134 | |
| 135 | When a release goes wrong, classify before acting (full procedures in [references/hotfix-procedures.md]): |
| 136 | |
| 137 | | Severity | Definition | SLA | Approval | |
| 138 | |---|---|---|---| |
| 139 | | P0 — Critical | Outage, data loss, exploited vulnerability | Fix deployed ≤ 2h; emergency deploy bypasses normal gates | Engineering Lead + On-call Manager | |
| 140 | | P1 — High | Major feature broken, significant user impact | Fix deployed ≤ 24h; expedited review | Engineering Lead + Product Manager | |
| 141 | | P2 — Medium | Minor issues, limited impact | Next release cycle | Standard PR review | |
| 142 | |
| 143 | Hotfix branch comes from the last stable tag, contains the minimal fix only, and gets its own patch-bump changelog entry via the workflow above. |
| 144 | |
| 145 | ## Rollback Triggers |
| 146 | |
| 147 | Pre-commit to these thresholds before tagging; roll back when any fires: |
| 148 | |
| 149 | | Trigger | Threshold | |
| 150 | |---|---| |
| 151 | | Error rate spike | > 2x baseline within 30 min | |
| 152 | | Performance degradation | > 50% latency increase | |
| 153 | | Feature failure | Core functionality broken | |
| 154 | | Security incident | Vulnerability being exploited | |
| 155 | | Data corruption | Database integrity compromised | |
| 156 | |
| 157 | Prefer feature-flag disable over code rollback; database rollbacks only for non-destructive migrations (forward-only migrations preferred). See [references/hotfix-procedures.md]. |
| 158 | |
| 159 | ## References |
| 160 | |
| 161 | [references/ci-integration.md] |
| 162 | [references/changelog-formatting-guide.md] |
| 163 | [references/monorepo-strategy.md] |
| 164 | [references/hotfix-procedures.md] |
| 165 | [README.md] |
| 166 | |
| 167 | ## Release Governance |
| 168 | |
| 169 | Use this release flow for predictability: |
| 170 | |
| 171 | Lint commit history for target release range. |
| 172 | Generate changelog draft from commits. |
| 173 | Manually adjust wording for customer clarity. |
| 174 | Validate semver bump recommendation. |
| 175 | Tag release only after changelog is approved. |
| 176 | |
| 177 | ## Output Quality Checks |
| 178 | |
| 179 | Each bullet is user-meaningful, not implementation noise. |
| 180 | Breaking changes include migration action. |
| 181 | Security fixes are isolated in `Security` section. |
| 182 | Sections with no entries are omitted. |
| 183 | Duplicate bullets across sections are removed. |
| 184 | |
| 185 | ## CI Policy |
| 186 | |
| 187 | Run `commit_linter.py --strict` on all PRs. |
| 188 | Block merge on invalid conventional commits. |
| 189 | Auto-generate draft release notes on tag push. |
| 190 | Require human approval before writing into `CHANGELOG.md` on main branch. |
| 191 | |
| 192 | ## Monorepo Guidance |
| 193 | |
| 194 | Prefer commit scopes aligned to package names. |
| 195 | Filter commit stream by scope for package-specific releases. |
| 196 | Keep infra-wide changes in root changelog. |
| 197 | Store package changelogs near package roots for ownership clarity. |
| 198 | |
| 199 | ## Failure Handling |
| 200 | |
| 201 | If no valid conventional commits found: fail early, do not generate misleading empty notes. |
| 202 | If git range invalid: surface explicit range in error output. |
| 203 | If write target missing: create safe changelog header scaffolding. |
| 204 |
Details
- Updated
- Aug 30, 2026
- License
- MIT
- Stars on the repo
- ★ 26,349
- Checked
- Source
- alirezarezvani/claude-skills ↗
- Creator
- alirezarezvani · 363 listings
Similar skills
See all →
SkillGenerate CHANGELOG.md entry from recent commitsSkillshare changelog
SkillUpdate website docs to match recent code changesSkillshare update docs
SkillRecords one architecture decision with alternativesArchitecture Decision Recorder
PromptAct as a GitHub Repository Analyst to perform in-depthGithub repository analysis and enhancement
PromptAct as a GitHub Repository Analyst
PromptA prompt designed to analyze a codebaseMulti-Audience Application Discovery & Documentation PromptMore from alirezarezvani
SkillResume a paused experiment/ar:ar-resume — Resume Experiment
SkillShow experiment dashboard with results, active loops/ar:ar-status — Experiment Dashboard
SkillStart an autonomous experiment loop with user-selected/ar:loop — Autonomous Experiment Loop
SkillRun a single experiment iteration/ar:run — Single Experiment Iteration
SkillSet up a new autoresearch experiment interactively/ar:setup — Create New Experiment
Skill/cs:boardroom <brief/cs:boardroom — Multi-Role Boardroom Deliberation