Skip to content

Commit 35023f3

Browse files
committed
Update claude SKILL to update changelog.
Elaborate version bump rule with an example to clarify.
1 parent e779a05 commit 35023f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • .claude/skills/update-changelogs

.claude/skills/update-changelogs/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ These are **never** API changes regardless of where they appear:
6464

6565
See `RELEASING.md` § "CHANGELOG.md" for the version bump decision logic. In practice only **B** is bumped for breaking changes (`A.(B+1).0.0`). Bumping **A** is extremely rare — **always ask the user first**.
6666

67-
**No bump needed** if the current unreleased version already reflects a bump at least as large as required.
67+
**Critical rule**: The top `## <version>` entry in every `CHANGELOG.md` is **always the current unreleased version** — it has not been published to CHaP yet. **Never add a new version section.** Instead, replace the existing top version number if your changes warrant a larger bump than what is already there. For example, if the top entry is `## 1.13.0.1` (a patch) but your changes are breaking, replace it with `## 1.14.0.0`. If the existing version already reflects a sufficient bump, leave it as-is and just add your changelog entries under it.
6868

6969
### Step 5 — Write changelog entries
7070

0 commit comments

Comments
 (0)