首页/ AI 技能 / @skilllib/skill-2117939930272410804
Skill站外收录 @skilllib/skill-2117939930272410804

updating-changelog

为合约开发者和节点运维人员自动生成版本变更日志,通过比对当前分支与 next 分支的代码差异,识别并分类破坏性变更、新功能、弃用项及配置调整,按规范格式输出待审阅的更新草案,覆盖迁移说明与操作指南两类文档。

0.0 (0) 25 次安装 原作者 编程导航
收录于 2026-01-22

Skills.MD

# Updating Changelog ## Workflow Copy this checklist and track progress: ``` Changelog Update Progress: - [ ] Step 1: Determine target changelog file from .release-please-manifest.json - [ ] Step 2: Analyze branch changes (git diff next...HEAD) - [ ] Step 3: Generate draft entries for review - [ ] Step 4: Edit documentation files after approval ``` ### Step 1: Determine Target Files Read `.release-please-manifest.json` to get the version (e.g., `{"." : "4.0.0"}` → edit `v4.md`). **Target files:** - Aztec contract developers: `docs/docs-developers/docs/resources/migration_notes.md` - Node operators and Ethereum contract developers: `docs/docs-network/reference/changelog/v{major}.md` ### Step 2: Analyze Branch Changes Run `git diff next...HEAD --stat` for overview, then `git diff next...HEAD` for details. **Categorize changes:** - Breaking changes (API modifications, removals, renames) - New features (APIs, CLI flags, configuration) - Deprecations - Configuration changes (CLI flags, environment variables) ### Step 3: Generate Draft Entries Present draft entries for review BEFORE editing files. Match the formatting conventions by reading existing entries in each file. ### Step 4: Edit Documentation After approval, add entries to the appropriate files. ## Migration Notes Format **File:** `docs/docs-developers/docs/resources/migration_notes.md` Add entries under `## TBD` section: ````markdown ### [Component] Brief description Explanation of what changed. **Migration:** ```diff - old code + new code ``` ```` **Impact**: Effect on existing code. ```` **Component tags:** `[Aztec.nr]`, `[Aztec.js]`, `[PXE]`, `[Aztec Node]`, `[AVM]`, `[L1 Contracts]`, `[CLI]` ## Node Operator Changelog Format **File:** `docs/docs-network/reference/changelog/v{major}.md` **Breaking changes:** ```markdown ### Feature Name **v{previous}:** ```bash --old-flag <value> ($OLD_ENV_VAR) ```` **v{current}:** ```bash --new-flag <value> ($NEW_ENV_VAR) ``` **Migration**: How to migrate. ```` **New features:** ```markdown ### Feature Name ```bash --new-flag <value> ($ENV_VAR) ```` Description of the feature. ``` **Changed defaults:** Use table format with Flag, Environment Variable, Previous, New columns. ```

评论 0

还没有评论,来抢沙发。