OpenParable
Skip to content
← Back to skills

Changelog Updater

Productivity
changelog-updater

Changelog Updater is an Agent Skill for productivity published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

更新 CHANGELOG.md。觸發:changelog、變更、版本、發布、改了什麼。

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/documents/changelog-updater-u9401066-med-paper-assistant/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/changelog-updater, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

CHANGELOG 更新技能

觸發條件

用戶說法觸發
更新 changelog、紀錄變更✅
發布、新版本✅
被 git-precommit 調用✅ 自動觸發

可用工具

此技能使用標準檔案操作:

操作工具
讀取read_file("CHANGELOG.md")
更新replace_string_in_file()
Git diffget_changed_files()

格式規範

遵循 Keep a Changelog 格式:

# Changelog

## [Unreleased]

### Added
- 新增功能

### Changed
- 變更功能

### Fixed
- 修復問題

## [1.0.0] - 2025-12-22

### Added
- 初始版本

分類規則

類型關鍵字說明
Addedfeat, 新增, add新功能
Changedchange, update, 變更修改現有功能
Deprecateddeprecate, 棄用即將移除的功能
Removedremove, delete, 移除已移除的功能
Fixedfix, bug, 修復Bug 修復
Securitysecurity, 安全安全性更新

版本號規則 (SemVer)

MAJOR.MINOR.PATCH

MAJOR: Breaking Changes(不向下相容)
MINOR: 新功能(向下相容)
PATCH: Bug 修復

標準工作流程

# 1. 讀取現有 CHANGELOG
read_file("CHANGELOG.md")

# 2. 分析 Git diff
get_changed_files()

# 3. 分類變更
# - 新檔案 → Added
# - 修改檔案 → Changed/Fixed
# - 刪除檔案 → Removed

# 4. 更新 [Unreleased] 區塊
replace_string_in_file(
    filePath="CHANGELOG.md",
    oldString="## [Unreleased]\n",
    newString="## [Unreleased]\n\n### Added\n- 新增用戶認證模組\n"
)

輸出範例

📋 CHANGELOG 更新

偵測到的變更:
  - [Added] 新增用戶認證模組
  - [Fixed] 修復登入問題

建議版本:0.2.0 (MINOR - 新功能)

相關技能

  • git-precommit - 提交前自動調用
  • roadmap-updater - 同步里程碑狀態