| name | release |
| description | Repo-local /release <target> for MultiClaude draft-first releases. Targets: beta, main, current, or branch name. |
| argument-hint | <target> |
MultiClaude Release
Use this skill only inside the MultiClaude repo.
Command grammar:
/release <target>
Valid targets:
current
main
beta
- any real branch name
Workflow
- Run preview first:
node "$(git rev-parse --show-toplevel)/scripts/release/release-command.mjs" preview \
--target <target>
- Parse the JSON response.
- Stop immediately if:
preflight.ghAuthValid is false
preflight.duplicateTag is true
preflight.duplicateRelease is true
- If
preflight.cleanTree is false, tell the user the working tree is dirty and ask whether they want to commit the current changes before release.
- If yes, help them commit first, then rerun preview.
- If no, stop without executing the release.
- Ask only for values the preview says are still missing:
- if
requiresReleaseTypePrompt, ask whether the release is stable or prerelease
- if
requiresVersionPrompt, offer suggestedVersion when present and ask the user to confirm or replace it
- Re-run preview with the chosen
--release-type and --version before execution:
node "$(git rev-parse --show-toplevel)/scripts/release/release-command.mjs" preview \
--target <target> \
--release-type <stable|prerelease> \
--version <version>
- If the refreshed preview says
requiresBranchSwitch is true, tell the user which branch the command will switch to before execution.
- If the refreshed preview says
requiresCustomStableConfirm is true, ask for one extra explicit confirmation.
- Show the final execution summary:
- target
- resolved branch
- version
- release type
- whether the command will switch branches
- Only after the user confirms, run execute:
node "$(git rev-parse --show-toplevel)/scripts/release/release-command.mjs" execute \
--target <target> \
--version <version> \
--release-type <stable|prerelease> \
--confirm
- Add
--confirm-custom-stable when the refreshed preview flagged requiresCustomStableConfirm.
- Report the returned draft release URL, workflow run URL, asset summary, and any
branchPushWarning. Stop at draft-ready. Do not publish the GitHub release.
Guardrails
- Do not skip preview.
- Do not infer custom-branch versions automatically.
- Do not hide branch switching.
- Do not execute the release while the working tree is dirty.
- Do not run execute without explicit final confirmation.
- Draft-first only. Publishing stays manual after assets land.