changelog

GitHub

从最新发行版后的Git提交记录中,自动提取变更并更新CHANGELOG.md的Unreleased部分。支持生成单行摘要、关联PR链接,并遵循特定格式与规则,确保条目简洁准确。

skills/changelog/SKILL.md codeaholicguy/ai-devkit

Trigger Scenarios

用户要求根据近期提交更新Changelog或发布说明 用户请求同步Unreleased部分的变更日志

Install

npx skills add codeaholicguy/ai-devkit --skill changelog -g -y
More Options

Use without installing

npx skills use codeaholicguy/ai-devkit@changelog

指定 Agent (Claude Code)

npx skills add codeaholicguy/ai-devkit --skill changelog -a claude-code -g -y

安装 repo 全部 skill

npx skills add codeaholicguy/ai-devkit --all -g -y

预览 repo 内 skill

npx skills add codeaholicguy/ai-devkit --list

SKILL.md

Frontmatter
{
    "name": "changelog",
    "description": "AI DevKit · Update CHANGELOG.md Unreleased items from git commits since the latest release. Use when users ask to update changelog\/release notes from recent commits, with one concise line per commit and commit\/PR links."
}

Changelog

Update the top Unreleased list in CHANGELOG.md from commits after the latest release.

Workflow

  1. Find the latest release base:
    • Prefer the latest reachable tag: git describe --tags --abbrev=0.
    • If there are no tags, search recent history for a release commit and use that hash.
  2. Get commits: git log <base>..HEAD --reverse --format='%H%x09%s'.
  3. Derive the GitHub repo URL from git remote get-url origin.
  4. For each commit, add one concise changelog line:
    • Format: - [<short-hash>](<url>) <one-line summary>
    • If the commit clearly relates to a PR, link the hash to the PR URL instead of the commit URL.
    • Detect PRs from subjects like (#123), merge commits, or gh pr list --search <hash> --state all --json number,url.
  5. Insert the new lines into the top Unreleased section/list in CHANGELOG.md.
    • If no Unreleased section exists, create one at the top.
    • Do not create a dated release heading unless the user asks for a release.

Rules

  • Keep one line per commit.
  • Preserve the existing changelog style when obvious.
  • Always add entries to the top Unreleased list.
  • Skip noisy commits only when clearly non-user-facing and explain what was skipped.
  • Do not invent PR links; use commit links when PR evidence is missing.

Version History

  • d4caf56 Current 2026-07-05 15:22

Same Skill Collection

skills/agent-communication/SKILL.md
skills/agent-management/SKILL.md
skills/dev-commit/SKILL.md
skills/dev-design/SKILL.md
skills/dev-implementation/SKILL.md
skills/dev-lifecycle/SKILL.md
skills/dev-planning/SKILL.md
skills/dev-pr/SKILL.md
skills/dev-requirements/SKILL.md
skills/dev-review/SKILL.md
skills/dev-testing/SKILL.md
skills/dev-worktree/SKILL.md
skills/document-code/SKILL.md
skills/memory/SKILL.md
skills/security-review/SKILL.md
skills/simplify-implementation/SKILL.md
skills/structured-debug/SKILL.md
skills/task/SKILL.md
skills/tdd/SKILL.md
skills/technical-writer/SKILL.md
skills/verify/SKILL.md

Metadata

Files
0
Version
3d9d56c
Hash
c0b6dc7f
Indexed
2026-07-05 15:22

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-22 23:05
浙ICP备14020137号-1 $お客様$