Day 2, 30 minutes · advanced
Why it matters
In the first client meeting you hear how the work really happens. A requirements document written afterwards gets a polite nod and comments weeks later. A prototype that runs on the screen gets corrected on the spot: "no, we never send that", "that is not where the order number is". That correction is the most useful thing a first meeting can give you, and it only comes when there is something to look at.
So the aim is to have a working slice before the meeting ends, without touching a single row of client data. You practise on Kettlebrook Wholesale, a made-up wholesaler of kitchen equipment whose support team answers about sixty order-status emails a day by hand.
At the end of this lesson you have a slice that turns one email into one draft reply, a demo of it that fits in five minutes, and a half-page discovery note that says what you saw, what was fake and what comes next.
The steps
1. Ask the questions that decide the design
Five questions shape almost every design. Ask them early, in this order:
- Who does it today?
- How often?
- What does a wrong answer cost?
- Where does the data live?
- Who signs off before anything leaves the building?
At Kettlebrook the answers come from Ilse, who leads the support team of three. Write them down as a ten-line problem statement. This is problem.md:
Client: Kettlebrook Wholesale (made up). Kitchen equipment for restaurants and cafes.
Who does it today: Ilse and her support team of three.
How often: about sixty order-status emails a day, each answered by hand.
How: read the email, find the order id, look up the status, type a reply.
Data: one order list with order id, customer, status and expected delivery date.
A wrong answer costs: a customer plans around a status that is not true.
Sign-off: a person at Kettlebrook reads every reply and sends it.
Goal for today: one draft reply made from one email.
Out of scope today: sending email, real data, every case except the simplest one.
Owner after the handover: Tomas, Kettlebrook's engineer.
2. Pick the thinnest slice
A thin slice is the smallest piece that works from start to end: one input, one output, one happy path. The happy path is the simple case where nothing goes wrong. Here the input is the id of one sample email, the output is a draft reply, and the happy path is email E-001. The reply comes from a fixed template. No model writes it yet. The slice only ever writes a draft: a person at Kettlebrook reads it and sends it.
3. Walk in prepared
Make the starter repository before the meeting. If you only use a chat tool, the prompt in your tool's guide carries the data, but still make the folder: later lessons save files in it. Create a folder orderdesk/, run git init in it, add problem.md, and copy orders.py and test_orders.py from your day 1 folder agent-trace/. Then add the made-up data that looks like the client's. First data/orders.csv:
order_id,customer,status,expected_delivery
WH-10432,Sanne,delayed,2026-12-03
WH-10433,Daan,shipped,2026-11-30
WH-10434,Priya,processing,2026-12-05
WH-10435,Marco,delivered,2026-11-24
WH-10436,Emma,shipped,2026-12-01
WH-10437,Priya,processing,2026-12-08
Then data/sample_emails.csv:
email_id,from_name,subject,body
E-001,Sanne,Where is my order,"Hi, where is my order WH-10432? I need the pans before Friday."
E-002,Daan,Status,"status of wh-10433 please"
E-003,Priya,Two orders,"Can you tell me where WH-10434 and WH-10437 are?"
E-004,Marco,Missing order,"Where is WH-19999? It should be here by now."
E-005,Emma,Bestelling,"Hallo, waar blijft mijn bestelling WH-10436?"
E-006,Daan,No news,"I ordered two weeks ago and heard nothing."
Commit all starter files once they are in, so that git status later shows what the agent changed.
4. Plan first, then build
Plan mode is a setting in which the agent may read files and propose a plan, but holds its edits until you approve that plan. It is the permission choice from day 1 that fits a meeting: the client sees the plan before anything is built. We found no plan step that the chat routes of this lesson enforce, so there your prompt asks for the plan and waits.
Ask for the plan, then read it out loud as if Ilse were in the room. Give it her two corrections: every draft ends with a line saying a person checks it, and only the happy path is built today. Approve the corrected plan and let the agent build the slice. Pick your tool below and follow the steps. In a coding tool you work in orderdesk/. In a chat tool you build the same slice as a one-screen app with the six orders built in: paste one email, see the draft.
5. Hold three lines in the room
This is our advice for every client meeting, not a vendor rule:
- No real customer data, not even "only one example".
- No client passwords or keys in your terminal or in a prompt.
- No promises about accuracy. You show a draft that a person checks.
Check the result
In a coding tool, run python draft_reply.py E-001 (use python3 if python is not found). In a chat tool, paste the body of E-001 into the app. Both must give exactly this:
Subject: Your order WH-10432
Hello,
Your order WH-10432 is delayed.
Kind regards,
Kettlebrook support
DRAFT. A person checks this before it is sent.
No name and no date yet: that is on purpose. In a coding tool, also run python -m unittest and check with git status that nothing under data/ changed.
Then time the demo. Five minutes is enough for the problem in one sentence, the plan, one run on E-001, and the draft on screen. If it takes longer, the slice is too thick.
Write the discovery note
Save half a page as discovery-note.md, in your own words, in three parts:
What we saw:
Ilse's team answers about sixty order-status emails a day by hand. Every reply is checked by a person.
What was fake:
All data (orders and emails are made up). The template wording. Every case except E-001: lower case ids (E-002), two orders in one email (E-003), an order that is not in the data (E-004), an email in Dutch (E-005), no order number at all (E-006).
What comes next:
Agree which of these cases matter most, and who at Kettlebrook owns the order data.
The cases you skip today are not lost. They become the test cases of day 6, where you prove that a change made the drafts better.
Reuse it on a real job
Keep orderdesk/ as the shape of every starter repository: a problem statement, a small made-up dataset in the client's columns, and an empty slot for the slice. Before the next meeting, swap in made-up rows that look like that client's data, and you can build while they talk.
Today's actions
Ticks are not saved without an accountDo it in your tool
Claude
- Start a new chat in Claude on the web or in Claude Desktop.
- Paste this prompt and send it. Claude writes the plan and waits for your OK.
All data here is made up. I am prototyping in a client meeting. Problem: the support team of Kettlebrook Wholesale, a wholesaler of kitchen equipment, answers about sixty order-status emails a day by hand. A person checks every reply before it is sent. Order data: order_id,customer,status,expected_delivery WH-10432,Sanne,delayed,2026-12-03 WH-10433,Daan,shipped,2026-11-30 WH-10434,Priya,processing,2026-12-05 WH-10435,Marco,delivered,2026-11-24 WH-10436,Emma,shipped,2026-12-01 WH-10437,Priya,processing,2026-12-08 Step 1: write a short plan for a one-screen app. One input: a pasted customer email. One output: a draft reply. One happy path: the email names one order from the data above. The six orders are built into the app. The draft uses this fixed template: Subject: Your order <order id> Hello, Your order <order id> is <status>. Kind regards, Kettlebrook support List what you will build and what is fake. Then stop and wait for my OK. Do not build anything yet. - Read the plan as the client would, then send the two corrections and read the new plan.
Two corrections from the client. 1. Every draft ends with this last line, after an empty line: DRAFT. A person checks this before it is sent. 2. Build only the happy path. Do not handle other cases yet: list them for my notes instead. Update the plan and show it again. - Send the build request when the plan is right. The artifact opens beside your conversation.
Go. Build the plan as an artifact: one text box for the email and the draft below it. Use only the order data above. - Paste the body of email E-001 into the text box of the artifact and compare the draft with the one in the lesson.
Hi, where is my order WH-10432? I need the pans before Friday. - Click Try fixing with Claude near the error message if the artifact shows an error.
- Find the artifact again before the demo in the Artifacts tab in the Claude sidebar.
Note: Building an artifact works on the Free plan. Sharing a new one with Anyone with the link and storing data in it need Pro, Max, Ultra, Team or Enterprise. We found no page that says a shared link opens in a phone browser, so demo from your own screen. Artifacts need the setting Create and edit files (older name: Cloud code execution and file creation). If artifacts are switched off, ask for the slice as one HTML file in a code block and open it in a browser.
ChatGPT
- Start a new chat in ChatGPT.
- Paste this prompt and send it. ChatGPT writes the plan and waits for your OK.
All data here is made up. I am prototyping in a client meeting. Problem: the support team of Kettlebrook Wholesale, a wholesaler of kitchen equipment, answers about sixty order-status emails a day by hand. A person checks every reply before it is sent. Order data: order_id,customer,status,expected_delivery WH-10432,Sanne,delayed,2026-12-03 WH-10433,Daan,shipped,2026-11-30 WH-10434,Priya,processing,2026-12-05 WH-10435,Marco,delivered,2026-11-24 WH-10436,Emma,shipped,2026-12-01 WH-10437,Priya,processing,2026-12-08 Step 1: write a short plan for a one-screen app. One input: a pasted customer email. One output: a draft reply. One happy path: the email names one order from the data above. The six orders are built into the app. The draft uses this fixed template: Subject: Your order <order id> Hello, Your order <order id> is <status>. Kind regards, Kettlebrook support List what you will build and what is fake. Then stop and wait for my OK. Do not build anything yet. - Read the plan as the client would, then send the two corrections and read the new plan.
Two corrections from the client. 1. Every draft ends with this last line, after an empty line: DRAFT. A person checks this before it is sent. 2. Build only the happy path. Do not handle other cases yet: list them for my notes instead. Update the plan and show it again. - Send the build request when the plan is right. ChatGPT puts the page in a code block.
Go. Build the plan as one web page in a single HTML file: one text box for the email and the draft below it. Use only the order data above. - Select Preview on the code block to view the page inside ChatGPT. If Preview does not appear, the block may already show the preview.
- Paste the body of email E-001 into the page and compare the draft with the one in the lesson. Ask for fixes in the chat and switch between Code and Preview.
Hi, where is my order WH-10432? I need the pans before Friday. - Copy the code from the block and save it as
prototype.html, so you can open it in a browser for the demo.
Note: OpenAI's pages do not say which plans include code block Preview. Check your own plan before you count on it. ChatGPT Sites is a second route that builds a small site you can share by link. It is a public beta on Plus, Pro, Business and Enterprise, not on Free or Go, and we found no page that confirms it for the Netherlands. A workspace admin can switch off code execution. If Preview is not offered, do the last step and open the file in a browser.
Gemini
- Go to gemini.google.com in your browser and start a new chat.
- Paste this prompt and send it. Gemini writes the plan and waits for your OK.
All data here is made up. I am prototyping in a client meeting. Problem: the support team of Kettlebrook Wholesale, a wholesaler of kitchen equipment, answers about sixty order-status emails a day by hand. A person checks every reply before it is sent. Order data: order_id,customer,status,expected_delivery WH-10432,Sanne,delayed,2026-12-03 WH-10433,Daan,shipped,2026-11-30 WH-10434,Priya,processing,2026-12-05 WH-10435,Marco,delivered,2026-11-24 WH-10436,Emma,shipped,2026-12-01 WH-10437,Priya,processing,2026-12-08 Step 1: write a short plan for a one-screen app. One input: a pasted customer email. One output: a draft reply. One happy path: the email names one order from the data above. The six orders are built into the app. The draft uses this fixed template: Subject: Your order <order id> Hello, Your order <order id> is <status>. Kind regards, Kettlebrook support List what you will build and what is fake. Then stop and wait for my OK. Do not build anything yet. - Read the plan as the client would, then send the two corrections and read the new plan.
Two corrections from the client. 1. Every draft ends with this last line, after an empty line: DRAFT. A person checks this before it is sent. 2. Build only the happy path. Do not handle other cases yet: list them for my notes instead. Update the plan and show it again. - Click Add Files below the text box at the bottom, then Canvas.
- Enter the build request, paste the approved plan under it, and click Submit. The app opens in the Canvas panel.
Build this approved plan as an app: one text box for the email and the draft below it. Use only this order data: order_id,customer,status,expected_delivery WH-10432,Sanne,delayed,2026-12-03 WH-10433,Daan,shipped,2026-11-30 WH-10434,Priya,processing,2026-12-05 WH-10435,Marco,delivered,2026-11-24 WH-10436,Emma,shipped,2026-12-01 WH-10437,Priya,processing,2026-12-08 The plan: - Paste the body of email E-001 into the app and compare the draft with the one in the lesson. Click Show console if you need to see errors.
Hi, where is my order WH-10432? I need the pans before Friday. - Click Select & ask at the bottom right of the Canvas panel to fix one part: select the section, type the change and press Enter.
Note: A shared Canvas link opens only at gemini.google.com, not in the Gemini mobile app. Anyone with a public link to the app can view and edit its data, so share only made-up data. We found no page that describes a plan step in Canvas: the plan comes from your prompt. If Canvas is not offered, ask for the slice as one HTML file in a code block and open it in a browser.
Microsoft Copilot
- Sign in to microsoft365.com with your work or school account, open Copilot Chat and select the Work or Web tab.
- Paste this prompt and select Send. Copilot writes the plan and waits for your OK.
All data here is made up. I am prototyping in a client meeting. Problem: the support team of Kettlebrook Wholesale, a wholesaler of kitchen equipment, answers about sixty order-status emails a day by hand. A person checks every reply before it is sent. Order data: order_id,customer,status,expected_delivery WH-10432,Sanne,delayed,2026-12-03 WH-10433,Daan,shipped,2026-11-30 WH-10434,Priya,processing,2026-12-05 WH-10435,Marco,delivered,2026-11-24 WH-10436,Emma,shipped,2026-12-01 WH-10437,Priya,processing,2026-12-08 Step 1: write a short plan for a one-screen tool. One input: a pasted customer email. One output: a draft reply. One happy path: the email names one order from the data above. The six orders are built into the tool. The draft uses this fixed template: Subject: Your order <order id> Hello, Your order <order id> is <status>. Kind regards, Kettlebrook support List what you will build and what is fake. Then stop and wait for my OK. Do not build anything yet. - Read the plan as the client would, then send the two corrections and read the new plan.
Two corrections from the client. 1. Every draft ends with this last line, after an empty line: DRAFT. A person checks this before it is sent. 2. Build only the happy path. Do not handle other cases yet: list them for my notes instead. Update the plan and show it again. - Send the build request when the plan is right. It uses the words app and interactive, which tell Copilot to write code. A Copilot Page opens side by side.
Go. Build the plan as an interactive app: one text box for the email and the draft below it. Use only the order data above. - Use the Preview toggle to try the app. Paste the body of email E-001 and compare the draft with the one in the lesson. Keep chatting to fix what is wrong.
Hi, where is my order WH-10432? I need the pans before Friday.
Note: Copilot Pages has no documented plan step, so the plan comes from your prompt. Microsoft's Pages help page was last updated in April 2026, so labels on your screen may differ. The Code tab of Microsoft Copilot has a Plan working mode, but it is a preview that your organisation must switch on, and on a personal account it is offered only in the United States and Canada. Without Pages, ask for one HTML file in a code block and open it in a browser.
Paid planCounts as paid because the steps need a work or school Microsoft 365 account with SharePoint or OneDrive storage. Microsoft says Pages needs no Microsoft 365 Copilot licence on such an account.
Claude Code
- Run
claudein yourorderdesk/folder. - Press Shift+Tab until the status bar shows plan mode on. You can also start with
claude --permission-mode plan. - Paste this prompt. Claude reads the files, presents a plan and asks how to proceed.
Read problem.md, data/orders.csv and data/sample_emails.csv. Plan the thinnest working slice. One input: the email_id of one sample email. One output: a draft reply printed in the terminal. One happy path: E-001. Add status_for(order_id) to orders.py, reading data/orders.csv, with a test in test_orders.py. Add draft_reply.py, so that python draft_reply.py E-001 prints a draft from this fixed template: Subject: Your order <order id> Hello, Your order <order id> is <status>. Kind regards, Kettlebrook support Use only the Python standard library. No model call and no network. Do not change any file in data/. List the files you will create or change and how I run the slice. Do not write code until I approve the plan. - Choose No, keep planning and paste the two corrections. Careful: pressing Shift+Tab at this prompt approves the plan, so press Esc first if you want to leave it.
Two corrections from the client. 1. Every draft ends with this last line, after an empty line: DRAFT. A person checks this before it is sent. 2. Build only the happy path. Do not handle other cases yet: list them for my notes instead. Update the plan and show it again. - Choose Yes, manually approve edits when the plan is right, so that you review each edit as it is made.
- Run
python draft_reply.py E-001andpython -m unittestyourself when it is done, and compare the draft with the one in the lesson.
Note: In plan mode Claude reads files and runs commands to explore, but does not edit your source until you approve the plan. Commands outside its built-in read-only set ask for approval first, unless auto mode is available and reviews them. At the plan prompt, Ctrl+G opens the plan in your text editor if you would rather edit it than type corrections. Use /permissions to add a deny rule if the folder holds files the agent must not read, such as .env.
Paid planNeeds a paid Claude plan (Pro, Max, Ultra, Team or Enterprise) or a Claude Console account. The Free plan does not include Claude Code.
OpenAI Codex
- Run
codexin yourorderdesk/folder. - Type
/planand press Enter to switch the active chat into plan mode. - Paste this prompt and press Enter. Codex gathers context, asks clarifying questions and builds a plan.
Read problem.md, data/orders.csv and data/sample_emails.csv. Plan the thinnest working slice. One input: the email_id of one sample email. One output: a draft reply printed in the terminal. One happy path: E-001. Add status_for(order_id) to orders.py, reading data/orders.csv, with a test in test_orders.py. Add draft_reply.py, so that python draft_reply.py E-001 prints a draft from this fixed template: Subject: Your order <order id> Hello, Your order <order id> is <status>. Kind regards, Kettlebrook support Use only the Python standard library. No model call and no network. Do not change any file in data/. List the files you will create or change and how I run the slice. Do not write code until I approve the plan. - Answer the questions as the client would, then paste the two corrections and read the new plan.
Two corrections from the client. 1. Every draft ends with this last line, after an empty line: DRAFT. A person checks this before it is sent. 2. Build only the happy path. Do not handle other cases yet: list them for my notes instead. Update the plan and show it again. - Choose Yes, clear context and implement when the plan is ready. Codex starts a fresh chat with the complete plan and builds it.
- Run
python draft_reply.py E-001andpython -m unittestyourself when it is done, and compare the draft with the one in the lesson.
Note: /plan is not available while Codex is already working, so wait until it stops. If Codex cannot transfer the plan to a fresh chat, it keeps the current chat open. For a rough idea, OpenAI also suggests telling Codex to interview you and challenge your assumptions before it writes code, which suits a discovery meeting.
Paid planThe Codex CLI needs ChatGPT Plus, Pro, Business, Enterprise or Edu, or an API key. A free route for the CLI is not confirmed.
Gemini CLI
- Start Gemini CLI in Plan Mode in your
orderdesk/folder withgemini --approval-mode=plan. - Paste this prompt. The agent explores read-only, may ask questions, and waits for your confirmation before it drafts the formal plan.
Read problem.md, data/orders.csv and data/sample_emails.csv. Plan the thinnest working slice. One input: the email_id of one sample email. One output: a draft reply printed in the terminal. One happy path: E-001. Add status_for(order_id) to orders.py, reading data/orders.csv, with a test in test_orders.py. Add draft_reply.py, so that python draft_reply.py E-001 prints a draft from this fixed template: Subject: Your order <order id> Hello, Your order <order id> is <status>. Kind regards, Kettlebrook support Use only the Python standard library. No model call and no network. Do not change any file in data/. List the files you will create or change and how I run the slice. Do not write code until I approve the plan. - Confirm the approach when the agent asks, so that it drafts the formal plan.
- Paste the two corrections and read the new plan. Press Ctrl+X to open the plan file in your editor if you would rather change steps yourself.
Two corrections from the client. 1. Every draft ends with this last line, after an empty line: DRAFT. A person checks this before it is sent. 2. Build only the happy path. Do not handle other cases yet: list them for my notes instead. Update the plan and show it again. - Approve with Yes, manually accept edits so that you still see each write.
- Run
python draft_reply.py E-001andpython -m unittestyourself when it is done, and compare the draft with the one in the lesson.
Note: Google now sends individuals to Antigravity CLI, a different product. This course has no checked steps for it. We found no page that says whether Plan Mode is a finished feature or still experimental. In Plan Mode the agent uses read-only tools and writes only plan files. Plans are kept under ~/.gemini/tmp/ by default. Without the licence or a paid key you cannot do this tab.
Paid planNeeds a company Gemini Code Assist Standard or Enterprise licence, or a paid Gemini API or Vertex AI key. Free and Google AI Pro or Ultra sign-in stopped on 18 June 2026.
Cursor
- Open your
orderdesk/folder in Cursor. - Open the Agent panel with Ctrl + I (Windows, Linux) or Cmd + I (Mac).
- Press Shift + Tab from the chat input until the mode shows Plan.
- Paste this prompt and press Return. Answer the clarifying questions the agent asks.
Read problem.md, data/orders.csv and data/sample_emails.csv. Plan the thinnest working slice. One input: the email_id of one sample email. One output: a draft reply printed in the terminal. One happy path: E-001. Add status_for(order_id) to orders.py, reading data/orders.csv, with a test in test_orders.py. Add draft_reply.py, so that python draft_reply.py E-001 prints a draft from this fixed template: Subject: Your order <order id> Hello, Your order <order id> is <status>. Kind regards, Kettlebrook support Use only the Python standard library. No model call and no network. Do not change any file in data/. List the files you will create or change and how I run the slice. Do not write code until I approve the plan. - Read the plan, which opens as a file you can edit. Paste the two corrections in the chat, or make them in the plan yourself.
Two corrections from the client. 1. Every draft ends with this last line, after an empty line: DRAFT. A person checks this before it is sent. 2. Build only the happy path. Do not handle other cases yet: list them for my notes instead. Update the plan and show it again. - Click Build when you are happy with the plan, to start coding.
- Click Save to workspace to keep the plan next to the code for your discovery note.
- Run
python draft_reply.py E-001andpython -m unittestyourself when it is done, and compare the draft with the one in the lesson.
Note: Cursor's pages name no plan for Plan mode on the current plans. The legacy paid Start plan lists it, and the Free plan is described only as Agent, Chat and Tab. Check your own plan before you count on it. Without Save to workspace a plan stays in your home directory. To start over, click Revert on an earlier chat message, then Confirm.
GitHub Copilot
- Run
copilotin yourorderdesk/folder and trust the folder for this session. - Press Shift+Tab until plan mode shows. You can also start from the shell with
copilot --plan. - Paste this prompt. Copilot asks clarifying questions and builds a plan before any code is written.
Read problem.md, data/orders.csv and data/sample_emails.csv. Plan the thinnest working slice. One input: the email_id of one sample email. One output: a draft reply printed in the terminal. One happy path: E-001. Add status_for(order_id) to orders.py, reading data/orders.csv, with a test in test_orders.py. Add draft_reply.py, so that python draft_reply.py E-001 prints a draft from this fixed template: Subject: Your order <order id> Hello, Your order <order id> is <status>. Kind regards, Kettlebrook support Use only the Python standard library. No model call and no network. Do not change any file in data/. List the files you will create or change and how I run the slice. Do not write code until I approve the plan. - Answer the questions, then paste the two corrections and ask for a revised plan.
Two corrections from the client. 1. Every draft ends with this last line, after an empty line: DRAFT. A person checks this before it is sent. 2. Build only the happy path. Do not handle other cases yet: list them for my notes instead. Update the plan and show it again. - Press Ctrl+y to read and edit the plan in your Markdown editor. Check that it has one input, one output and one happy path.
- Type
Implement this planwhen the plan is right. Read each permission prompt before you allow it. - Run
python draft_reply.py E-001andpython -m unittestyourself when it is done, and compare the draft with the one in the lesson.
Note: A real run uses AI credits, so the limit of your plan applies, also on the Free plan. Plan mode blocks edits to project files, but GitHub calls it a safety net, not a guarantee: shell commands whose effect is unclear and calls to MCP tools still go through. The plan is saved as plan.md in the session folder.
Create a free account to save your progress
Free, and no payment details. Your ticks and finished lessons are kept, on every device.
Create a free account I already have an accountCreate a free account to save your progress. Sign in or sign up