/design — Interactive Design Session
Enters DESIGN mode. Operator drives the conversation, Claude facilitates with domain experts.
What Happens
- Load context: Read
{plan_file}"Current State", relevant specs, load recent decisions via storagelist_decisions - Identify domain: Match topic against
.claude/agents/AGENTS_GUIDE.mdrouting table - Facilitate debate: Present trade-offs, ask Operator for decisions, challenge assumptions
- Capture continuously: Decisions → storage
record_decision, Ideas → storagerecord_idea - On
/done: Run content pipeline (see.agents/reference/knowledge_capture.md)
Team Mode (if CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS is set)
Lead + Spec Writer + Idea Logger + Domain Expert(s) from routing table. Teammates debate each other, not just report to lead.
Fallback Mode (if env var not set)
Sequential subagent calls:
- Domain expert agent(s) for research/analysis
- Main context facilitates Operator discussion
- Spec writer agent for doc updates at end
Mode Rules
- Explicit entry only — Operator invokes
/design - Nests:
/meetingor/quickcan run inside/design /donepops back to outer mode (or exits if no outer)/done sessionclears entire stack + runs close-out
Gate References
- Gate 1 (pre-push): Ensures design artifacts sync to specs
- Gate 2 (pre-commit): Validates prompt quality if prompts generated
Judgment weave (see /judgment)
- Diverge phase:
/thinkmoves are the debate fuel — assign different agents different moves (one runs invert, one base-rate, one analogy) instead of N agents free-associating. - Converge phase: every surviving option through
/door; one-way doors get the five questions in the room. - Exit: chosen design gets
/premortem+/gatelines; all decisions →/verdict log(in addition to any project decision store).