@tyay2015: I just rewatched Cursor engineer Lauren's nearly hour-long practical retrospective, and the more I think about it, the more counterintuitive it seems: everyone else uses AI to write code and spends their days cleaning up after it, getting blood pressure spikes from hallucinations — yet she merged 1,000 PRs solo last month, and by the 12th of this month she's already done...
Summary
Cursor engineer Lauren shared her method for merging 1,000 PRs in a single month with AI: not relying on god-tier prompts, but constraining agents with strict static checks and CI guardrails, treating Evals as unit tests for agents, and investing tokens upfront to build guardrails — until even non-engineers across her company can submit PRs directly.
View Cached Full Text
Cached at: 11/25/26, 07:41 PM
I just re-listened to Cursor engineer Lauren’s nearly hour-long practical retrospective, and the more I chew on it, the more counterintuitive it feels:
Everyone uses AI to write code, yet most people spend their days cleaning up after it, getting their blood pressure spiking over hallucinations. Meanwhile, Lauren merged a staggering 1,000 PRs solo last month, and had already done nearly 800 by the 12th of this month. On the morning of her talk, she woke up to find her Agent had auto-merged 20 PRs into main while she slept — she glanced through them and the quality was solid across the board.
Veteran programmers hearing this would instinctively curse: “What BS — isn’t this just flooding production with AI slop?”
But Lauren, who spent years at Meta, tore the industry’s fig leaf off in a single sentence: “Before AI slop, big tech was already drowning in human slop.” At places like Meta and Google — factories with 10,000+ engineers — infrastructure was never designed for geniuses. It was built to stop “the worst intern on the team from accidentally deleting the production database.” The cruelest shift of the AI era: what used to be big tech’s engineering nightmare has become every team’s daily reality overnight.
The real reason she dares to sleep soundly isn’t some “god-tier prompt.” It’s three deeply counterintuitive moves:
1. Don’t try to train AI into a genius — restructure the codebase into a “prison designed for fools”
Many teams start new projects with a burst of vibe coding and zero guardrails. The Agent patches together whatever’s easiest, and before you know it, nobody can understand the codebase. Lauren hit this trap herself before biting the bullet: she spent 600+ PRs to rebuild her new product Grockbot on a strict architecture codenamed Dune.
Her judgment is brutally clear: managing AI with prompts, rules docs, or style guides — those are all soft constraints. The Agent forgets them the moment it turns away, and codebase rot is only a matter of time. What actually works is welding the rules into static checks and CI red lights:
- Ban React’s
useEffectoutright — write it and CI fails the build. - Ban code comments entirely. Sounds absurd, but the reasoning is painfully real: 99% of the time, AI-written comments fossilize a throwaway remark someone made in some past PR and etch it into the code as permanent gospel.
- Hard-separate Electron’s main and renderer processes by directory. CI scans the dependency graph; cross-boundary references that would tank the 16ms/60fps frame budget fail the build. All code for a feature lives in one directory so the Agent doesn’t go rummaging through the whole repo.
Behind all this is one core philosophy: “The shortest path is the best path.” The Agent instinctively takes shortcuts and copies existing patterns — so engineer the shortest viable path into the correct path. She even dropped this hot take: if you’re still stuck in the mud of manually reviewing code and leaving comment after comment for AI to fix, that’s itself a code smell. Every time you’re tempted to hand-correct, ask yourself: how do I turn this lesson into a lint rule or a CI red light? (By the way, this is also why Rust recently resurfaced in AI circles — the compiler is strict enough, unsafe isn’t allowed, and if it compiles, it’s probably trustworthy.)
2. Don’t be the AI’s “human test monkey” — but to catch it cheating, give it pop quizzes in the dark
Many people can’t speed up with Agents because they’ve become the bottleneck themselves: AI changes the code, then the human clicks through the UI, screenshots the error, pastes logs, while the AI confidently shouts for the hundredth time “I’ve found the real culprit!” — and it’s wrong again.
Lauren’s breakthrough: give the Agent skills to launch the app itself, grab CPU flame graphs and heap snapshots. She even packaged them into a plugin called Pstack (self-mocking as Potato Stack, a nod to YC CEO Gary Tan’s Gstack). The killer feature is a bundled Feature Map — a diagram of every feature path, keyboard shortcut, and DOM selector. So now when a colleague drops a context-free screenshot in Slack with just “???” underneath, their cloud Agent (Benny) can spin up a cloud desktop, reproduce the issue, and report back: “Reproduced — but it’s already fixed on main, just ship it.”
Even better is how she maintains these Skills: she treats Evals as the Agent’s unit tests — with a dark detail hidden inside: when spawning sub-agents to run evals, the directory names must be deliberately disguised so the model never realizes it’s being tested. Because today’s models are sharp — the moment they know they’re being evaluated, they’ll change behavior to game the eval. You also need different models as judges to avoid bias, plus /loop automation to hill-climb the score all the way to 10/10.
3. Burning tokens on guardrails looks expensive — but it’s really arming the entire company as a “production line”
Someone in the audience challenged her: “You have unlimited tokens at an AI lab — how can a regular team afford that?” Lauren did a sobering calculation: if you don’t spend upfront tokens building bulletproof guardrails, are you going to hire 10,000 engineers and shoulder infinite scheduling overhead and internal friction? Once the guardrails are in place, even a cheaper, smaller model can reliably write good code.
The even bigger dividend: paired with their just-released Agent orchestration tool Grockbot (whose UI looks like iMessage) and Dune’s airtight CI guardrails, the company’s PMs, designers, and even marketing (GTM) teammates are now filing PRs to fix bugs and ship features directly — Lauren opens them, sees all checks pass, and stamps them for merge.
It’s like getting a racing team to hit the fastest lap: the amateur approach is sitting in the passenger seat shouting driving instructions and painfully writing a ten-page rulebook. The real engineering approach is welding steel guardrails along the track, sealing off every side road, and mounting auto-inspection radar on every car. The driver wants to cut corners? Perfect — the only shortcut available is the championship route you paved in advance.
We used to believe we’d need models ten times smarter before we could fully hand the reins to AI. Lauren’s 1,000 PRs in a month proved the opposite: whether AI can work through the night for you has never depended on how smart the model is — it depends on whether your codebase is tough enough to take a beating.
https://x.com/0xg4tsby/status/2125532998711886255/video/1…
Similar Articles
@Michaelzsguo: Lauren Tan @poteto is an engineer at Cursor, previously worked on React Compiler at Meta, and has been a tech lead and engineering manager at Netflix. She has only been with Cursor for five months. The first month was spent familiarizing with the codebase,...
Lauren Tan, as an engineer at Cursor, shares her efficient methods in AI coding, emphasizing building verification capabilities and skill testing to manage AI agent teams, achieving high output and automating PR merges.
@cursor_ai: Developers are using agents to write more "mega PRs."
Developers are increasingly using AI agents to generate larger pull requests, known as 'mega PRs.'
@bkdgiffug: Still frustrated with AI writing code that makes things worse? Former Vercel engineer Matt Pocock has open-sourced his 18 battle-tested playbooks, specially designed to fix all kinds of AI collaboration failures. This guy who makes TypeScript crystal clear has turned his daily skill set into "brake pads" for AI programming — to let…
Former Vercel engineer Matt Pocock has open-sourced his AI coding agent skill set mattpocock/skills, containing 18 practical methods (such as /grill-me, /tdd, /caveman) to help developers better control AI-assisted coding and avoid writing bad code. It can be installed via npx skills or the Claude Code plugin.
@Michaelzsguo: https://x.com/Michaelzsguo/status/2106219013978140679
An hour-long conversation between Poteto (creator of pstack, SpaceX) and Matt Pocock revealing how they merge 2,500 PRs per month: from distilling repeated AI corrections into Skills, to giving Agents the ability to verify their own work, using tools and lint constraints to cut down repetitive effort, all the way to multi-Agent inner and outer loops plus spot-check reviews.
@shao__meng: Former Meta/Microsoft/Atlassian Staff Engineer's Agentic Engineering Workflow With this workflow @kunchenguid ships 40-50 tested production-grade PRs per day. He describes it: "You are the captain, agents are your crew…
Former Meta/Microsoft/Atlassian staff engineer Kun shares his agentic engineering workflow: centered on terminal, tmux, and Neovim, using global/project-level memory files and skills to train AI teammates, delivering 40-50 tested production PRs daily, boosted by voice input, AXI standard, Lavish interactive planning, and more.