Lesson 2 · Matt Pocock's Skills
Grilling: Walk the Design Tree
The agent asks the questions. You make the decisions.
Your win for this lesson
Given a feature idea, you can tell which questions belong in this round, which ones wait, and which ones the agent should look up instead of asking you. You can also tell when a decision deserves an ADR.
0. Warm-up
From Lesson 1, answered from memory. Spacing practice out like this is what makes it stick.
1. Idea one: rounds and the frontier
/grill-me and /grill-with-docs are thin wrappers. The actual interview is the model-invoked /grilling skill, and it's short enough to read in two minutes.[1] It turns your idea into a design tree, where each decision branches into the decisions that hang off it.
The frontier is every decision whose prerequisites are already settled. These are the questions the agent can ask now without guessing at answers it hasn't heard yet. Each round asks the whole frontier at once, then waits for you.[1]
Here's a running example. You ask for "let users snooze notifications."
- D1Does a snooze apply to one Notification, or to a whole Channel?
- D3When the snooze ends, deliver each held Notification, or one digest?
- D4Can a Channel snooze let urgent alerts through?
- D2How long can a snooze last: fixed presets, or any time?
- F1Fact: does the code already have delayed delivery?
- D5Reuse that scheduler, or build a new delay queue?
Round 1 asks D1 and D2. D3 and D4 can't be asked yet, because whether they even make sense depends on D1. The format is fixed:[1]
❓ Q1 - Snooze scope: Should a snooze apply to a whole Channel,
rather than one Notification at a time?
➡️ Yes. Users snooze sources of noise, not single messages.
---
❓ Q2 - Duration: Should snooze offer fixed presets (1h, 8h, 1 week)?
➡️ Yes. Presets keep the UI simple and the scheduling bounded.
Two details make it fast. Each question comes with the agent's recommended answer, and each is worded so that "yes" accepts the recommendation. Often you can answer a whole round with "yes, yes, no: urgent alerts always get through." Every answer pushes the frontier outward. The session is done when the frontier is empty, and the agent must not act until you confirm you share an understanding.[1]
2. Idea two: facts are the agent's job
The skill draws a hard line between two kinds of question:[1]
- Facts (what's in the code, the files, the tools) are the agent's job. It "dispatches a sub-agent to find it" and must not ask you anything it could look up.
- Decisions are yours. The agent puts each one to you and waits.
A lookup that's still running counts as an unsettled prerequisite. In the example, F1 goes to a subagent. Only D5 waits for its answer, and D1 and D2 get asked meanwhile. This is the subagent pattern from your context-engineering lesson: exploration happens in a separate context window, and only the summary comes back.
How to spot a bad grilling
If the agent asks "which ORM do you use?" or "where is the notification model?", it's asking you for facts. Push back: "look it up."
3. Idea three: grilling that leaves docs
/grill-with-docs is two calls: /grilling plus /domain-modeling.[2] The second one makes the interview leave two kinds of document behind:[3]
GLOSSARY.md: updated during the interview
The agent challenges terms that conflict with the glossary, sharpens fuzzy words ("by account, do you mean the Customer or the User?"), invents edge-case scenarios, and checks your claims against the code. When a term is settled, it goes into the glossary straight away, in the same **Term**: definition + _Avoid_: format this course's glossary uses. The glossary is only for terms specific to this project. Implementation details and general programming concepts like "timeout" don't belong in it.[4]
ADRs: offered sparingly
The agent offers an ADR in docs/adr/ only when all three tests pass:[5]
- Hard to reverse: changing your mind later costs something real
- Surprising without context: a future reader would wonder "why on earth?"
- A real trade-off: there were genuine alternatives
If any one is missing, there's no ADR. An ADR can be a single paragraph: context, decision, why.
4. Practice
Drill A: sort the snooze questions
The tree has grown. D1 and D2 are not answered yet, so it's still before Round 1. Where does each question go?
Drill B: ADR or not?
Apply all three tests.
Drill C: in the session
Optional: feel it for real (5 min)
No plugin needed for this. Copy the grilling SKILL.md into ~/.claude/skills/grilling/, open Claude Code anywhere, and say: "grill me on: a CLI that summarises my git log each Friday." Look for three things: numbered rounds, a recommended answer on each question, and the agent looking things up instead of asking you.
Primary source
Read grilling/SKILL.md (2 minutes, every word counts), then domain-modeling/SKILL.md. For a real glossary, see Pocock's course-video-manager glossary (named CONTEXT.md back then).
Stuck on something?
Ask me in Claude Code. Good questions: "how is grilling different from plan mode?", "what does a good ADR look like for my Kafka work?", or "grill me on a real feature now."
The Grilling Card has all of this on one page. See also the Skill Map.