You've felt it: Claude Code spits out a 400-line file in eight seconds, and a week later the app quietly falls apart because half of it was guesswork dressed up as code.
The model isn't dumb. It's just working without a team around it — no roles, no process, no review. That's the fix, and it's the same fix human software teams have used for fifty years.
This article sets up a role-by-role pipeline you can run today: interrogate the idea, plan it, try to break it, design it, build it, review it, QA it, and gate the ship. You'll see the exact questions, the counts, the prices and the failure modes so you know what to expect at each stage.
You can stand it up one gate at a time. You don't need to adopt all eight before you write a line of code.
| Stage | What it produces | Gate to the next stage |
|---|---|---|
| Office hours | Six forcing questions and a reframed idea | You accept the idea — or kill it |
| Plan mode | Three named approaches with effort and risk | You pick one and amend it |
| Adversarial review | 16 issues auto-fixed, score from 6/10 to 8/10 | You approve the doc (or refuse) |
| Design pass | Three variants in about five minutes | You pick one and lock it |
| Build | Code written against the approved plan | Plan approval starts it automatically |
| Staff review | A full bug-catching code review | Any finding gets fixed or deferred |
| QA | Screenshots, interactions, CSS and JS bugs caught | The app actually works in a real browser |
| Ship | A pull request declared ready for main | The ship check passes |
Agents Ship Like Teams, Not Solo Geniuses

A single very smart model produces unreliable work because it has no roles, no review and no process, which is exactly what happens to a brilliant solo developer who never lets anyone read the diff.
Software has always shipped through a chain of hands. Someone interrogates the idea, someone plans it, someone tries to break the plan, someone designs the screen, then the code gets written, reviewed, tested and gated before merge. That pattern isn't bureaucracy, it's how mistakes get caught before they cost you a weekend.
The move is to give the model those same roles as reusable skill definitions, not one-off prompts you retype every session. Each role becomes a skill the model steps into, does its job, and hands off.
The architecture rule underneath all of it is thin harness, fat skills. The scaffolding around the model stays trivial, a couple of slash commands and a working directory, and the real intelligence lives in the skill definitions you can read, edit and copy.
Most setups do the opposite. A heavy harness with layers of glue code and thin skill content gives you a system that's hard to debug and easy to break the moment the model changes. You end up maintaining plumbing instead of shipping.
Here's the chain to picture before you install anything: interrogate, plan, break, design, build, review, QA, ship. Eight gates, built up one at a time.
🛠️ The Pipeline From Bug Report to Merged PR
Create a worktree
One click creates a fresh worktree on a branch named after the work item.
Run office hours
Six forcing questions reframe the idea into a user, a pain point and a business model.
Plan mode
Three named approaches come back with effort and risk; you pick one and amend it.
Adversarial review
Two rounds auto-catch and fix issues before the design doc is approved.
Design pass
Three variants return in about five minutes; you pick one and lock it.
Build and staff review
Approving the plan starts the build; a staff-level review catches bugs the plan missed.
QA and ship
A headed browser exercises the app, then a ship gate confirms the PR is ready to land.
Out of the Box the Model Guesses

Code that looks right falls apart because the model doesn't know your data, so it guesses, and guessing at scale produces plausible code that breaks quietly later.
Say you ask for a feature without any context. It invents a schema, assumes an API shape, picks a library. Each assumption is a small bet, and ten of them in one file give you a system that compiles and fails.
More code volume makes it worse, not better. Every extra file is another place a wrong assumption can hide, and the model's confidence doesn't drop when its knowledge does. It writes the same sure tone whether it's right or completely wrong.
The good news is the models are already capable of remarkable things with your codebase once they're set up properly. Properly means structured context: a written plan, a named approach, an explicit constraint, a review that checks the plan against reality.
Better prompts don't fix this. You can't wordcraft your way out of missing context, and swapping models won't do it either. You have to hand the model the context in a form it can check itself against, so the bottleneck stops being intelligence and becomes setup.
The sharp version of that setup is coming next: a gate that interrogates the idea before a single line gets written.
💡 PRO TIP
Write the constraint, not the request
Instead of 'add a search box', write 'search must return in under 200ms and must not load more than 50 results per page'. The model can check itself against a constraint. It can't check itself against a vibe.
Office Hours Interrogates the Idea First

