You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude/commands/release.md
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,14 +12,24 @@ description: Prepare and tag a new release for this project. Both apps (proxy an
12
12
13
13
### 2. Draft changelog entries
14
14
15
-
Analyse the commits from step 1 and draft changelog entries grouped by:
15
+
Draft entries **solely from the commit messages** gathered in step 1. Do not use the existing `## [Unreleased]` section in `CHANGELOG.md` as a source — it may contain entries for features that were planned but never implemented. The commits are the ground truth.
16
+
17
+
Group entries by:
16
18
17
19
-**Added** — new features
18
20
-**Changed** — changes to existing behaviour
19
21
-**Fixed** — bug fixes
20
22
-**Infrastructure** — CI, build, tooling changes (omit if trivial)
21
23
22
-
Do not include merge commits, formatting-only commits, or version bump commits.
24
+
Format each entry as a bolded feature name with a short summary, followed by detail sub-bullets where useful:
25
+
```
26
+
- **Feature name** — one-line summary
27
+
- detail point
28
+
- detail point
29
+
```
30
+
Do not mix flat one-liners with wall-of-text entries. Keep the top-level line scannable; put specifics in sub-bullets.
31
+
32
+
Do not include merge commits, formatting-only commits, or version bump commits. Do not classify a commit as **Fixed** if it fixes a bug in code that was not yet released — those are part of the new feature and belong under **Added** or **Changed**. **Fixed** is only for regressions or bugs in previously released behavior.
23
33
24
34
Show the draft to the user and ask them to confirm or edit it before proceeding. Also ask for the new version number (suggest one based on the changes: patch for fixes only, minor for new features, major for breaking changes).
0 commit comments