ninja nerdingPrompt bigger: Theo on end-to-end agents
Prompt bigger: Theo on end-to-end agents
Theo opened MEGA's free live session in August with a 15-minute whiteboard talk. The short of it: most people only let the agent type the code. Hand it the whole job, say the goal and how to check, and then aim agents at review and testing, where the slop piles up.
Jump to the 15-step map, his two prompts, or try it yourself.
The video
15 minutes, posted Aug 27, 2026 by MEGA DEV, recorded for their free live session on Aug 25. Theo draws on a whiteboard the whole way; there's no live demo. The video has no chapters, so these are ours. Every timestamp on this page opens the video at that moment.
- 0:05 Why this talk: the MEGA kickoff
- 0:51 Think bigger
- 1:09 How a ticket ships today, in 15 steps
- 2:46 Where AI sits in that cycle
- 4:58 The gaps between are people
- 6:01 More steps per prompt
- 8:10 A co-worker, not a keyboard
- 9:02 Prompt bigger: two prompts
- 10:47 Scope, goal and a way to check
- 12:06 “What did you touch?”
- 12:31 The slop-ocalypse
- 13:03 The math: coding goes to zero, review stays
- 14:07 Three fixes, then the course pitch
Ten signals
The whole talk in ten boxes. Each links to the part of this page that explains it.
- 018:16
Let it own the job, not the keyboard
Most engineers use the agent as a faster keyboard: it types in their editor. Theo treats it as a co-worker who owns the work until it's ready to hand back to a person.
How - 024:35
Most teams use AI in a few separate spots
Writing the code, fixing review notes, maybe an AI reviewer. Everything before the ticket, and everything between those spots, is still people.
How - 034:58
The gaps are where the time goes
Each hand-off waits for someone to get to it. Across time zones, a fix of under 100 lines can take weeks.
How - 046:32
Put more steps in one prompt
Not “fix this file”. Fix the whole problem, test it in a browser, write a test that fails until the bug is gone, have helper agents review as it goes.
How - 0511:05
Say the goal, not the files
Tell it what you want to be true, not which code you think should change. Tickets are often wrong about the code.
How - 0611:41
Give it a way to check
Something it can run to prove the job is done the way you meant: a test, a browser, a list of languages to try.
How - 0712:06
Big prompts are scary. Ask what it touched.
You can't know up front what a big prompt will change. That's fine: read what it did, and ask “What did you touch?”
How - 086:23
People still review
He isn't saying drop code review or the product manager's check. The agent just gets much further before it needs you.
How - 0913:05
Coding went to zero. Review didn't.
3 to 6 hours of coding is now minutes. The 30-minute review and 20-minute test per change stayed, and there are ten times as many changes.
How - 1014:07
Point agents at review and testing next
Smaller, tidier changes. Agent reviewers that help you, not replace you. Sandboxes where agents test their own work.
How
Words on this page
24 terms, in plain words. Skip this if you already work with coding agents and teams.
- Agent
- An AI that works in steps on its own: reads files, runs commands, edits code, checks its work. Claude Code and Codex are agents.
- Prompt
- What you type to the agent. On this page, the instructions for one piece of work.
- Ticket
- One piece of work written down in a tracker such as Jira or Linear: “fix the login bug”, with details.
- Product manager (PM)
- The person who decides what gets built and checks it solves the user's problem.
- Designer
- Draws what a change should look like before anyone writes code.
- Tech lead
- The senior engineer who turns the plan into tickets.
- Engineer 1, Engineer 2
- Theo's names for the person who writes the change and the person who reviews it.
- Pull request (PR)
- A proposed code change, waiting to be reviewed and merged.
- Code review
- A second person reads the change and asks for fixes before it goes in.
- Merge, ship
- Merge puts the change into the main code. Ship puts it in front of users.
- End-to-end test
- A test that uses the app the way a person would, start to finish: open the page, click, check what shows up.
- Failing test first
- Write a test that shows the bug (it fails), then fix until it passes. Proof the bug was real and is gone.
- Subagent
- A helper agent the main agent starts for part of the work, such as a reviewer.
- Staging environment
- A copy of the app that works like the real one but holds fake data, so tests can't hurt real users.
- Mock data
- Fake data made for testing.
- Sandbox
- A walled-off space where an agent can run and break things safely.
- Repo
- A project's code folder, tracked with Git. Bigger products are often split across several.
- Localization
- Making an app work in other languages.
- Primitives
- The basic shared building blocks everything else uses. In his prompt, the shared translation functions.
- Surfaces
- Every place users meet the app: pages, emails, the phone app, error messages.
- Verify, validate
- Check that a change does what you wanted by running it, not just by reading it.
- Slop
- AI output that looks finished but isn't: extra code, wrong fixes, padding.
- Slop-ocalypse
- Theo's word for the flood of AI-made pull requests people now have to review and test.
- Wispr Flow
- A voice-to-text app. Theo's arm was in a cast, so he dictated the big prompt.
Prompting bigger, in plain terms
Not a tool. A habit: give the agent the whole problem instead of one edit, and tell it how to prove it's done. It works the same in Claude Code, Codex or any other agent.
Line by line · the agent as a keyboard
- You name the file and the change.
- It types, then stops and waits for you.
- You check it, find the mistakes, and send the next edit.
- Every gap is you.
End to end · the agent as a co-worker
- You say what should be true when it's done.
- It finds the files, makes the change, and tests it.
- It fixes its own small mistakes before you see them.
- You read one finished change and decide.
Six examples, three basic and three advanced. The translation one is Theo's; the rest are ours, written the way he describes.
Basic
01A contact form that doesn't send
Smaller
Fix the submit handler in ContactForm.tsx.
Bigger
People say the contact form doesn't send. Find out why and fix it. Send a test message yourself and show me it arrived.
02A header that breaks on phones
Smaller
Change the padding in Header.tsx.
Bigger
The header breaks on small phones. Fix it everywhere it appears, check every page at 320px wide in a browser, and send me screenshots.
03A renamed button
Smaller
Change “Sign up” to “Join” in the hero.
Bigger
We now say “Join”, not “Sign up”. Change it everywhere users can see it, including emails, and list every place you changed.
Advanced
04Translations across every projecthis example
Smaller
Update app.tsx to use the new localization primitives found in [link]
Bigger
Centralize localization across all of our repos so that the same primitives are used consistently. I want to make sure that certain keywords are translated properly in all of the surfaces that are exposed to users. Make sure you validate this in multiple languages and make sure this set of keywords is translated consistently across all of the surfaces that matter.
05A feature that spans two projects
Smaller
Add a lastSeen field to the user API.
Bigger
Show a “last seen” time on user profiles. It needs the API project and the web app. Open one pull request in each, link them to each other, and show it working end to end on staging.
06A bug, with proof and a reviewer
Smaller
Increase the session timeout in auth.ts.
Bigger
Users get logged out after 5 minutes. Write an end-to-end test that fails because of this, fix it until the test passes, and have a reviewer subagent check the change before you open the pull request.
Everything named
He names very few products. Most of what he lists is things an agent needs to check its own work. You need none of them to start except a browser.
Ticket to ship: where the agent works
His whiteboard, made clickable. The 15 steps and both bars are copied from the screen. Switch between how most teams use AI (his separate green boxes) and prompting bigger (the one bar he draws over them), click any step, or follow one bug through. 1:09
The agent works in 5 of 15 steps, in separate pieces. 7 hand-offs wait on a person.
Ticket to ship · his 15 steps · dark bar = the agent is working
Step 7 of 15 · Engineer 1
Watch at 2:15Engineer 1 writes the code
Today · AI helps here
Where most teams use AI: the agent types the code, opens a pull request, and the work stops.
Prompt bigger · inside the bar
The agent writes it, then keeps going: a test that fails until the bug is gone, a run in the browser.
Follow one bug through it
One small bug fix, two engineers, a normal week. He tells this one in the video. Press Start and watch which step lights up.
The slow week said in the video, 5:29
- Monday: Engineer 1 builds the fix with an agent. The code is done in minutes. A pull request goes up and the work stops, waiting for a reviewer.
- Tuesday, late: Engineer 2 finally looks. Late in the day, they review it and leave notes. Small, obvious mistakes.
- Wednesday: Engineer 1 is in meetings. No code gets written. The notes sit there.
- Thursday: Engineer 1 fixes the notes. An agent makes the fixes. Now it waits for Engineer 2 again.
- Friday: Engineer 2 is busy, or leaves early. Another day with no movement.
- Next week: Real progress, at last. The review finally lands. The PM's check is still ahead, and the PM may have issues. A fix under 100 lines, and it's week two.
The bigger prompt FakeNerd's walk-through of his list
- One prompt: Hand over the goal, the check and the stop. “Users get logged out after 5 minutes. Fix the whole problem, prove it with a test, and open a PR when it passes.”
- Before any fix: A test that fails because the bug is there. The agent writes an end-to-end test that logs in, waits, and checks. It fails. Now the bug is proven, not guessed.
- The fix: Keep working until the test passes. Then it opens the app in a browser and clicks through it like a user, to be sure.
- While it works: Helper agents review as it goes. A reviewer subagent reads the change and flags the small mistakes a human reviewer would have caught on Tuesday.
- Hand-off: A pull request with proof. It lands in Engineer 2's inbox already tested. Engineer 1 asks “What did you touch?” before passing it on.
- Review: One review, one yes. Engineer 2 and the PM still check it. They read a change that works instead of finding the bugs themselves.
01 · User has problem User
Today: A bug, a missing feature, something confusing. Maybe they file a support ticket.
Prompt bigger: Same. The bar doesn't start until someone owns the ticket.
02 · Product manager talks to user Product manager
Today: The PM finds the problem, through a support ticket or a conversation.
Prompt bigger: Same. Outside the bar.
03 · Designer talks to PM Designer
Today: If the screen has to change, the designer and PM plan what it should look like.
Prompt bigger: Same. Outside the bar.
04 · Tech lead talks to both Tech lead
Today: The tech lead turns the plan into a scoped set of tasks.
Prompt bigger: Same. Outside the bar.
05 · JIRA tickets are cut Tech lead
Today: The tasks become tickets in Jira, Linear, or whatever the team tracks work in.
Prompt bigger: Same. The ticket is now the raw material for one big prompt.
06 · Engineer 1 assigned tickets Engineer 1 · in the bar
Today: The engineer reads the ticket, then pipes the ticket, the code and the context into an agent by hand.
Prompt bigger: The bar starts here. One prompt: what should be true when it's done, how to check, where to stop.
07 · Engineer 1 writes the code Engineer 1 · AI today · in the bar
Today: Where most teams use AI: the agent types the code, opens a pull request, and the work stops.
Prompt bigger: The agent writes it, then keeps going: a test that fails until the bug is gone, a run in the browser.
08 · Engineer 2 reviews changes Engineer 2 · AI today · in the bar
Today: Engineer 2 gets to it when they can, maybe has an agent review it, and finds small, obvious mistakes.
Prompt bigger: Helper agents review while the work happens, so the small mistakes are gone before a person looks.
09 · Engineer 1 fixes Engineer 1 · AI today · in the bar
Today: The agent fixes the notes. Then the change waits for Engineer 2 again.
Prompt bigger: Already handled inside the same run.
10 · Engineer 2 approves, PM reviews Engineer 2 · AI today · in the bar
Today: Approval, and at the most forward teams an AI reviewer alongside. Then the PM checks it against the plan.
Prompt bigger: The first time a person has to look: a change that already works, with proof attached.
11 · PM has issues Product manager · in the bar
Today: The PM doesn't like how it was solved. Fixing it throws out Engineer 2's review.
Prompt bigger: Still possible. A prompt that said the goal, not just the files, gives fewer of these surprises.
12 · Engineer 1 fixes Engineer 1 · AI today · in the bar
Today: Another round of fixes, with an agent.
Prompt bigger: The same run picks the notes up and fixes them, with its checks still in place.
13 · Engineer 2 re-reviews Engineer 2 · in the bar
Today: Because the code changed, the review starts over.
Prompt bigger: A shorter re-read: the change is small and already checked.
14 · PM and eng 2 approve PM + Engineer 2 · in the bar
Today: The final yes from both.
Prompt bigger: The bar ends here. People still give the final yes.
15 · Allowed to merge and ship Engineer 1
Today: Finally merged and in front of the user.
Prompt bigger: Same step, reached days or weeks sooner.
His two prompts, taken apart
Both are on the whiteboard, word for word. He dictated the big one with voice-to-text because his arm was in a cast. Neither was run on screen. 9:05
Before · prompting like you're in an editor
“Update app.tsx1 to use the new localization primitives2 found in [link]3”
- 1A file nameNames one file. The agent will touch that file and stop.
- 2The howSays how, not why. If the ticket was wrong about the code, so is the prompt.
- 3A link it didn't needHands over something the agent could find on its own.
What's missing: what it's for, how to check, where to stop.
After · prompting bigger
“Centralize localization across all of our repos1 so that the same primitives are used consistently.2 I want to make sure that certain keywords are translated properly in all of the surfaces that are exposed to users.3 Make sure you validate this in multiple languages4 and make sure this set of keywords is translated consistently across all of the surfaces that matter.5”
- 1ScopeEvery project, not one file.
- 2GoalWhat should be true when it's done.
- 3GoalThe same goal, from the user's side. “Certain keywords”: he'd have typed his brand's words in here.
- 4CheckHow the agent proves it worked.
- 5CheckA finish line it can test, everywhere it matters.
Theo's small prompt · as shown
Update app.tsx to use the new localization primitives found in [link]
Theo's big prompt · as shown
Centralize localization across all of our repos so that the same primitives are used consistently. I want to make sure that certain keywords are translated properly in all of the surfaces that are exposed to users. Make sure you validate this in multiple languages and make sure this set of keywords is translated consistently across all of the surfaces that matter.
His reason for the goal over the files: “I would never describe a Jira ticket to a coworker based on what files should be touched. I would describe it based on what problem it is discussing.” The technical notes on a ticket are often wrong; the goal usually isn't. 11:26
FakeNerd fill-in · scope, goal, check, stop
[What should be true when you're done, across everything it touches.] I want to make sure [what users should see or be able to do]. Make sure you check this by [how to prove it: a test that fails first, a run in the browser, sample inputs]. When it's done, [where to stop: open a pull request, show me on my local copy], and tell me everything you touched.
Add-ons he lists · said, close wording
Instead of “go fix this one file”.
6:32Add to the prompt
Look at the ticket and fix the whole problem.
Anything a user would see.
6:43Add to the prompt
Test it in the browser and verify the changes.
Any bug report.
6:48Add to the prompt
Make an end-to-end test that fully verifies the bug and fails because the bug is still active, then keep working until it passes.
Work that will be reviewed by someone else.
6:58Add to the prompt
Spin up sub-agents to give feedback throughout, so you're less likely to make the mistakes reviewers catch.
What to ask it · before and after
After a big prompt, before you read the diff.
12:21Ask
What did you touch?
Before a big prompt runs, to see its plan the way you'd ask a co-worker.
12:23Ask
What do you think we're going to have to do to make all of this happen?
Built from his X post of Sept 4: “Ask it what it needs to verify it's own work.”
XAsk
What do you need to verify your own work?
“This type of big prompt is scary because you don't know what it will touch up front.” You can still read what it did and decide, the same way you would with a co-worker. 12:06
What the agent needs to check its own work
“Figuring out what the agent needs to actually test and verify its changes lets you go way further.” He names the things on the left; the lines to paste are ours. 7:30
If the change is something you'd see on screen
A browser it can drive
Reading code can't tell it a button is hidden behind a menu. Clicking can.
named in the talk
Add to the prompt · ours
Open it in a browser, click through it like a user would, and screenshot what you see.
If someone reported a bug
A failing test first
A test that fails while the bug exists proves the bug is real, and proves it's gone when it passes.
named in the talk
Add to the prompt · ours
Before fixing, write an end-to-end test that fails because of this bug. Keep working until it passes.
If it touches accounts, payments or saved data
A staging copy with fake data
Realistic enough to test properly, with nothing real to break.
named in the talk
Add to the prompt · ours
Test against the staging copy with mock data. Never touch the live database.
If it spans more than one project
A map of where things live
Without it the agent can't tell what lives in which repo, and stops halfway.
named in the talk
Add to the prompt · ours
Read PROJECTS.md first. Open one pull request per repo and link them to each other.
If it has to install or run things
Its own computer or sandbox
It can run, install and break things without getting in your way.
named in the talk
Add to the prompt · ours
Work in the sandbox. Don't install anything on my machine.
If you don't know what it needs
Ask it
Theo on X, about GPT-6 Astra: the model is “surprisingly aware of what it can do”. So ask it.
from his X post
Add to the prompt · ours
What would you need to check your own work on this? Tell me before you start.
The slop-ocalypse, in numbers
“Agents make writing code and filing PRs way too easy.” His numbers for one ordinary ticket are on the whiteboard; the per-day sums are ours. He says 20 to 30 minutes of review and 15 to 20 of testing; the board shows the top of each range, and so does this chart. 13:05
One change · before and after agents
Make the changes
Review
Test and verify
The 3 to 6 hours is drawn at its middle. After agents it's minutes. Review and testing don't move.
One reviewer's day · 50 minutes of review and testing per change
2 or 3 changes a day
2.5 h30 plus a day
25 hThree changes a day is two and a half hours of checking. Thirty is 25 hours, more than a day. “You end up spending all your time reviewing other people's slop and trying desperately to test it all.” 13:31
His conclusion: “The war on this part has already been won.” Writing the code is solved. The next job for agents is shrinking the other two numbers, so changes merge faster and ship fewer bugs. 13:39
Three ways out
He names three in one sentence and saves the detail for the course. The quotes are his; the starters are ours. 14:07
01Smaller, tidier changes
“…tuning your agents to make better, more concise changes so that your reviews don't have to be as meticulous.”
A change that touches four files gets read. A change that touches forty gets skimmed. Ask for the smallest change that reaches the goal, and a list of what moved.
FakeNerd starter · lines for your CLAUDE.md or AGENTS.md
## Changes - Make the smallest change that reaches the goal. Don't tidy nearby code unless I ask. - Don't add files, wrappers or tests that the goal doesn't need. - When you finish, list every file you changed and one line on why.
02Agents that review with you
“…training agents to do reviews for you, not to replace you but to augment you.”
Let an agent do the first pass so your read starts from its notes. You still decide. It just stops you spending 30 minutes finding a typo.
FakeNerd starter · a review prompt
Review this pull request before I do. 1. Real bugs first: the line, what goes wrong, and how to reproduce it. 2. Then anything risky to merge today, and why. 3. Then what you'd test by hand. Skip style and naming. If you find nothing serious, say so in one line.
03Ways for agents to test their own work
“…building systems and code and tools and sandboxes that allow your agents to verify the changes and actually test things themselves.”
The 20 minutes of testing per change only shrinks if the agent can do it. Give it a browser, a staging copy, test commands that work, and its own space to run.
FakeNerd starter · ask it to set itself up
Look at how this project runs, tests and previews. What would you need to prove a change works without me checking by hand? Suggest the smallest setup that gets you there (a test command, a browser, sample data), and set up the first piece.
Other people doing this, on X
“I was throwing away ~50% of my end-to-end agent-driven PRs before building this workflow. I haven't had to close a single one today :)”
Theo (@theo), Jul 2, 2026 · Seven weeks before the talk. The workflow: a section of his CLAUDE.md that hands UI checks and verification to Codex.
“The 'slopocalypse' is AI writing code faster than anyone can review it and 'just review more carefully' fails at 10+ PRs before standup.”
“For each bug it finds, it opens a draft PR with a test that fails first and only passes after the fix.”
Vox (@Voxyz_ai), Oct 1, 2026 · A nightly Claude Code routine. The failing-test-first add-on, on a timer.
“Me: auto mode always on, and in the prompt “end-to-end, I won't be here to answer”.”
JJ Betancourt (@JuanJoseSC), Sept 25, 2026 · Posted in Spanish; our translation.
“AI has collapsed the cost of sending PRs, issues and reports, but not the cost of reviewing them.”
Antonio Ortiz (@antonello), Mar 19, 2026 · Posted in Spanish; our translation.
Try it, smallest version first
Six steps on one small problem, in any coding agent: Claude Code, Codex, Cloudroom or bb. You can stop after step 4 and already be prompting bigger. The starter prompt is ours.
Starting something new
Nothing to break yet. Let the agent run the whole problem, including setting up a way to test it.
Your site is already live
The agent edits the code on your computer or in its sandbox. You see the change on a local test copy. Nothing reaches your visitors until you deploy, so a bigger prompt is no riskier, as long as it says “don't deploy”.
- 01
Pick one small, real problem
A bug you can see, or a tiny feature. Something you could check yourself in two minutes. Open your agent in Claude Code, Codex, Cloudroom or bb.
- 02
Write the goal, not the file
Say what should be true when it's done, in plain words. Leave out file names unless you're sure.
The fill-in - 03
Add one line on how to check
A run in the browser is the easiest start. For a bug, ask for a test that fails first.
What to give it - 04
Say where to stop
“Open a pull request” or “show me on my local copy”, and “don't deploy”. The agent edits code; nothing reaches your visitors until you publish.
- 05
Read it, then ask
“What did you touch?” before you read the change. If the list is longer than you expected, ask why.
- 06
Next time, add a reviewer
Ask it to have a subagent review the change before it hands back. Paste the review prompt below if you want a starting point.
The review prompt
FakeNerd starter · one problem, end to end
Here's a problem: [what's wrong, in the user's words]. Fix the whole problem, not just one file. Before you change anything, find where it happens and show the problem with a test or a browser check. Then fix it until that check passes, and click through it in a browser like a user would. Don't deploy or publish anything. When you're done, open a pull request (or show me on my local copy) and tell me what you touched, how you checked it, and anything you weren't sure about.
Next to the others
Other pages on the same idea, and what each adds.
FakeNerd's take
The list is the lesson
Count how many of the 15 steps your agent touches. Most people hand it step 7 and nothing else. Moving the bar up to step 6 (give it the ticket, not the file) costs nothing.
Solo, you are every box
Most FakeNerd readers are the PM, the designer and both engineers. Your gaps are switching hats and forgetting. The check line matters more for you: nobody else will catch what the agent missed.
A short talk that ends in a pitch
Fifteen minutes on a whiteboard, no live run, and it closes with a sign-up for a $1,300 course. The ideas match his later videos and his X posts. For real prompts and setup, read the Opus 5.5 page next.
Attribution
- MEGA DEV, “Thinking Bigger: Theo Browne on Prompting End-to-End, Not Line-by-Line” (posted Aug 27, 2026; streamed live Aug 25). The ideas, the 15 steps, both prompts and the time numbers are Theo's. The steps, prompts and numbers are read off the whiteboard; quotes come from the captions. Where the spoken numbers differ from the board, the board is used and the page says so.
- Disclosure: the talk kicks off MEGA, a paid four-week course Theo teaches with Angie Jones, Kent C. Dodds and John Lindquist, starting Oct 26, 2026. Theo puts the price at $1,300 a seat and tells individuals not to pay for it themselves. Theo also makes T3 Code, which the talk doesn't mention. The video description promises an examples repo to MEGA newsletter subscribers; this page doesn't use it.
- The description also lists “experimenting past your limits” and keeping your setup ready for the next model. Neither is in this 15-minute cut, so neither is on the page.
- X posts are quoted with their dates and links. Two were posted in Spanish; the English is ours.
- The map's step notes, the “bigger prompt” run, the six examples (except the translation one), every fill-in and starter, the lines to paste in “What the agent needs”, the per-day math, the chapters and the takes are FakeNerd's. Not sponsored by anyone on this page.