spae-preparelisted
Install: claude install-skill mystilleef/spae-framework
# Prepare `SPAE`
## When to use
- The user wants to run the preparatory phases of the `SPAE` structured
workflow autonomously: spec, plan, and inspect.
## Goal
- Spawn `spec`, `plan`, and `inspect` subagents sequentially based on
`STATE.json` status and phase.
- Halt successfully when the `workstream` reaches `phase: build`, or
halt immediately on errors.
## Input
Read `.spae/current/STATE.json` to resolve the current execution phase
and cursor. Accept an optional argument, the proposal, during initial
execution.
## `STATE.json`
See `references/STATE.md` for the field reference, directives, and
phase snapshots.
## Phase-agent map
Every phase maps to exactly one subagent, spawned the same way
regardless of phase:
| `phase` | Subagent |
| --------- | --------- |
| `spec` | `spec` |
| `plan` | `plan` |
| `inspect` | `inspect` |
## Workflow
1. **Resolve Workstream**:
- Locate `.spae/current/STATE.json`.
- Missing, no proposal argument: halt.
- Missing, proposal provided: spawn `spec` with the proposal; await
completion; proceed to step 2.
- Present: proceed to step 2 without spawning.
2. **Dispatch Loop**:
- Re-read `.spae/current/STATE.json`; record `phase`.
- Exit on `phase: "build"`.
- Halt immediately if `phase` matches none of the phase-agent map's
rows.
- Spawn the subagent the map names for the recorded `phase`, no
arguments.
- Await completion; halt immediately on `Failed` status or any
proce