Skip to main content

changelog

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.

来源信息

仓库
codeaholicguy/ai-devkit
最近来源活动
2026年6月13日 22:40
检测到的 SKILL.md 语言
英语
星标
1,644
分支
256

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
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.
在 GitHub 查看