Token导航 LogoToken导航

Agent Skill · 研究检索

changelog-generator(变更日志生成器)

changelog-generator 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

changelog-generator 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 40,765。

总安装 1,248周安装 52GitHub Stars 103下载 416核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:changelog-generator(变更日志生成器)
来源仓库:https://github.com/borghei/claude-skills
仓库路径:skills/changelog-generator
安装命令:
npx skills add https://github.com/borghei/claude-skills --skill changelog-generator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/borghei/claude-skills --skill changelog-generator

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

依据 Conventional Commits 自动生成规范化的变更日志与发布说明。自动识别版本升级类型(主/次/补丁)并归类功能与修复条目。支持 Monorepo 作用域过滤与 CI 集成,实现发布自动化。提交信息必须遵循约定式格式,否则无法正确解析历史记录。

changelog-generator 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/changelog-generator

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/borghei/claude-skills --skill changelog-genera…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

changelog-generator 怎么安装?

在终端执行 npx skills add https://github.com/borghei/claude-skills --skill changelog-generator。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

changelog-generator 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

changelog-generator 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

changelog-generator 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

changelog-generator 用的人多吗?

公开数据是累计安装 1,248 次,近一周安装 52 次,下载 416 次,GitHub 103 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

changelog-generator 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
changelog-generator

变更日志生成器 · 本页

1,248103需要联网未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Changelog Generator

Tier: POWERFUL Category: Engineering / Release Management Maintainer: Claude Skills Team

Overview

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

1. Commit Parsing

  • Parse Conventional Commit messages into structured data
  • Extract type, scope, description, body, and footer
  • Detect breaking changes from ! suffix and BREAKING CHANGE: footer
  • Handle multi-line commit bodies and co-author trailers

2. Semantic Version Detection

  • Map commit types to version bump levels
  • Breaking changes trigger major bumps
  • feat triggers minor bumps
  • All other types trigger patch bumps
  • Support for pre-release versions (alpha, beta, rc)

3. Changelog Rendering

  • Keep a Changelog format with semantic sections
  • GitHub release notes format
  • Plain markdown for documentation
  • JSON output for automation pipelines
  • Grouped by type with user-readable descriptions

4. Quality Enforcement

  • Commit message linter for CI and pre-commit hooks
  • Strict mode that blocks non-conforming commits
  • Scope validation against allowed values
  • 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

Conventional Commit Format

<type>(<scope>)<!>: <description>

[optional body]

[optional footer(s)]

Type to Section Mapping

Commit TypeChangelog SectionSemVer BumpUser-Facing?
featAddedminorYes
fixFixedpatchYes
perfPerformancepatchYes
securitySecuritypatchYes
deprecatedDeprecatedminorYes
removeRemovedmajorYes
refactorChangedpatchSometimes
docs—patchNo
test——No
build——No
ci——No
chore——No

Breaking Change Rules

Breaking changes always trigger a major version bump regardless of type:

feat(api)!: remove deprecated v1 endpoints