Before building anything, run six forcing questions that reframe the product, and the first one is always the strongest evidence that someone actually wants this.
That question alone kills more bad projects than any technical review ever will. The next probes go at the pain: is this a real penalty, or just friction and annoyance? How many bank accounts does the user actually have, and which one sent the document they need?
Then the competitor pass. For a tax-document tool that means naming TurboTax and H&R Block's import features and Plaid's bank connections, then asking why those don't already solve the problem. If your honest answer is 'they do, kind of', you've just found your real problem statement.
Roughly one in three sessions ends with the idea killed. That's a successful outcome, not a failure, because you've saved yourself a month of building the wrong thing.
When a premise is wrong, push back. The session is a conversation, not a checklist, and a sharp objection gets you a revised answer instead of a polite restatement of the same flawed idea.
A surviving idea doesn't leave the room as a task list either. It comes back rewritten as something you could actually sell.
The Idea Comes Back as a Business Model

Telling the model to build a tool to find your 1099s hands you a document finder with no user, no pain point and no business model, which is why the office-hours pass rewrites the request before planning starts.
What comes back has a wedge shape. Charge $2 to $5 a month, or $2 to $5 for the whole year, for document aggregation, then flip the funnel: once the user has every document in one place, offer tax-prep matchmaking, where a share of the tax-preparer transaction runs roughly 10x the subscription.
The approach gets revised too. Instead of Plaid connections, the user logs in themselves, a visible browser navigates to the tax-documents section and downloads the PDFs. No credentials stored, no cloud handoff, no third-party bank integration to explain to anyone.
It stays conversational, not on rails. Object to a premise and the model re-thinks and comes back sharper, the way a good advisor would. The catch is you have to actually argue. Nod along and you get a tidy summary of your own bad idea back.
By the end you have a business model, a user, a pain point and a plan that's already half-formed in your head, which is a very different starting point from a bare instruction.
Same idea, two outcomes
Planning Mode Hands You Three Approaches

Planning mode turns the conversation into something buildable by handing you three named approaches with effort and risk attached to each one.
In the tax-tool example, approach A is Gmail OAuth plus a checklist built from notification emails, small effort and small risk but small enough that you'd wonder why you bothered. Approach B is full stack plus AI browser automation and a CPA marketplace. Approach C flips the go-to-market and starts from the CPA side.
The amendment is where the real work happens. Pick B, then push on it: drop Google OAuth entirely, use the browser for the Gmail search, ask the user which other banks they use, and mine the CPA emails already sitting in the inbox for account names. What comes back is meaningfully different from what you were handed.
The endpoint is concrete. The browser downloads the PDFs and emails them to the CPA. Nobody stores a credential and nobody needs Plaid.
An edited plan beats an accepted one. To keep the good parts alive, say what to keep: 'Keep approach B, but replace the OAuth step with browser automation and add a prompt asking the user which bank portals they need.' Saying what to change without saying what to keep is how plans get worse.
Adversarial Review Tries to Break the Doc

Adversarial review finds the holes in your own plan before you build, by hunting for gaps, auto-fixing what it can and scoring the document on the way through. Think of it as handing your plan to a colleague who gets paid to be unkind.
In the document-aggregation example, the catches were routine and painful. No failure handling anywhere. No privacy section at all. And a 2FA handoff sitting in the middle of the flow with no proposed solution attached. All the stuff that quietly becomes a production incident six weeks later, when you have forgotten why your users can't get through onboarding.
Two rounds later, the doc had survived 16 issues the review caught and fixed on its own. The score moved from 6/10 to 8/10, with three issues deliberately deferred.
Deferring three issues isn't the same as ignoring them. It means leaving them named, visible and prioritised in the document, not letting them fall off the edge. The test is simple: if a deferred issue is one you know will break the first real user, refuse to approve and deal with it now.
Approval is not a formality. It's your hand on the wheel, and the review only earns its score when you actually read what it left behind.
Three Design Variants, Then You Pick

