Skip to content

Commit cac3a42

Browse files
nanotaboadaclaude
andcommitted
chore(commands): simplify /prerelease confirmation wording
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent ac772d0 commit cac3a42

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

.claude/commands/prerelease.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1-
Run the pre-release checklist for this project:
1+
Run the pre-release checklist for this project.
2+
3+
**Working style**: propose before acting at every step — do not commit, push,
4+
open PRs, or create tags until I explicitly confirm. Apply this throughout.
25

36
1. **Detect current release and propose next**: Read `CHANGELOG.md` for the
47
coach naming convention (A–Z table) and the most recent release heading.
58
Run `git tag --sort=-v:refname` to confirm the latest tag. Determine the
69
next codename (next letter in the A–Z sequence after the current one) and
710
infer the version bump from the `[Unreleased]` section: any entry marked
811
BREAKING → MAJOR; entries under Added → MINOR; only Changed/Fixed/Removed
9-
→ PATCH. Present the proposed `vX.Y.Z-{codename}` and ask me to confirm
10-
or override before proceeding. Do not continue until I confirm.
12+
→ PATCH. Present the proposed `vX.Y.Z-{codename}` and wait for confirmation
13+
or override before proceeding.
1114

1215
2. **Verify working tree**: Confirm we are on `master` with a clean working
1316
tree. Pull latest if behind remote.
@@ -19,24 +22,20 @@ Run the pre-release checklist for this project:
1922
`[Unreleased]` with all four empty subsections:
2023
Added / Changed / Fixed / Removed.
2124

22-
5. **Propose commit and ask for confirmation**:
23-
`docs(changelog): release vX.Y.Z Codename`
24-
Do not commit until I confirm.
25+
5. **Propose commit**: `docs(changelog): release vX.Y.Z Codename`
2526

2627
6. **After confirmation**: commit the changelog update. Then run `/precommit`
2728
to execute the full pre-commit checklist (linting, formatting, tests,
2829
coverage). Only push the branch and open a PR into `master` once all
2930
checks pass.
3031

31-
7. **Stop and wait for my explicit confirmation** that:
32+
7. **Stop and wait** for confirmation that:
3233
- All CI checks have passed
3334
- CodeRabbit review comments have been addressed
3435
- The PR has been merged into `master`
35-
Do not create or push the tag until I give this confirmation.
3636

37-
8. **After I confirm**: pull `master`, then propose the annotated tag
38-
`vX.Y.Z-{codename}` with message `Release X.Y.Z - Codename` and ask for
39-
approval. Do not tag until I confirm.
37+
8. **After confirmation**: pull `master`, then propose the annotated tag
38+
`vX.Y.Z-{codename}` with message `Release X.Y.Z - Codename`.
4039

4140
9. **After confirmation**: create and push the tag. The CD pipeline triggers
4241
automatically.

0 commit comments

Comments
 (0)