Changelog guide

From AsiaOstrich/universal-dev-standards · View interactive version

Changelog guide is an AI agent skill from the GitHub repository AsiaOstrich/universal-dev-standards. [UDS] 以 Keep a Changelog 格式生成并维护 CHANGELOG.md 条目。 Use when: 从 commit 历史撰写变更日志条目、填写 Unreleased 区段、将变更分类为 Added/Changed/Fixed。 Not for: 决定下一个版本号或执行发版——请用 /release;撰写 commit message 本身——请用 /commit。 Keywords: changelog, CHANGELOG.md, Keep a Changelog, release notes, unreleased, 变更日志, 发布说明, 版本记录.

How to use this skill

Skill file

变更日志助手

语言: English | 简体中文

根据 Keep a Changelog 格式产生和维护 CHANGELOG.md 条目。

工作流程

  1. 分析 git log - 使用 git log 读取上次发布以来的提交历史
  2. 分类变更 - 将提交对应到变更日志分类
  3. 产生条目 - 为每个变更撰写用户友好的描述
  4. 更新 CHANGELOG.md - 将条目插入 [Unreleased] 或版本区段

变更分类

| 分类 | 使用时机 | When to Use | 对应提交类型 |

|------|---------|-------------|-------------|

| Added | 新功能 | New features | feat |

| Changed | 修改既有功能 | Modifications to existing features | perf, BREAKING CHANGE |

| Deprecated | 即将移除的功能 | Features to be removed | -- |

| Removed | 已移除的功能 | Removed features | BREAKING CHANGE |

| Fixed | 错误修复 | Bug fixes | fix |

| Security | 安全性修补 | Security patches | security |

条目格式

## [Unreleased]

### Added
- Add user dashboard with customizable widgets (#123)

### Changed
- **BREAKING**: Change API response format from XML to JSON (#789)

### Fixed
- Fix memory leak when processing large files (#456)

### Security
- Fix SQL injection vulnerability in search endpoint (CVE-2025-12345)

撰写指南

使用方式

下一步引导

/changelog 完成后,AI 助手应建议:

变更日志已更新。建议下一步:

- 执行 /release 开始发布流程 ⭐ 推荐

- 执行 /commit 提交日志变更

- 审查日志条目确保用户导向语言

参考

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.