r/ClaudeCode • u/MoreEmphasis • 1h ago
Built with Claude I built a 105-problem practice site with Claude Code in three months. Here's how it was set up, and what I learned about agents reviewing agents
For the past several weeks I've been building fix-the-pipeline, a free practice site for AI system design, almost entirely with Claude Code. This is a long post…but the process turned out to be more interesting than I expected. I'll cover what I built, how I set up Claude Code, how a problem goes from idea to live, and the mistakes that taught me the most.
What I Built
fix-the-pipeline works a lot like LeetCode, but for the design side of AI systems. Each problem is a small AI system with something wrong with it (a support bot that resends its whole manual on every turn, a router that sends everything to the biggest model, retrieval that reads too much, etc.). You fix it in your browser, and it shows you what your fix did to quality, cost and latency.
There are 105 problems and six tutorials across 16 topics, from Easy 1 to Hard 9, in five formats: multiple choice, exact answer, arrange, config (edit YAML or JSON) and code (write a Python function). Most problems run on a simulator whose rules and prices are on the page. Every learner gets their own numbers, and config and code answers also run on inputs you can't see. The same simulator runs in the browser for instant results. Two problems run live on a real model through your own OpenRouter key, which stays in your browser.
The stack is SvelteKit and TypeScript, Python in the browser through Pyodide, CodeMirror for the editors, Aurora DSQL through Drizzle, and AWS (CDK, CloudFront, Lambda). It's about 98,000 lines of TypeScript and Svelte, 320 test files, and roughly 590 commits.
https://fixthepipeline.dev (the first five problems need no account)
Where I Started
I came in knowing general system design, Python, SQL, and AWS, but not TypeScript. Learning it and practicing web app design like this was part of the reason for the project. Claude Code wrote most of the code and the first draft of every problem. I make the design decisions, and I play and approve every problem myself before it goes live. I mention this up front because the rest of the post only makes sense with that split in mind. My job became deciding and checking, and most of what I learned is about how to check well.
How I Set Up Claude Code
- One decision log. Every design decision goes into a single file, numbered (253 so far), with my words quoted and the options that were considered. Each new session reads the parts it needs. It sounds tedious, but it's the only reliable way I've found for a fresh session to know a question was already settled, and why.
- A small CLAUDE.md and with the rules in tests. My project CLAUDE.md is a few lines that point to two style guides, one for the site's words and one for a problem's text. Prose rules can drift, but hardcoded tests cannot, so if a page uses a word the guide replaced, npm test fails.
- Skills for every repeated process. There are nine: /draft-problems (the whole problem pipeline), /pre-deploy-check, /persona-run, /check-reviewers, /scout-problems (what to teach next), /weekly-incident, /site-feature, /whats-new and /refresh-notes. Each one spells out the steps, who owns which check, and what "done" means. The skills and agent files come to about 2,000 lines.
- Subagents with pinned models. There are seven, each read-only with one job: an architecture reviewer (Opus) that checks a problem's answer holds on real systems, a set reviewer (Opus) for a batch's plan, a difficulty reviewer (Opus), a copy reviewer (Sonnet) for wording, a site reviewer (Sonnet) for the pre-deploy check, a scout (Sonnet) that compares my topics against outside syllabi, and a concept solver (Haiku) that solves problems blind.
- A permissions allowlist for the safe commands (tests, lint, the checkers, git status and diff, etc.) and for edits inside the problem folders.
How a Problem Gets Made
/draft-problems starts with targets I set and a plan for the batch, then a brief for each problem with its sources. A set reviewer reads the briefs, and I approve them before anything is built. The drafter then builds each package (statement, simulator rules, starting config, reference answer, hints, explanation), and the package tests calibrate it. A deterministic checker runs next, then the architecture review, the blind solves, a difficulty score, and a copy review. The drafter writes a report, and the problem lands in a local review queue where I play it and approve it, send it back with notes, or discard it.
How the Site Stays Consistent
Before every production deploy, I run /pre-deploy-check. A script builds the site the way production would, saves the text of about sixty pages as a guest and as a signed-in learner, and writes an inventory. Then seven Sonnet reviewers each read one lane (where a learner goes next, what the site says about itself, one name for one thing, the problems this deploy ships, how the pages look, etc.). I triage what they find, and the report is committed. The deploy script refuses to run unless that check was stamped on the exact commit with nothing uncommitted. This consistency check has been a life saver across a side project this large.
What I Learned
- Reviewers don't converge on their own. Early on, a single problem could go through five re-check rounds. Reviewers reversed each other on the same problem, because each fresh reviewer is basically a fresh draw of strictness, and there's always something new to find. When I told the copy reviewer "at most three nits," 41 of 44 reviews reported exactly three. Later, a limit of eight findings started turning into a quota, too. The fix was a round budget (one architecture review, one copy review and one difficulty score per problem, with anything left over becoming a note for me) and a stricter definition of a must-fix. A reviewer can only call something a must-fix if it can hand over a failing test, a quoted cue, a false fact with a source or a second defensible answer. Once this was in place, the speed and quality of the drafts improved. Early on, I found the original intent of a problem drifting after every round of reviews.
- Measure instead of judge. I want each problem to test the concept rather than careful reading, and at first I had reviewers judge that. In one run, 37 of 37 problems failed, and each reviewer read the test differently. So I replaced the judgment with a measurement. Three cheap Haiku solvers answer each problem blind: one sees only the answer options, one reads every rule carefully but isn't told the lesson, and one is told the lesson and skims. The gate is simple—the options-only solver shouldn't land on the answer, the careful reader without the concept shouldn't get full points, and the one who knows the concept should. It costs less than one Opus review and gives the same kind of answer every time.
- Polishing made the writing worse. A few weeks in, I noticed many sentences in the review queue sounded synthetic, as if they were straining towards a word count. They weren't near any limit. The copy reviews were returning about eleven findings per problem, 88% were being accepted, and much of that was on text an agent had just rewritten. It was layer after layer of small fixes. Later I sent back four problems in one batch for awkward wording, and two of those sentences were a reviewer's rewrite accepted word for word. Now the drafter writes every sentence a learner reads in its own words, treats a reviewer's fix as a fact to restate rather than text to paste, and reads the final page aloud before it reaches me. A review round gets reverted if the result reads worse. Anecdotally, I have sent back fewer than before. I think the "read aloud" ask was the most impactful.
- Checks get lost unless something fails when they do. I work alone, so I lean on these checks heavily, and my biggest worry was a check quietly falling out of the process. Every finding from an audit, a persona run or a pre-deploy check now gets a row in a findings ledger (close to 500 rows so far), and each row ends in one state: fixed with the test that guards it, accepted (in my own words), kept out with a reason, didn't reproduce, or planned. A test fails if a "fixed" row has a test that doesn't exist, or if a planned row is still open after its work is supposedly done.
- Your reviewers change when the model does. Each agent pins a model alias, and the alias moves to a new model with no change in my repo. A stricter reviewer makes the text churn, a more agreeable one lets things through, and either way the batch looks normal. So I keep an anchor set: approved problems that define the standard, plus seven copies that each have one known flaw. /check-reviewers runs the reviewers on them whenever an agent file changes or a new model ships, and compares the results with the last run.
- Outside looks find what inside reviews miss. Every few weeks, a persona run puts ten learner personas through the site in real browsers, and four checkers take each finding back to the code to validate. A separate set of audits went through security and correctness. Between them, they found a way to fake a pass on one code problem and a config input that could stall the server for about thirty seconds, among other things. Neither showed up in any problem review. Both are fixed now, each with a test.
- Some practical things. I often have several sessions working in the same folder at once. That works if every session stages files by path and never switches branches. It doesn't work for two dev servers: the local database (PGlite) allows one process at a time, and two servers running for a few hours corrupted it. I lost my local accounts and progress. Also, my subagents are read-only, so they reply with their reports and the lead session saves them.
The Limits
It's an early build with very few learners so far. A simulator is a simplification, and it can't judge prose. The problems were drafted by Claude, which some people won't like, and I understand that. I do play and approve every one, and each problem has a Flag a Problem button if you think its answer is wrong. The code isn't open source...yet.




















