bts-recipe-designlisted
Install: claude install-skill imtemp-dev/claude-bts
# Recipe: Design (Level 2 Design)
Design: $ARGUMENTS
## Resume Check
Before starting, check for an existing recipe:
```bash
bts recipe status
```
If no active recipe, create one:
```bash
bts recipe create --type design --topic "$ARGUMENTS"
```
Use the output as recipe ID for all subsequent commands.
If active:
- Phase `research` → read existing research doc, continue from Step 2.
- Phase `draft` → read draft, run /bts-assess, then **immediately execute** the recommended action.
- Phase `debate` → read debate state, continue deliberation.
- Phase `verify` → read draft + verification, run /bts-assess, then **immediately execute**.
- Phase `finalize` → skip to Step 5.
**Autonomous execution**: This recipe runs without stopping between steps.
Do NOT pause to summarize or ask the user. Only stop for [CONVERGENCE FAILED] or [DEBATE DEADLOCK].
## Step 1: Research
Read existing project context if available:
- `.bts/specs/project-map.md` — layer overview, build/test commands
- `.bts/specs/layers/{name}.md` — detail for layers relevant to this design
Use Skill("bts-research") to understand the current state.
Save to `.bts/specs/recipes/{id}/research/v1.md`.
## Step 2: Draft Design Document
Write a design spec:
- Problem statement and goals
- Proposed solution architecture
- Component breakdown
- Data flow (how data moves through the system)
- API contracts (if applicable)
- Technology choices with rationale
Save to `.bts/specs/recipes/{id}/draft.md`.
## Step 3: Verify Loop (