Align on done
Anything bigger than a one-sentence diff gets this phase. Before any code, the agent and I agree on what done means, in writing. The first failure the landing names, the page nobody asked for, is caught here or not at all.
The grill
Section titled “The grill”The division of labour is fixed: facts are the agent’s job, decisions are mine. The agent reads the code, the existing components, the product and design briefs, and comes back with questions, batched, each with its recommendation. I answer the decisions and nothing else.
The interviews are long on purpose. Matt Pocock calls a grill of “16 questions” (source: Matt Pocock: 5 agent skills I use every day) a short one and describes sessions “lasting nearly half an hour with 30, 40, or even 50 questions on really complex features” (source: Matt Pocock: 5 agent skills I use every day). The length is the point: “Claude Code tends to spit out a plan really early when in plan mode” (source: Matt Pocock: 5 agent skills I use every day), a document before the two sides understand each other, and the grill forces the understanding first. The v1 of this site was decided that way, in three rounds and a last question, each question with a recommended answer; the pivot to these docs took a grill of 33 questions before anyone wrote a spec.
Anthropic’s best practices ask for the same order: “for larger features have Claude interview you and write a spec before you start implementing” (source: Anthropic: Best practices for Claude Code).
The glossary and the decision records
Section titled “The glossary and the decision records”What I type is /grill-with-docs, because of the two grilling skills it is the one that “leaves files on disk” (source: Matt Pocock: grill-with-docs). “When a term resolves, the skill writes it to GLOSSARY.md at once, not in a batch at the end.” (source: Matt Pocock: grill-with-docs) A decision becomes a record only when it passes three gates, and “an ADR needs all three conditions at once, so most decisions do not qualify and most sessions produce none” (source: Matt Pocock: grill-with-docs).
This site’s GLOSSARY.md holds the words these pages use, each with its definition and the words to avoid: issue, size, ticket, tracer bullet, claim, evidence, gate, harness, judge, seat. Its one decision record so far is the pivot itself: what the site was, what it becomes, the options rejected and the consequences. Every ticket of this build starts by reading the glossary, so the words in the code and the tests follow the words on the pages. The reason is the picture Matt Pocock gives of the agent, “a colleague who wakes up with no memory every morning” (source: The Pragmatic Engineer: AI skills with Matt Pocock): the glossary and the records are what that colleague reads first.
The design direction for a UI surface
Section titled “The design direction for a UI surface”When the issue opens a new surface or a flow across screens, words are not enough; the direction is decided before the code too. I run /impeccable shape <feature>. It works in conversation: “clarify the job” (source: Impeccable: Shape), “set the boundaries” (source: Impeccable: Shape), “choose a direction: explore the structure and interaction where they are still open” (source: Impeccable: Shape), and “for new surfaces or a change of visual identity, work through the visual direction with you” (source: Impeccable: Shape). Then it confirms the brief, “capture the decisions, invite a correction, and stop before implementation” (source: Impeccable: Shape): “shape ends with the confirmed brief” (source: Impeccable: Shape), and the build starts from it. An existing surface gets variants on the real page with real data instead, which Use cases by phase covers.
What done means before any code
Section titled “What done means before any code”The exit of this phase is a list of acceptance criteria that can fail. For each criterion, the agent says what observation would prove it false, and confirms that it fails before any code is written. On this site that observation is a browser test, red against the build of main before the code that turns it green. What is out of scope is written down next to the criteria, so that the build cannot grow by accident.
Then the checkpoint: I confirm the intent and the plan before anything is built. The build does not reopen them; a new decision comes back to me instead.
The routine
Section titled “The routine”- When
- An issue sized M or L, before any code.
- What you type
/grill-with-docs, with the issue and what you already know; for a new UI surface,/impeccable shape <feature>as well.- What it produces
- The decisions with their reasons, new terms in
GLOSSARY.md, a decision record when one qualifies, a surface brief for a new surface, and acceptance criteria with what is out of scope. - What proves it
- Each criterion names the observation that would prove it false and fails before any code; you confirmed the intent and the plan.