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
{{ message }}
Repository navigation
Commit 5d1da59
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .claude/commands/make-release/SKILL.md
+19-9Lines changed: 19 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
name: make-release
3
-
description: Drive a Quarto release end-to-end from the dev-docs release checklists. Invoke explicitly with /make-release — do not auto-invoke from ambient conversation, a release cut is high-stakes. Detects whether this is the first stable release of a new major.minor cycle or a patch release on an existing stable branch, then follows the matching checklist, verifying real git/gh state at each step and pausing for explicit human confirmation before every irreversible or externally-visible action.
3
+
description: Drive a Quarto release end-to-end from the dev-docs release checklists. Invoke explicitly with /make-release — do not auto-invoke from ambient conversation, a release cut is high-stakes. Handles three release types — a routine dev prerelease off main, the first stable release of a new major.minor cycle, or a patch release on an existing stable branch — by asking which one applies (or reading it from an unambiguous request), then follows the matching checklist, verifying real git/gh state at each step and pausing for explicit human confirmation before every irreversible or externally-visible action.
4
4
---
5
5
6
6
# Make Release
@@ -9,22 +9,32 @@ Command-only helper that drives an existing release checklist. **Do not auto-inv
9
9
10
10
## 1. Detect which checklist applies (verify, don't trust self-report)
11
11
12
-
Check real repo state, not the user's description:
12
+
There are three release types, each with its own checklist. Branch-existence alone doesn't distinguish all three — a routine prerelease and a first-stable-of-cycle release can both start with no `v1.x` branch yet — so first establish intent, then verify with git where that disambiguates:
13
+
14
+
-**Routine dev prerelease off `main`** (no version bump beyond the prerelease counter, no new branch) → drive
If the user's request doesn't already make the type unambiguous, ask. Once it's a stable release (first or patch), confirm which with real state, don't trust self-report:
13
22
14
23
```bash
15
24
git ls-remote --heads origin v1.x # substitute the target major.minor, e.g. v1.10
16
25
```
17
26
18
-
- Branch **absent** → first stable release of a new cycle → drive
19
-
`dev-docs/checklist-make-a-new-quarto-release.md`
20
-
- Branch **present** → patch release on an existing stable branch → drive
Branch absent → first stable of the cycle; branch present → patch release.
28
+
29
+
Out of scope: backporting an individual merged PR to a stable branch is a different task, not a release cut — see `dev-docs/checklist-backport-a-pr.md` directly, this skill doesn't drive it.
30
+
31
+
**Always confirm before driving anything** — even when the type seems obvious from the request. State it plainly, e.g. "I will follow this checklist: `dev-docs/checklist-make-a-new-quarto-release.md`", and wait for the user's go-ahead before starting step 1. This is the one point where a wrong detection would send the whole run down the wrong checklist, so confirm every time, not just when ambiguous.
22
32
23
-
If it's still ambiguous (e.g. the user's target version is unclear), ask before proceeding.
33
+
## 2. Drive the checklist top to bottom, verifying real state, narrating as you go
24
34
25
-
## 2. Drive the checklist top to bottom, verifying real state
35
+
Read the matching checklist and work it in order. Before each step (not just the hard-confirm gates in section 3), state in one line what you're about to do and why, so the user can stop you early if something looks wrong — don't silently chain multiple steps together without narrating between them.
26
36
27
-
Read the matching checklist and work it in order. At each step, confirm the real state with `git`/`gh` rather than trusting the checklist text or the user's word that something happened — e.g. that a branch/tag exists, a workflow run actually succeeded (`gh run view <id>`), a release's flags are set, a version field is what it should be. A step isn't done until real state confirms it.
37
+
At each step, confirm the real state with `git`/`gh` rather than trusting the checklist text or the user's word that something happened — e.g. that a branch/tag exists, a workflow run actually succeeded (`gh run view <id>`), a release's flags are set, a version field is what it should be. A step isn't done until real state confirms it.
28
38
29
39
## 3. Hard-confirm gates (stop and get explicit human OK before running)
Copy file name to clipboardExpand all lines: dev-docs/checklist-make-a-new-quarto-prerelease.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,5 @@
1
+
> A Claude Code skill can drive this checklist interactively: run `/make-release` (see `.claude/commands/make-release/`). It reads this file, verifies real `git`/`gh` state at each step, and pauses for confirmation before irreversible actions. This checklist stays the source of truth — the skill just follows it.
2
+
1
3
-[ ] ensure main is up to date and tests are passing on latest commit.
0 commit comments