Skip to content

Commit 9d1fd90

Browse files
nanotaboadaclaude
andcommitted
chore(commands): fix markdownlint violations in /prerelease
- MD001: demote Phase headings from H3 to H2 (no heading level skip) - MD031: add blank line before fenced code block - MD040: add language specifier to unlabelled code fence - Step 1: require explicit confirmation before git pull Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent ce0b687 commit 9d1fd90

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.claude/commands/precommit.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Pre-commit checklist
2+
13
Run the pre-commit checklist for this project:
24

35
1. Update `CHANGELOG.md` `[Unreleased]` section — add an entry under the

.claude/commands/prerelease.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
1+
# Pre-release checklist
2+
13
Run the pre-release checklist for this project.
24

35
**Working style**: propose before acting at every step — do not commit, push,
46
open PRs, or create tags until I explicitly confirm.
57

68
---
79

8-
### Phase 1 — Determine next release
10+
## Phase 1 — Determine next release
911

1012
1. **Verify working tree**: Confirm we are on `master` with a clean working
11-
tree. Pull latest if behind remote.
13+
tree. If behind the remote, propose `git pull` and wait for confirmation
14+
before pulling.
1215

1316
2. **Detect current release and propose next**: Read `CHANGELOG.md` for the
1417
coach naming convention (A–Z table) and the most recent release heading.
@@ -28,7 +31,8 @@ open PRs, or create tags until I explicitly confirm.
2831
- If `[Unreleased]` has no entries, stop and warn — there is nothing to release.
2932

3033
Present a summary before proceeding:
31-
```
34+
35+
```text
3236
Current: v2.1.0-delbosque
3337
Proposed: v2.2.0-eriksson (MINOR — new features in Added)
3438
Branch: release/v2.2.0-eriksson
@@ -37,7 +41,7 @@ open PRs, or create tags until I explicitly confirm.
3741

3842
---
3943

40-
### Phase 2 — Prepare release branch
44+
## Phase 2 — Prepare release branch
4145

4246
3. **Create release branch**: `release/vX.Y.Z-{codename}`.
4347

@@ -65,7 +69,7 @@ open PRs, or create tags until I explicitly confirm.
6569

6670
---
6771

68-
### Phase 3 — Tag and release
72+
## Phase 3 — Tag and release
6973

7074
7. **Stop and wait** for confirmation that:
7175
- All CI checks have passed

0 commit comments

Comments
 (0)