跳到正文
cccskills
免费在 GitHub 公开

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.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(7)

  • SKILL.md6.4 KB
  • references/commit-format-and-rendering.md2.9 KB
  • references/generation-and-linting.md6.6 KB
  • references/quality-and-troubleshooting.md4.2 KB
  • scripts/breaking_change_detector.py13.2 KB
  • scripts/changelog_formatter.py11.2 KB
  • scripts/commit_parser.py9.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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, confirm these inputs. If any is unknown or vague, ASK — do not assume:

  • 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)

Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact.

Tools

ToolPurposeCommand
commit_parser.pyParse git log (with ---COMMIT_END--- delimiters) into structured changelog entriesgit log --pretty=format:'%H%n%s%n%b%n---COMMIT_END---' --no-merges | python scripts/commit_parser.py --json
breaking_change_detector.pyScan commit messages/diffs for breaking-change indicatorspython scripts/breaking_change_detector.py -f gitlog.txt --severity high
changelog_formatter.pyFormat parsed commits into Keep a Changelog or GitHub markdownpython scripts/changelog_formatter.py -f parsed.json --version 1.4.0 --format keepachangelog

References

Load the reference that matches the task — keep this file lean and pull detail on demand:

  • references/commit-format-and-rendering.md — the Conventional Commit grammar, type→section/semver mapping table, breaking-change rules, and the Keep a Changelog and GitHub Release Notes output formats. Read when defining commit standards or output style.
  • references/generation-and-linting.md — the 4-step parse→bump→render workflow with Python code, the pre-commit hook and CI commitlint config, monorepo scoped-changelog strategy, and the release-workflow integration diagram. Read when building the pipeline or enforcing format.
  • references/quality-and-troubleshooting.md — the pre-publish quality checklist, common pitfalls, best practices, troubleshooting table, and success criteria. Read before publishing a changelog or when diagnosing an issue.

Scope & Limitations

This skill covers:

  • Parsing Conventional Commit messages into structured data for changelog generation
  • Determining semantic version bumps (major/minor/patch) from commit history
  • Rendering changelogs in Keep a Changelog, GitHub Release Notes, plain markdown, and JSON formats
  • Enforcing commit message standards via pre-commit hooks and CI linting

This skill does NOT cover:

  • Actual release publishing or deployment pipeline execution — see engineering/ci-cd-pipeline-design
  • Git tag management, branch strategies, or merge workflows — see engineering/git-workflow-automation
  • Writing or improving commit messages themselves — see standards/git/git-workflow-standards.md
  • Coordinated multi-package versioning with tools like Changesets or Lerna — referenced in monorepo strategy but not implemented here

Integration Points

SkillIntegrationData Flow
engineering/ci-cd-pipeline-designChangelog generation runs as a CI stage before release publishingParsed commits and rendered changelog feed into the release pipeline as artifacts
engineering/git-workflow-automationCommit linting hooks enforce format before commits reach the changelog generatorPre-commit validation ensures only parseable commits enter the git history
engineering/code-review-automationPR checks verify commit messages conform to Conventional Commits before mergeLinting results gate PR approval, preventing unparseable commits from reaching main
engineering/api-versioning-strategyBreaking change detection aligns API version bumps with changelog major releasesBREAKING CHANGE commits trigger both changelog entries and API version increments
project-management/release-managementRelease planning uses generated changelogs for stakeholder communicationRendered release notes flow into release checklists and stakeholder announcements
standards/git/git-workflow-standards.mdCommit format standards define the grammar this skill parsesStandard definitions are the source of truth for the commit regex pattern

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

This skill should be used when the user asks to "check accessibility", "audit WCAG compliance", "scan HTML for a11y issues", "check color contrast", or "find accessibility violations in web pages".

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9622026年10月7日 更新

Design and run statistically rigorous A/B tests and experiments. Use when planning experiments, calculating sample sizes, designing test variants, selecting metrics, analyzing results, or when someone says "let's test that."

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9622026年10月7日 更新

Design and analyze A/B tests: sample size, test duration, and statistical significance for conversion experiments. Use when setting up an A/B test, calculating sample size, designing an experiment, or analyzing results.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9622026年10月7日 更新

Sales execution across pipeline, discovery, demos, negotiation, and closing. Use when qualifying opportunities, running MEDDIC discovery, building account plans, handling objections, structuring proposals, or forecasting pipeline.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9622026年10月7日 更新

Design ad creative across Google, Meta, LinkedIn, Twitter/X, and TikTok with platform format specs, headline formulas, and A/B testing. Use when writing ad copy, generating headline variations, creating ad sets, or validating creative.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9622026年10月7日 更新

aeo

免费

Answer Engine Optimization (AEO): optimize content to be cited by LLMs (ChatGPT, Claude, Perplexity, Gemini) in their answers. Use when designing content for LLM citation, auditing citability, or structuring Q&A schema.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9622026年10月7日 更新

查看 borghei 的全部技能

报告此技能的问题