init
Installation
SKILL.md
You MUST complete ALL steps below. Do not stop after Step 1.
Step 1: Run init script
Run the command from <spex-init-command> in the <spex-context> system reminder. This is your first and only Bash call. Do not run anything else before it.
- If output contains
NEED_INSTALL: show output, STOP. - If output contains
ERROR: show error, STOP. - If the command was run with
--refreshor--updateand output containsRESTART_REQUIRED: SKIP Steps 2 and 3. Templates and extensions were refreshed but the existing configuration (enabled extensions, auto-commit, permissions) is preserved. Go directly to Step 4 and report that the refresh completed. Tell the user to restart Claude Code. - If output contains
READYorRESTART_REQUIRED: do not summarize yet, go to Step 2.
Step 2: Ask about extensions, auto-commit, and permissions
You MUST ask all 4 questions below in a SINGLE AskUserQuestion call. Do NOT split, merge, reword, or reorder them. Pass them exactly as specified:
- (
multiSelect: true, header: "Quality"): "Which quality & review extensions do you want to enable?"- "spex-gates": "Quality gates on speckit commands (review-spec, review-code, verification)"
- "spex-deep-review": "Multi-perspective code review with autonomous fix loop (5 agents)"
- "spex-teams": "Parallel implementation with spec guardian review via Agent Teams (experimental, requires: spex-gates)"