BREAKING CHANGE: The /api/v1/* endpoints have been removed.
Migrate to /api/v2/* before upgrading. See migration guide at docs/v2-migration.md.

Changelog Rendering

Keep a Changelog Format

# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.4.0] - 2026-03-09

### Added
- User can now export projects as CSV ([#234](https://github.com/org/repo/pull/234))
- Dark mode support for dashboard ([#228](https://github.com/org/repo/pull/228))

### Fixed
- Pagination returning duplicate items on page boundaries ([#231](https://github.com/org/repo/pull/231))
- Login form not showing validation errors on mobile ([#229](https://github.com/org/repo/pull/229))

### Performance
- Reduced dashboard load time by 40% with query optimization ([#232](https://github.com/org/repo/pull/232))

### Security
- Updated jsonwebtoken to 9.0.2 to fix CVE-2024-XXXX ([#233](https://github.com/org/repo/pull/233))

## [1.3.2] - 2026-02-28

### Fixed
- API rate limiter not resetting after window expiry ([#227](https://github.com/org/repo/pull/227))

[1.4.0]: https://github.com/org/repo/compare/v1.3.2...v1.4.0
[1.3.2]: https://github.com/org/repo/compare/v1.3.1...v1.3.2

GitHub Release Notes Format

## What's New

- **CSV Export**: Users can now export project data as CSV files (#234)
- **Dark Mode**: Dashboard fully supports dark mode (#228)

## Bug Fixes

- Fixed pagination returning duplicate items on page boundaries (#231)
- Fixed login form validation on mobile devices (#229)

## Performance

- Dashboard load time reduced by 40% through query optimization (#232)

## Security

- Updated jsonwebtoken to patch CVE-2024-XXXX (#233)

**Full Changelog**: https://github.com/org/repo/compare/v1.3.2...v1.4.0

Generation Workflow

Step 1: Collect Commits

# Get commits between two tags
git log v1.3.2..HEAD --pretty=format:'%H %s' --no-merges

# Get commits with full body (for breaking change detection)
git log v1.3.2..HEAD --pretty=format:'%H%n%s%n%b%n---COMMIT_END---' --no-merges

Step 2: Parse and Classify

import re
from dataclasses import dataclass
from typing import Optional

@dataclass
class ParsedCommit:
    hash: str
    type: str
    scope: Optional[str]
    description: str
    body: Optional[str]
    breaking: bool
    breaking_description: Optional[str]

COMMIT_PATTERN = re.compile(
    r'^(?P<type>feat|fix|perf|refactor|docs|test|build|ci|chore|security|deprecated|remove)'
    r'(?:\((?P<scope>[^)]+)\))?'
    r'(?P<breaking>!)?'
    r':\s*(?P<description>.+)$'
)

def parse_commit(hash: str, message: str) -> Optional[ParsedCommit]:
    lines = message.strip().split('\n')
    subject = lines[0]
    body = '\n'.join(lines[1:]).strip() if len(lines) > 1 else None

    match = COMMIT_PATTERN.match(subject)
    if not match:
        return None  # Non-conventional commit

    breaking = bool(match.group('breaking'))
    breaking_desc = None

    if body and 'BREAKING CHANGE:' in body:
        breaking = True
        bc_match = re.search(r'BREAKING CHANGE:\s*(.+)', body, re.DOTALL)
        if bc_match:
            breaking_desc = bc_match.group(1).strip()

    return ParsedCommit(
        hash=hash,
        type=match.group('type'),
        scope=match.group('scope'),
        description=match.group('description'),
        body=body,
        breaking=breaking,
        breaking_description=breaking_desc,
    )

Step 3: Determine Version Bump

def determine_bump(commits: list[ParsedCommit]) -> str:
    """Determine semver bump from parsed commits."""
    if any(c.breaking for c in commits):
        return 'major'
    if any(c.type == 'feat' for c in commits):
        return 'minor'
    if any(c.type in ('fix', 'perf', 'security', 'refactor') for c in commits):
        return 'patch'
    return 'none'

def bump_version(current: str, bump: str) -> str:
    """Apply bump to a semver string."""
    major, minor, patch = map(int, current.lstrip('v').split('.'))
    if bump == 'major':
        return f"{major + 1}.0.0"
    elif bump == 'minor':
        return f"{major}.{minor + 1}.0"
    elif bump == 'patch':
        return f"{major}.{minor}.{patch + 1}"
    return current

Step 4: Render Changelog

SECTION_MAP = {
    'feat': 'Added',
    'fix': 'Fixed',
    'perf': 'Performance',
    'security': 'Security',
    'deprecated': 'Deprecated',
    'remove': 'Removed',
    'refactor': 'Changed',
}

def render_changelog(version: str, date: str, commits: list[ParsedCommit], repo_url: str) -> str:
    sections: dict[str, list[str]] = {}

    # Breaking changes get their own section
    breaking = [c for c in commits if c.breaking]
    if breaking:
        sections['BREAKING CHANGES'] = []
        for c in breaking:
            desc = c.breaking_description or c.description
            scope = f"**{c.scope}**: " if c.scope else ""
            sections['BREAKING CHANGES'].append(f"- {scope}{desc}")

    # Group remaining by section
    for commit in commits:
        section = SECTION_MAP.get(commit.type)
        if not section:
            continue
        if section not in sections:
            sections[section] = []
        scope = f"**{commit.scope}**: " if commit.scope else ""
        link = f"([{commit.hash[:7]}]({repo_url}/commit/{commit.hash}))"
        sections[section].append(f"- {scope}{commit.description} {link}")

    # Render
    lines = [f"## [{version}] - {date}", ""]
    for section_name in ['BREAKING CHANGES', 'Added', 'Changed', 'Deprecated', 'Removed', 'Fixed', 'Performance', 'Security']:
        if section_name in sections:
            lines.append(f"### {section_name}")
            lines.extend(sections[section_name])
            lines.append("")

    return '\n'.join(lines)

Commit Linting

Pre-Commit Hook

#!/bin/bash
# .git/hooks/commit-msg
# Validates commit message follows Conventional Commit format

COMMIT_MSG_FILE=$1
COMMIT_MSG=$(cat "$COMMIT_MSG_FILE")
FIRST_LINE=$(head -1 "$COMMIT_MSG_FILE")

PATTERN='^(feat|fix|perf|refactor|docs|test|build|ci|chore|security|deprecated|remove)(\([a-z0-9-]+\))?!?:\s.{1,72}$'

if ! echo "$FIRST_LINE" | grep -qE "$PATTERN"; then
  echo "ERROR: Commit message does not follow Conventional Commits format."
  echo ""
  echo "Expected: <type>(<scope>): <description>"
  echo "Example:  feat(auth): add OAuth2 login flow"
  echo ""
  echo "Valid types: feat, fix, perf, refactor, docs, test, build, ci, chore, security"
  echo ""
  echo "Your message: $FIRST_LINE"
  exit 1
fi

# Check description length
DESC_LENGTH=$(echo "$FIRST_LINE" | sed 's/^[^:]*: //' | wc -c)
if [ "$DESC_LENGTH" -gt 72 ]; then
  echo "ERROR: Commit description exceeds 72 characters ($DESC_LENGTH chars)."
  exit 1
fi

CI Linting

# .github/workflows/lint-commits.yml
name: Lint Commits
on:
  pull_request:

jobs:
  commitlint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0
      - uses: actions/setup-node@v4
        with:
          node-version: 20
      - run: npm install -g @commitlint/cli @commitlint/config-conventional
      - run: |
          npx commitlint --from ${{ github.event.pull_request.base.sha }} \
                          --to ${{ github.event.pull_request.head.sha }}

Monorepo Strategy

Scoped Changelogs

In a monorepo, each package maintains its own changelog filtered by scope:

# Get commits scoped to a specific package
git log v1.3.0..HEAD --pretty=format:'%H %s' --no-merges | \
  grep -E '^\w+ (feat|fix|perf|refactor)\(ui\):'

# Example output:
# abc1234 feat(ui): add date picker component
# def5678 fix(ui): button alignment on mobile

Per-Package Changelog Location

packages/
  ui/
    CHANGELOG.md        ← @repo/ui changes only
    package.json
  api/
    CHANGELOG.md        ← @repo/api changes only
    package.json
CHANGELOG.md            ← infrastructure / cross-cutting changes

Release Workflow Integration

PR merges to main
      │
      v
CI detects new commits since last tag
      │
      v
Parse commits → determine bump → generate changelog
      │
      v
Create draft GitHub Release with generated notes
      │
      v
Human reviews and edits release notes
      │
      v
Publish release → triggers deployment pipeline

Output Quality Checklist

Before publishing generated changelog:

  1. Each bullet is user-meaningful, not implementation noise
  2. Breaking changes include migration instructions
  3. Security fixes are in their own section (not mixed with bug fixes)
  4. Duplicate bullets across sections are removed
  5. Scope prefixes are consistent and meaningful
  6. Empty sections are omitted
  7. Links to PRs/commits are correct

Common Pitfalls

  • Merge commit messages polluting the changelog — exclude merge commits with --no-merges
  • Vague commit messages — "fix stuff" cannot become a useful release note; enforce linting
  • Missing migration guidance for breaking changes — require BREAKING CHANGE: footer with instructions
  • Docs/chore commits in user-facing changelog — filter to only user-facing types
  • Overwriting historical entries — always prepend new entries, never modify existing ones
  • Manual version bumps in monorepos — use Changesets for coordinated versioning

Best Practices

  1. Enforce conventional commits in CI — block merges with non-conforming messages
  2. Scope commits in monorepos — feat(ui): not just feat: for package-specific changes
  3. Review generated changelog before publishing — automation gets you 90%, human editing adds polish
  4. Tag releases after changelog is finalized — changelog is part of the release, not an afterthought
  5. Keep an [Unreleased] section — for manual curation between releases
  6. Link to PRs, not commits — PRs have context and discussion that commits lack
  7. Separate internal and external changelogs — users do not need to know about CI config changes

Troubleshooting

ProblemCauseSolution
Changelog is empty after generationAll commits use non-user-facing types (docs, chore, ci, test)Ensure feature and fix commits use feat: or fix: types; review type-to-section mapping
Version bump detected as noneNo commits match bump-triggering typesVerify commits follow Conventional Commit format; check regex pattern matches your type list
Breaking changes missing from outputBREAKING CHANGE: footer has wrong casing or whitespaceUse exact string BREAKING CHANGE: (uppercase, with colon and space) in commit footer
Monorepo changelog includes unrelated packagesScope filter not applied or scope names inconsistentStandardize scope names across teams; filter commits with grep -E 'type\(your-scope\):'
Merge commits polluting release notes--no-merges flag omitted from git logAlways pass --no-merges when collecting commits for changelog generation
Commit linter rejects valid messagesRegex pattern missing a valid type or scope contains uppercaseUpdate the PATTERN regex to include all custom types; enforce lowercase scopes
Duplicate entries across changelog sectionsA breaking change commit also matches its original type sectionDeduplicate by checking if a commit already appears in BREAKING CHANGES before adding to type section

Success Criteria

  • Commit parse rate above 95% — fewer than 5% of commits in a release range fail to parse as valid Conventional Commits
  • Zero manual version bump errors — semantic version is always determined automatically from commit types, never hand-edited
  • Changelog generation under 10 seconds — full parse-classify-render cycle completes in under 10 seconds for repositories with up to 500 commits per release
  • 100% of breaking changes documented — every commit with ! suffix or BREAKING CHANGE: footer appears in the BREAKING CHANGES section with migration guidance
  • Release notes review time under 15 minutes — generated changelog requires minimal human editing before publication
  • Commit lint failure rate below 2% — after team onboarding, fewer than 2% of commits are rejected by the pre-commit hook or CI linter
  • Monorepo scope accuracy at 100% — scoped changelogs contain only commits relevant to their package with no cross-contamination

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

平台分布

Codex

34.16%
按下载量换算142

Claude

29.11%
按下载量换算121

Cursor

20.51%
按下载量换算85

Gemini CLI

10.39%
按下载量换算43

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills