跳到主要内容
知仓学习社ZHICANG

update-changelog

Update the Unreleased section of CHANGELOG.md based on current changes. No-op if CHANGELOG.md does not exist. Use when the user asks to \"update cha…

不碰外部(只输出文字)无严重或高危命中tobihagemann/turbo

它会碰到什么

扫了多少1 个文本文件,2 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Update Changelog

Update the Unreleased section of the changelog based on the current changes.

Step 1: Run $changelog-rules Skill

Run the $changelog-rules skill to load shared changelog conventions.

Step 2: Check for Changelog

Use git rev-parse --show-toplevel to find the repository root. Look for the changelog file per $changelog-rules. If it does not exist, skip this skill. Do not create it.

Step 3: Analyze the Changes

Determine what changed:

  • Read git diff --cached for staged changes
  • If nothing is staged, read git diff for unstaged changes
  • Use the conversation context for the intent behind the changes

Step 4: Assess Changelog-Worthiness

Apply the $changelog-rules changelog-worthiness and net-delta criteria. Skip fixes to code introduced by the same branch or PR.

If no changes are changelog-worthy, skip this skill.

Step 5: Check Existing Unreleased Entries

Read the current Unreleased section of the changelog. Look for entries that relate to the same feature or fix. This prevents duplicates across multiple commits for the same body of work.

  • If an existing entry covers the same change, update its wording only if the current commit meaningfully extends or refines the feature. Do not add a duplicate entry.

Step 6: Update the Unreleased Section

Add or update entries in the Unreleased section following $changelog-rules conventions. Create subsection headers as needed (e.g., ### Added).

Then call update_plan to mark this step completed and continue with the next step of the active workflow.

Rules

  • Never modify released version sections. Only the Unreleased section is in scope.
  • Do not stage the modified file. Staging is handled separately.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

它属于哪个仓库

星标★ 403
本站分层T2
该仓技能数153
原文件路径codex/skills/update-changelog/SKILL.md

同一个仓库里的其他技能

看这个仓库的全部 153 个技能

同名技能的其他版本

有 2 个不同仓库或目录里都有叫 update-changelog 的技能。它们内容并不相同,别混用:

  • tobihagemann/turbo — Update the Unreleased section of CHANGELOG.md based on current changes. No-op if CHANGELOG