New: Earn 20% as an AgentAlley affiliate. Share your link and earn on every sale you refer. Join now New: Earn 20% as an affiliate. Join now

Produce consistent, auditable release notes

Changelog generator

by alirezarezvani · MIT license · ★ 26,349 on GitHub · updated Aug 30

Changelog generator cover

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)
Claude Codenpx skills add alirezarezvani/claude-skills --skill changelog-generator -g -a claude-code
Claude Code (manual)mkdir -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-generator
Windows (PowerShell)New-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" -Force
Claude.ai / desktopDownload the ZIP and upload it under Settings → Capabilities → Skills.
Codex, Cursor, other agentsPoint them at SKILL.md. The other files are plain text.

Connects with Agent Alley MCP · agentalley.io/mcp

Files included

  • SKILL.md7.3 KB
  • README.md1.4 KB
  • assets/1 file · 2.0 KB
  • references/4 files · 17.6 KB
  • scripts/3 files · 34.4 KB
Read the files here
alirezarezvani/19392f710 files
Shared references1SKILL.md reads these from elsewhere in the repo. Not in the ZIP.Get them on GitHub ↗
SKILL.md
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, chore
  • security, 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
  • python3 scripts/commit_linter.py --help
    • Validates commit format
    • Returns non-zero in --strict mode on violations

Common Pitfalls

  1. Mixing merge commit messages with release commit parsing
  2. Using vague commit summaries that cannot become release notes
  3. Failing to include migration guidance for breaking changes
  4. Treating docs/chore changes as user-facing features
  5. Overwriting historical changelog sections instead of prepending

Best Practices

  1. Keep commits small and intent-driven.
  2. Scope commit messages (feat(api): ...) in multi-package repos.
  3. Enforce linter checks in PR pipelines.
  4. Review generated markdown before publishing.
  5. Tag releases only after changelog generation succeeds.
  6. 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

Release Governance

Use this release flow for predictability:

  1. Lint commit history for target release range.
  2. Generate changelog draft from commits.
  3. Manually adjust wording for customer clarity.
  4. Validate semver bump recommendation.
  5. 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 Security section.
  • Sections with no entries are omitted.
  • Duplicate bullets across sections are removed.

CI Policy

  • Run commit_linter.py --strict on all PRs.
  • Block merge on invalid conventional commits.
  • Auto-generate draft release notes on tag push.
  • Require human approval before writing into CHANGELOG.md on 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---
