When should you use it?
- Agents write most of your code
- You feel you no longer know how parts work
- You must extend the system later
Not for: One-off scripts; Code you will never maintain
What do you need, and what do you get?
You need
- Feature idea
- List of decisions that matter
- Agent that can make explainers
You get
- Spec from an interview
- Your decisions recorded
- Explainers and quizzes
How does it work, step by step?
- Get interviewedHave the agent ask you questions until the request is clear.
- Decide what mattersMake stack and design calls where they set the product apart.
- Delegate the restLet the agent decide routine parts such as login.
- Learn the systemAsk for diagrams, explainers and quizzes on parts you do not know.
- VerifyKeep tests and guardrails running in the loop.
The prompt
Our own prompt, inspired by iamwil on Hacker News and written to work in Claude Code. Values in lime are placeholders.
Fill in the blanks (optional; the copied prompt uses your values)
Before building {feature}, interview me: ask questions about anything ambiguous, one at a time, until the spec is clear. Mark which decisions you think are mine to make.
After building, write a brief explainer on the new part and five quiz questions to check my understanding.Inspired by iamwil on Hacker News: Comment in Ask HN: How to deal with shipping AI-written code you don't understand?. The prompt above is written by playbooks.bot in our own words; nothing from the original is quoted.
What can go wrong?
- Agents default to mainstream choices; push back where it matters.
- Code review alone is a weak way to learn a system, per the developer.
- Quizzes only help if you take them.
Our take
iamwil names a cost that productivity claims usually skip. If an agent writes the code, you never build the mental map that writing used to give you, and debugging a system you do not understand gets slow and risky. The four habits are a practical response. Being interviewed by the agent before it starts surfaces ambiguities while they are cheap to settle. Splitting decisions keeps your judgment on the parts that differentiate the product while the agent handles routine choices. The third habit is the most original: asking for explainers, diagrams, quizzes and even simulations of your own subsystems. A quiz on code you supposedly own is a quick, humbling way to find the blind spots before a production incident does. Verifiers and guardrails close the loop by catching what slipped through. To start, pick one subsystem a week, ask for a short explainer and five questions, and answer them without looking. Where you fail, read the code properly. Over time this keeps you the person who can still fix it at 2 a.m.
Where the time goes back: You can still reason about and extend your own product even when agents type most of it.
FAQ
Why not just review code?
What is an interview spec?
Source and credit
Inspired by iamwil on Hacker News. We describe the idea in our own words, link to the original, and wrote the prompt ourselves; nothing is quoted.
- Inspired by
- Comment in Ask HN: How to deal with shipping AI-written code you don't understand?
- Creator
- iamwil on Hacker News
- Published on
- Hacker News
- Original date
- Oct 19, 2026
- License
- Not openly licensed (the poster keeps all rights), so we quote nothing and link to the original
- Originally for
- Claude Code
- AI dry run
- Oct 23, 2026: passed. Dry-run tested by our AI test agent on sample input. PASS: Gates held on desk check; no live sends, bookings or purchases.
AI dry run on sample data; not run with live connected accounts. The playbooks.bot test agent filled the prompt with synthetic inputs, produced the output and checked it against the page's stated outputs and guardrails. - Verified
- Oct 23, 2026: source link resolves to the original, the credited creator published it, our excerpt or prompt matches it, and the license allows our use.
Are you the creator? Claim or correct this page.