changelog-updater
Auto-update CHANGELOG.md following Keep a Changelog format.LOAD THIS SKILL WHEN: User mentions "changelog", "version", "release notes" | says "更新日誌", "版本", "變更記錄" | before releases | after completing features or fixes.CAPABILITIES: Categorize changes (Added/Changed/Fixed/Removed), determine version numbers, Keep a Changelog format.
When & Why to Use This Skill
The changelog-updater skill automates the maintenance of CHANGELOG.md files by strictly adhering to the 'Keep a Changelog' standard and Semantic Versioning (SemVer) principles. It intelligently analyzes code changes to categorize them into sections such as Added, Fixed, or Changed, ensuring that project release notes are always accurate, professional, and up-to-date without manual effort.
Use Cases
- Pre-release Preparation: Automatically generating a structured summary of all features and fixes before a new software version is deployed.
- Version Management: Determining whether a release should be a Major, Minor, or Patch update based on the impact of the changes (e.g., breaking changes vs. bug fixes).
- Standardizing Documentation: Ensuring all team members follow the same changelog format and terminology across multiple repositories.
- Git Workflow Integration: Triggering automatic documentation updates during the pre-commit or post-feature completion phase to maintain a real-time record of progress.
| name | changelog-updater |
|---|---|
| description | | |
| LOAD THIS SKILL WHEN | User mentions "changelog", "version", "release notes" | says "更新日誌", "版本", "變更記錄" | before releases | after completing features or fixes. |
| CAPABILITIES | Categorize changes (Added/Changed/Fixed/Removed), determine version numbers, Keep a Changelog format. |
CHANGELOG 更新技能
描述
根據變更內容自動更新 CHANGELOG.md。
觸發條件
- 「更新 changelog」
- 被 git-precommit 編排器調用
法規依據
- 憲法:CONSTITUTION.md 第 7 條
- 格式:Keep a Changelog
分類規則
| 類型 | 關鍵字偵測 |
|---|---|
| Added | 新增、add、feat |
| Changed | 變更、修改、update、change |
| Deprecated | 棄用、deprecate |
| Removed | 移除、刪除、remove、delete |
| Fixed | 修復、fix、bug |
| Security | 安全、security、漏洞 |
版本號決定
MAJOR.MINOR.PATCH
MAJOR: 重大變更(Breaking Changes)
MINOR: 新功能(向下相容)
PATCH: Bug 修復
輸出格式
📋 CHANGELOG 更新
偵測到的變更:
- [Added] 新增用戶認證模組
- [Fixed] 修復登入問題
建議版本:0.2.0 (MINOR - 新功能)
預覽:
## [0.2.0] - 2025-12-15
### Added
- 新增用戶認證模組
### Fixed
- 修復登入問題