2name: "changelog-generator"
3description: "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 
14Use 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```bash
38python3 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```bash
48git log v1.3.0..v1.4.0 --pretty=format:'%s' | \
49 python3 scripts/generate_changelog.py --next-version v1.4.0 --format markdown
50 
51python3 scripts/generate_changelog.py --input commits.txt --next-version v1.4.0 --format json
52```
53 
54### 3. Update `CHANGELOG.md`
55 
56```bash
57python3 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 
66When the user has not decided the next version, derive it instead of guessing:
67 
68```bash
69git log v1.3.0..HEAD --oneline | \
70 python3 scripts/version_bumper.py --current-version 1.3.0 --output-format json
71```
72 
73Output 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```bash
78python3 scripts/commit_linter.py --from-ref origin/main --to-ref HEAD --strict --format text
79```
80 
81Or file/stdin:
82 
83```bash
84python3 scripts/commit_linter.py --input commits.txt --strict
85cat commits.txt | python3 scripts/commit_linter.py --format json
86```
87 
88## Conventional Commit Rules
89 
90Supported types:
91 
92- `feat`, `fix`, `perf`, `refactor`, `docs`, `test`, `build`, `ci`, `chore`
93- `security`, `deprecated`, `remove`
94 
95Breaking changes:
96 
97- `type(scope)!: summary`
98- Footer/body includes `BREAKING CHANGE:`
99 
100SemVer 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 
1181. Mixing merge commit messages with release commit parsing
1192. Using vague commit summaries that cannot become release notes
1203. Failing to include migration guidance for breaking changes
1214. Treating docs/chore changes as user-facing features
1225. Overwriting historical changelog sections instead of prepending
123 
124## Best Practices
125 
1261. Keep commits small and intent-driven.
1272. Scope commit messages (`feat(api): ...`) in multi-package repos.
1283. Enforce linter checks in PR pipelines.
1294. Review generated markdown before publishing.
1305. Tag releases only after changelog generation succeeds.
1316. Keep an `[Unreleased]` section for manual curation when needed.
132 
133## Hotfix Severity & SLAs
134 
135When a release goes wrong, classify before acting (full procedures in [references/hotfix-procedures.md](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 
143Hotfix 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 
147Pre-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 
157Prefer feature-flag disable over code rollback; database rollbacks only for non-destructive migrations (forward-only migrations preferred). See [references/hotfix-procedures.md](references/hotfix-procedures.md).
158 
159## References
160 
161- [references/ci-integration.md](references/ci-integration.md)
162- [references/changelog-formatting-guide.md](references/changelog-formatting-guide.md)
163- [references/monorepo-strategy.md](references/monorepo-strategy.md)
164- [references/hotfix-procedures.md](references/hotfix-procedures.md)
165- [README.md](README.md)
166 
167## Release Governance
168 
169Use this release flow for predictability:
170 
1711. Lint commit history for target release range.
1722. Generate changelog draft from commits.
1733. Manually adjust wording for customer clarity.
1744. Validate semver bump recommendation.
1755. 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 
View all files on GitHub →

Details

Updated
Aug 30, 2026
License
MIT
Stars on the repo
★ 26,349
Checked
Source
alirezarezvani/claude-skills ↗
Creator
alirezarezvani · 363 listings
View creator

Similar skills

See all →
SkillGenerate CHANGELOG.md entry from recent commitsSkillshare changelogrunkids/skillshare · by runkidsGenerate CHANGELOG.md entry from recent commits in conventional format. Also syncs the website changelog page. Use this skill whenever the user asks to: generate a changelog, document what changed between tags, or create a new CHANGELOG entry. If you see requests like "write the changelog for v0.17", what changed since last release", this is the skill to use. Do NOT manually edit CHANGELOG.md without this skill — it ensures proper formatting, user-perspective writing, and website changelog sync. For full release workflows (Release PR review, tests, draft assets, publication, announcements), use /release instead.★ 2.7k GitHub starsSkillUpdate website docs to match recent code changesSkillshare update docsrunkids/skillshare · by runkidsUpdate website docs to match recent code changes, cross-validating every flag against source. Use this skill whenever the user asks to: update documentation, sync docs with code, document a new flag or command, fix stale docs, or update the README. This skill covers all website/docs/ categories (commands, reference, understand, how-to, troubleshooting, getting-started) plus the built-in skill description and README. If you just implemented a feature and need to update docs, this is the skill to use. Never manually edit website docs without cross-validating flags against Go source first.★ 2.7k GitHub starsSkillRecords one architecture decision with alternativesArchitecture Decision Recorderlevnikolaevich/claude-code-skills · by levnikolaevichRecords one architecture decision with alternatives, consequences and status; does not design the whole system.★ 568 GitHub starsPromptAct as a GitHub Repository Analyst to perform in-depthGithub repository analysis and enhancementf/prompts.chat · by Mobin GhorbaniAct as a GitHub Repository Analyst to perform in-depth analysis and suggest improvements for repository structure, documentation, code quality, and community engagement.New listingPromptAct as a GitHub Repository Analystf/prompts.chat · by Yury SamAct as a GitHub Repository Analyst. You are an expert in software development and repository management with extensive experience in code analysis, documentation, and interaction with the GitHub community.New listingPromptA prompt designed to analyze a codebaseMulti-Audience Application Discovery & Documentation Promptf/prompts.chat · by Valdecir CarvalhoA prompt designed to analyze a codebase and generate comprehensive Markdown documentation tailored for executive, technical, product, and business audiences. It guides an AI to extract high-level system purpose, architecture, key components, workflows, product features, business domains, and limitations, producing an onboarding and discovery document suitable for both technical and non-technical stakeholders.New listing

More from alirezarezvani

SkillResume a paused experiment/ar:ar-resume — Resume Experimentalirezarezvani/claude-skills · by alirezarezvaniResume a paused experiment. Checkout the experiment branch, read results history, continue iterating. Use when the user runs /ar:ar-resume or asks to pick up a previously started autoresearch experiment.★ 26.3k GitHub starsSkillShow experiment dashboard with results, active loops/ar:ar-status — Experiment Dashboardalirezarezvani/claude-skills · by alirezarezvaniShow experiment dashboard with results, active loops, and progress. Use when the user runs /ar:ar-status or asks how an autoresearch experiment is going.★ 26.3k GitHub starsSkillStart an autonomous experiment loop with user-selected/ar:loop — Autonomous Experiment Loopalirezarezvani/claude-skills · by alirezarezvaniStart an autonomous experiment loop with user-selected interval (10min, 1h, daily, weekly, monthly). Uses CronCreate for scheduling. Use when the user runs /ar:loop or asks to run an autoresearch experiment continuously on a schedule.★ 26.3k GitHub starsSkillRun a single experiment iteration/ar:run — Single Experiment Iterationalirezarezvani/claude-skills · by alirezarezvaniRun a single experiment iteration. Edit the target file, evaluate, keep or discard. Use when the user runs /ar:run or asks for one manual autoresearch iteration.★ 26.3k GitHub starsSkillSet up a new autoresearch experiment interactively/ar:setup — Create New Experimentalirezarezvani/claude-skills · by alirezarezvaniSet up a new autoresearch experiment interactively. Collects domain, target file, eval command, metric, direction, and evaluator. Use when the user runs /ar:setup or asks to start optimizing a file with the autoresearch loop.★ 26.3k GitHub starsSkill/cs:boardroom <brief/cs:boardroom — Multi-Role Boardroom Deliberationalirezarezvani/claude-skills · by alirezarezvani/cs:boardroom <brief> — 6-phase multi-role deliberation across the C-suite with Phase 2 isolation, critic pre-screen, and synthesis. Outputs a board memo. Use when a decision spans multiple executive domains — e.g. a pricing change touching finance, positioning, and product, or a raise-vs-cut runway call.★ 26.3k GitHub stars