A design pass gets you a decent interface without a designer by picking one specific view, then returning three options in about five minutes. One view, not the whole app. Pick the screen people will actually stare at.
The ratings came back honest. Variant A was dense and hacker-friendly, scored 4/5. Variant B was friendly and card-based with a progress ring, scored 5/5, and got chosen. Variant C tried to do too much and was rejected outright. You get the reasoning with the ratings, so you can disagree with the verdict instead of guessing at it.
If none of them land, the escape hatch is free-text feedback plus regenerate. Make the feedback specific: "drop the table and show three cards, each with bank name, document count and download status" gets you somewhere, while "make it cleaner" gets you a stranger's idea of clean.
Design before code when the screen is the product, like a dashboard or a checkout. Design after code when the interface is just scaffolding for a backend decision you haven't confirmed yet.
The pick has to be yours. A model can generate a layout, but it can't know which one your users will trust.
Design Pass — At a Glance
⏱️ Rating scale
Each variant scored out of 5, with written reasons
🖼️ Pick then build
Lock the winner before code starts
⭐ Disagree path
Override the 5/5 if your users won't trust it
🔁 Regenerate limit
Good feedback buys a better batch; vague feedback burns the turn
✋ When variants miss
Describe the screen, not the mood
Gate to clear
Pick A, B or C before the build stage; free-text is only for a failed batch.
Auto Plan Chains the Reviews For You

Auto plan gets you the reviews without sitting through four of them, by bundling chief-executive, engineering, design and developer-experience review into a single pass. One command, four perspectives, one merged read.
The recommendations inside it are the operator's own defaults, programmed in. That's fast and opinionated rather than neutral arbitration, which is exactly what you want when you don't yet have strong opinions of your own. It tells you what it would do, and you get to agree or push back.
If one dimension actually matters to you, a fixed stack, a regulated domain, a design language you've already committed to, run that review manually instead. Doing them one after another costs you more time but surfaces the reasoning you care about, and you skip the bundle.
Skip auto plan entirely if you have settled opinions on your stack or your go-to-market. You'll burn more time undoing its defaults than you saved by bundling. The bundle is a starting position, not a verdict, and you should know which one you're after before you run it.
Auto Plan vs Manual Reviews
Auto plan
- One command runs four reviews
- Best when you have no strong opinions
- Faster: fewer prompts to write
- Uses programmed defaults from the operator
Manual chain
- Run each review separately
- Best when one dimension matters most
- Slower but fully customisable
- You decide the order and the constraints
Staff-Level Review Catches What the Plan Missed

Staff-level review is the full code review that runs after the agent has written the code, triggered automatically the moment you approve the plan. You don't schedule it. Approving the plan starts the build, and the build hands off to review.
It reads the actual diff at the level of a staff engineer, looking for bugs the plan never anticipated, gaps between what the plan said and what the code did, and the small errors that only show up in a real edge case.
One heavy user reports about 35% of their code is tests and roughly $4K a month on fast mode, and judges it worth it. That ratio is a choice, not a default, and the review stage is what makes paying for it sensible.
The three stage names to hold onto are plan, build, review. When a review finding contradicts an approved plan, don't quietly pick a side. Quote the finding back, update the plan, and re-run the review against the revised doc.
Skipping review to save time is the most expensive shortcut in the whole pipeline.
⚠️ COMMON MISTAKE
Don't merge to clear the queue
A failing review or a failed ship check is information. Merging anyway turns one ignored finding into three, and the next review has to work twice as hard to see the real problem.
QA Runs Through a Homegrown Browser

QA stops you clicking through the app yourself after every change by giving the agent a real browser it can actually drive. That's the whole job: take the mouse out of your hand.
The built-in integration for this failed badly. Slow to act, stuck in thinking loops, bloated context, and sometimes nothing at all. Even on a good run it took 2 to 3 seconds per action, which turns a ten-step check into a coffee break.
The replacement wraps Playwright and Chromium at the command line and exposes them as QA and browse skills. It can take screenshots, run complex interactions, click, fill forms, download media, run regressions, update CSS and diagnose real JavaScript and CSS bugs rather than guessing about them.
It runs headed and visible on your own machine, not in the cloud. You watch the browser do the work, which matters when something breaks and you need to see exactly where it broke.
The honest origin is that this stage exists to automate the least enjoyable part of development. Nobody enjoys QA. Everybody enjoys shipping.
A Ship Gate Before Anything Hits Main

