Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

changelog-generator

БесплатноЗапускает вложенные скриптыНе проверен

Generate changelogs and release notes from Conventional Commits with semver bump detection, Keep a Changelog formatting, and monorepo scopes. Use when…

borgheiот borghei★ 1 250 звёзд на GitHub

Об этом скилле

Changelog Generator

Generate consistent, auditable changelogs and release notes from Conventional Commits. Parses commit messages, detects semantic version bumps (major/minor/patch), renders Keep a Changelog sections, supports monorepo scoped changelogs, integrates with CI for automated release notes, and enforces commit format with linting. Separates commit parsing, bump logic, and rendering so teams can automate releases without losing editorial control.

Keywords

changelog, release notes, conventional commits, semantic versioning, semver, Keep a Changelog, commit linting, release automation, monorepo changelog

Core Capabilities

  • Commit parsing — parse Conventional Commit messages into structured data (type, scope, description, body, footer); detect breaking changes from ! and BREAKING CHANGE:.
  • Semantic version detection — map commit types to bump levels (breaking→major, feat→minor, others→patch); support pre-release versions.
  • Changelog rendering — Keep a Changelog, GitHub release notes, plain markdown, and JSON output grouped by type.
  • Quality enforcement — commit message linter for CI and pre-commit hooks, strict mode, scope validation, breaking-change documentation requirements.

When to Use

  • Before publishing a release tag
  • During CI to generate release notes automatically
  • In PR checks to enforce commit message standards
  • In monorepos where package changelogs need scoped filtering
  • When converting raw git history into user-facing notes
  • As a pre-release checklist step

Clarify First

Before generating the changelog, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.

  • Commit range: since which tag or commit (defines what history is included).
  • Output format: Keep a Changelog, GitHub release notes, plain markdown, or JSON (sets changelog_formatter.py --format).
  • Version & scope: the release version, and in a monorepo which package scope to filter (sets --version and scoped filtering).

Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.

Quick Start Workflow

The parser reads git log text with ---COMMIT_END--- after each commit and writes JSON; the formatter reads that JSON (never raw git log). Pipe one into the other:

# Real history: everything since the last tag
git log v1.3.2..HEAD --pretty=format:'%H%n%s%n%b%n---COMMIT_END---' --no-merges \
  | python scripts/commit_parser.py --json \
  | python scripts/changelog_formatter.py --auto-version 1.3.2 --repo-url https://github.com/org/repo

# Bundled sample (7 commits: one breaking feat, feat, fix, perf, docs, chore, one non-conventional)
python scripts/commit_parser.py -f assets/sample_commit_log.txt --json \
  | python scripts/changelog_formatter.py --version 2.0.0 --date 2026-11-01
python scripts/breaking_change_detector.py -f assets/sample_commit_log.txt --severity high

Tools Overview

Tool Purpose Key flags
commit_parser.py Conventional Commit parser: type, scope, breaking marker, footers; skips non-conventional subjects and counts them -f FILE or stdin, --json, --scope api,ui, --types feat,fix, --user-facing
changelog_formatter.py Keep a Changelog or GitHub release notes, BREAKING first; computes the next version from commit types --version or --auto-version BASE, --date (default today), --format keepachangelog|github, --repo-url, --unreleased
breaking_change_detector.py Confirmed (!, BREAKING CHANGE:) and suspected (keyword, optional diff) breaking changes -f FILE, --diff-file, --severity, --confirmed-only, --json

Exit codes (all three): 0 output written; 2 missing or unreadable file, no input on stdin, or (formatter) input that is not commit_parser.py --json output. None of them gate on content: read the "Skipped (invalid)" count and the breaking-change report.

Done when:

  1. Every commit in the range is either in the changelog or deliberately skipped (docs, chore, non-conventional).
  2. Each breaking change has a migration note a user can follow, not just the commit subject.
  3. The version bump matches the highest-impact change (breaking means major).
  4. Someone who did not write the code can read the entries and understand the user impact.

Anti-Patterns

Commit log as changelog

Mistake: Publishing every commit subject, including chores, merges and "fix typo". Why it happens: It is the zero-effort output. Instead: Use --user-facing or the formatter's sections, and rewrite entries in terms of what users notice.

Silent breaking changes

Mistake: A breaking API change ships as a minor release because the commit lacked ! or a BREAKING CHANGE: footer. **Why it hap

Полный SKILL.md на GitHub

Установить changelog-generator в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

assets/sample_commit_log.txtreferences/commit-format-and-rendering.mdreferences/generation-and-linting.mdreferences/quality-and-troubleshooting.mdscripts/breaking_change_detector.pyscripts/changelog_formatter.pyscripts/commit_parser.py

FAQ

Что делает скилл changelog-generator?

Generate changelogs and release notes from Conventional Commits with semver bump detection, Keep a Changelog formatting, and monorepo scopes. Use when preparing releases, enforcing commit standards, or automating release notes.

Как установить скилл changelog-generator?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл changelog-generator запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить changelog-generator с