
Changelog Generator
FreeAutomate your release notes with ease.
Free · Opens the source repo
What Changelog Generator does
The Changelog Generator skill is designed to streamline the process of creating release notes from your git commit history. It leverages the Conventional Commits specification to ensure that your commit messages are parsed correctly, allowing for a structured and consistent changelog. This tool is particularly useful for teams that want to maintain high-quality documentation of their releases while also automating the process to save time and reduce errors.
This skill features a separation of concerns, where commit parsing, semantic version bumping, and changelog rendering are handled independently. This means that you can generate a changelog based on specific git ranges or even from a provided list of commits. The output can be formatted in either markdown or JSON, making it versatile for different documentation needs. Additionally, it includes a commit linter script to enforce proper commit message formatting, ensuring that your team adheres to the defined standards.
The Changelog Generator is particularly beneficial during the release process. It can be used to automatically generate release notes during continuous integration (CI) workflows, making it easier to keep your documentation up-to-date with minimal manual intervention. It also supports monorepo structures, allowing for scoped filtering of changelogs for individual packages, which is essential for larger projects.
By using this skill, development teams can enhance their release management practices. It allows for better tracking of changes and ensures that all relevant information is captured and presented in a user-friendly manner. This not only improves internal communication but also provides end-users with clear insights into what has changed in each release.
When to use it
Use this skill when preparing for a release to automatically generate changelogs or during CI to enforce commit message standards.
When not to use it
Avoid this skill if your project does not use Conventional Commits or if you prefer a fully manual changelog process.
What you can build with it
Automating Release Notes
Generate changelogs automatically during CI to ensure that release notes are always up-to-date with the latest commits.
Linting Commits
Use the commit linter to enforce proper commit message formatting before merging pull requests.
Managing Monorepos
Efficiently handle changelogs for multiple packages within a monorepo by scoping the changelog generation.
How to install Changelog Generator
View source1. Install with the skills CLI
npx skills add alirezarezvani/claude-skills/changelog-generator --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by alirezarezvaniChangelog 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.
Frequently asked questions about Changelog Generator
Similar skills
Markdown to HTML Conversion
Efficiently convert Markdown documents to HTML.
Code Tour
Create structured walkthroughs for codebases.
Acquire Codebase Knowledge
Streamline onboarding with comprehensive codebase documentation.
Documentation & Modernization
Streamline codebase documentation and modernization planning.
Azure Resource Visualizer
Generate architecture diagrams for Azure resources.
CLAUDE.md Improver
Optimize your CLAUDE.md files for better project context.