Notice the position, because it's the whole point. It runs after code review, after QA has clicked through the app in a real browser, and it stands apart from both. Review reads the diff for logic. QA exercises the running product. Ship checks the packaging. Does the PR have the test it promised, a changelog that reflects the change, config that exists somewhere other than one laptop?
The temptation is to fold it into code review as a final line item. Don't. Review findings and readiness-to-merge are different questions, and when you collapse them neither gets checked properly – the reviewer is deep in a function's logic and waves through the missing migration because the code looks fine.
A failed ship check is rarely dramatic. It's a pull request that works on the machine it was written on: a test that was never added, an environment variable sitting only in the developer's local file, a changelog frozen three commits back. The fix is boring and that's the gift – fix it, push, re-run the gate, and let the PR land clean. Merging around a red ship check is how a working branch turns into a broken main at 2am. The gate is cheap. The incident isn't.
Parallel Worktrees Turn Reports Into Work Items

Parallel worktrees let you run several builds at once without losing track, because every work item gets its own branch and its own session instead of queueing behind a shared to-do list. The mechanics are almost embarrassingly simple. One click spins up a fresh worktree, then the office-hours, review and adversarial-review chain runs on it, right there in the same directory. Three or four on the same project at once is normal for a heavy user.
The volume gets real fast. Think 10 to 15 sessions running simultaneously, around 400 pull requests queued, reviewed in waves, and 10 to 50 landed on a given day depending on how many meetings are in it. What replaces the task list is the inbox – a frustrated post, a bug report, a review finding, each one becomes a work item, and each one gets its own branch and its own session. No triage meeting required.
With that much parallel flow, supply-chain attacks stop being an abstraction. Tooling helps you manage the fear, but it doesn't erase it, and anyone telling you otherwise is selling something. Treat dependency updates like any other PR: reviewed, gated, never merged on vibes. The speed is real. So is the surface area.
The Kit Is Open, Thin and Copyable

You don't have to build this from scratch – the reference kit is open source, thin and copyable, roughly 28 commands with more than 70,000 stars, and only two of those commands get demonstrated end to end. That last number is the one to sit with. The library is a menu, not a checklist; most of the everyday work lives in a couple of skills that do one job well.
Where do heavy users actually spend their hours? Not in the build. They report 80-90% of their Claude Code time in office hours and planning, before a line of production code exists. That ratio is the real lesson, and it explains why the outputs feel trustworthy: the intelligence that makes the code good gets applied before the code exists.
Which brings the takeaway into focus. A large share of the model's remaining weakness is process, not intelligence. A thin harness with well-written skills gets you most of the way there, because the model was already smart enough – it just needed someone to ask the right questions first.
This is one implementation of a pattern, not the only one. The product-thinking rigour is available without booking a meeting, and copying the shape costs nothing but an afternoon.
Frequently Asked Questions
Do I need to install the whole kit to get value from this?
No. Start with office hours and plan mode. Those two commands alone will change the quality of what the model produces because they force the context the code was missing. Add review, QA and ship one at a time once you see a stage fail.
What if I already have a strong opinion on my stack?
Run the individual reviews manually and skip the auto plan bundle. The defaults inside the bundle are opinionated, and if you've already made a decision you don't want a chain of reviews trying to undo it.
How much does running this cost per month?
A heavy user reports roughly $4K a month on fast mode and judges it worth it. Your number will be lower if you're running fewer parallel sessions. The cost scales with how many concurrent sessions you keep open.
Can I run parallel worktrees without the editor extension?
Yes. One git worktree per work item, one terminal pane and one long-running session per worktree, with branch names that identify the item. You lose the one-click creation and the visible reasoning trace, so you have to do the pruning and branch hygiene yourself.
What do I do when the review passes a plan I know is wrong?
Don't hand-edit the doc silently. Quote the specific objection back to the model and re-run the review. If the plan comes back unchanged, refuse to approve and address the issue directly before you build.
Run Office Hours First, Then Amend the Plan Yourself
The smallest sequence that will change how you work this week is two commands and one edit: run office hours on a real project, then take the plan mode output and amend it yourself before you approve.
You'll be tempted to add review, QA and ship on day one. Resist that. Keep the harness thin and only bolt on each gate once a stage has actually failed you — the first time a review catches a bug the plan missed, or a QA pass catches a broken form, you'll know it earned its place.
The model was already capable enough. What was missing was the team around it, and now you know how to build one.
Run one office-hours session before you write code
Open a fresh worktree, run the six forcing questions on your current idea, and see what comes back. If the answers aren't there, you've just saved a month.