Two-stage grilling session for any non-trivial app, feature, or refactor — FIRST map the SHAPE of the design tree (breadth: decision axes, branches, and dependencies), THEN resolve the current dependency frontier in numbered rounds with a recommendation for every question, escalating load-bearing uncertainty to prototypes and updating CONTEXT.md / ADRs as decisions crystallise. Use whenever the user wants to plan, stress-test, or align before a PRD or code, including "let's think through this", "grill me", "help me plan X", "what am I missing", or "interrogate this idea". Pre-PRD phase of the 7-phase AI-development pipeline.
Align with me on the design before any code gets written. The job is to reach a shared understanding of what we're building and why, capture the durable decisions, and leave the codebase's language sharper than you found it.
Do this in two stages. The mistake the original skill made was going straight to Stage 2 — walking branches depth-first before anyone could see the whole tree. A late branch then invalidates decisions you already nailed down. Map the tree's shape first.
Before asking a single deep question, map the shape of the design: the major decision axes, where they branch, and which decisions block which. You cannot correctly walk a tree you cannot see.
Read DESIGN-TREE.md for how to enumerate and present the tree. In short:
Why: surfacing dependencies up front lets you spend depth only where it pays, and tells you which branches deserve a higher-fidelity prototype (Stage 2) versus a one-line answer.
Now walk the load-bearing branches without serializing independent decisions. The frontier is every unresolved decision whose prerequisites are settled. Ask the whole current frontier in one numbered round, with a recommended answer for every question, then wait for the user's answers. Recompute the tree and its frontier after each round.
Q1 — <question title>: <decision and realistic choices>
Recommendation: <recommended answer and why>prototype skill (LOGIC: a runnable terminal app pushing the state machine through hard cases; UI: several variations on one route). Keep only the answer.The grill is complete only when the frontier is empty, every material branch is settled or explicitly deferred with an owner, and the user confirms the shared understanding. Then continue to the PRD (to-prd).
During codebase exploration, look for existing docs. Most repos have a single context (CONTEXT.md at root, docs/adr/ for decisions). If a CONTEXT-MAP.md exists at root, the repo has multiple contexts; read it to find which one the topic relates to. Create files lazily — only when you have something to write.
CONTEXT.md, call it out immediately.CONTEXT.md inline as terms resolve — don't batch. It is a glossary and nothing else (no implementation details). Format: CONTEXT-FORMAT.md.Only offer an ADR when all three are true: hard to reverse, surprising without context, the result of a real trade-off. Otherwise skip it. Format: ADR-FORMAT.md.
*Adapted from Matt Pocock's grill-with-docs and grilling (MIT). The breadth-first Stage 1 is Kevin's local addition; dependency-frontier rounds follow the v1.2 source and saved demo. See wiki/concepts/design-tree-exploration.md and wiki/workflows/ai-powered-development-phases.md.*