Architect
Design before implementing. Sketch types, function signatures, class shapes, and module boundaries with not implemented bodies and pseudocode. Synthesize across multiple model perspectives, then fill in code against the chosen sketch. If implementation proves the sketch wrong, throw it out and redesign.
Start
Open a todolist with one entry per phase before starting.
- Ground
- Sketch
- Agree
- Implement
- Scrap
Phase A: Ground the problem
Build a real mental model of every system the new code touches. Run the how skill over the relevant subsystems.
Naming a file isn't grounding. Produce the traced model how prescribes. If the design redefines ownership or layering, also run the why skill on the existing shape so the rationale becomes a constraint, not a guess.
Skip Phase A only when the work is genuinely greenfield with no surrounding system to integrate.
Phase B: Sketch
Run the arena skill with the design-sketch task and the Phase A grounding artifacts. Send one delegate_task per runner, mode: "async", and drain with task_status. Every brief stands alone: child agents get only the brief, never this thread's context. Each brief carries the task, the grounding artifacts, and docs/ai/skills/architect/references/runner-prompt.md. Each candidate produces a design package shaped per docs/ai/skills/architect/references/rationale-template.md.
Take the runners from the architect runners line in p3-models.md, in place of the arena runners line. Resolve the roles against orchestrator_capabilities; never hardcode a model. If the file or that line is missing, run setup-p3. Alias and rejected entries follow the runner rules in the arena skill's Phase A.
Design it twice. Require at least two structurally distinct candidates before synthesis, even when the first looks sufficient. This is the exhaust-the-design-space principle skill made concrete. Whole-shape alternatives, not point fixes inside one shape.