One-Prompt App Library 3.0 · Claude Code · 36 prompts
One prompt, a whole team: a planner, builders in parallel, a verifier that never builds
Every prompt in this library turns Claude Code into an orchestrator that writes its own team, plans, builds, tests and reports, unattended. Two of them were run from an empty folder and graded by tests the team never saw.
One Claude Code prompt can run a whole build team. Each of the 36 prompts here makes the session an orchestrator: it writes a planner, two or three builders and a verifier, plans, builds in parallel, tests and reports, with no one at the keyboard. Two were run from empty folders: a Kanban board and a puzzle game with a level editor passed 29 of 29 hidden checks.
Eight things to take
Put the whole job in the prompt. What to build, a fixed stack, the contract, acceptance tests, the team and the stop rules.
Both demos finished on their own. About 12 and 20 minutes, no fix rounds needed.
The verifier never edits. Failures go back to the builder that owns the file.
Grade with tests the team never saw. 29 of 29 held, and 18 of 18 planted faults turned them red.
New agent files did not launch at once. The prompt’s fallback ran each role as a general-purpose sub-agent.
Nothing to install. Every prompt uses only what ships with Node.js and the browser, and no app calls an AI model.
Start at your level. 12 Basic, 12 Advanced and 12 Master prompts, apps and games.
Write your own. The builder puts your app into the same team skeleton, in your browser.
Start here · 4 min
Two team builds, graded by tests the teams never saw
Two prompts from this library were pasted into new Claude Code sessions, each in an empty folder, and left alone. Afterwards, a separate set of tests that neither team ever saw was run against each finished folder, and then against copies with faults planted on purpose.
Measuredn = 1 run per prompt Hidden tests run on the folders as the teams left them; each planted fault in its own copy.
Measure
Kanban board
Crate Courier
Team’s own acceptance tests passing
9 of 9
8 of 8
Fix rounds used
0
0
Decisions written down
45
31
Files written, size
18, 105 KB
26, 129 KB
Model responses, Opus lead / Sonnet team
35 / 27
39 / 48
Output tokens, Opus lead / Sonnet team
54,268 / 57,193
68,196 / 116,056
Measuredn = 2 runs Counts from the finished folders; responses and tokens summed from each session’s exported transcript.
Measured How the two builds were run and graded
Measured
Two prompts, each pasted as the first message of a new Claude Code session in the desktop app, in an empty folder, with nobody at the keyboard.
Method
Opus 5.5 led each session in auto permission mode; the prompts gave every sub-agent Sonnet. The session starter added one line before each prompt: the folder starts empty, follow the prompt, work only in this folder. Afterwards a Node test file the teams never saw ran against each folder, then against copies with one fault planted per copy.
n
One run per prompt. No confidence interval is claimed; this is what happened once, recorded.
Source
the run log, the two finished folders and their exported transcripts, 2026-11-27.
Excludes
The other prompts, other models, a slow machine, and a human using the apps by hand.
Module one · 6 min
How a team prompt works
A team prompt is one message with two halves. The first half is the job: THE APP and its features, a fixed STACK, THE CONTRACT with exact names, and the ACCEPTANCE TESTS that define done. The second half is the team: five steps and the stop rules. That second half is the same in every prompt of a kind, which is why one library can hold this many prompts and why your own app can borrow it.
One build, five steps. The builders run side by side; a failure goes back to the builder that owns the file, never to the verifier.
Quotedn = 6 skeletons Drawn from the steps written into every prompt.
The planner writes SPEC.md and the tests before any code exists. Builders own paths, never each other’s files; a change needed in someone else’s file becomes a line in HANDOFF.md. The verifier has no Write or Edit tool. The orchestrator sends each failure to the right builder, at most 3 times, and writes REPORT.md at the end.
Interactive · Gate Runnercandidate 1 of 7
Is this team prompt ready to paste?
Six things a team prompt needs, in order. For each draft, pick the first one it lacks; if it has all six, pick the last button.
Build me a cool habit app
Says what to buildThe app, who it is for, and its features.REFUSED
Fixes the stackWhat it may use, and that nothing gets installed.never reached
States the contractRoutes or exported functions with exact names, inputs and errors.never reached
Lists acceptance testsSix to ten checkable lines; done means all pass.never reached
Writes the teamPlanner, builders that each own files, a verifier that never edits.never reached
Has stop rulesA team cap, a fix-round cap, and what done means.never reached
Paste itReady.never reached
Stopped: nothing says what it does or for whom.
A habit log with streaks; use any framework you like
Says what to buildThe app, who it is for, and its features.pass
Fixes the stackWhat it may use, and that nothing gets installed.REFUSED
States the contractRoutes or exported functions with exact names, inputs and errors.never reached
Lists acceptance testsSix to ten checkable lines; done means all pass.never reached
Writes the teamPlanner, builders that each own files, a verifier that never edits.never reached
Has stop rulesA team cap, a fix-round cap, and what done means.never reached
Paste itReady.never reached
Stopped: the agents may install anything.
Same, browser only, nothing to install
Says what to buildThe app, who it is for, and its features.pass
Fixes the stackWhat it may use, and that nothing gets installed.pass
States the contractRoutes or exported functions with exact names, inputs and errors.REFUSED
Lists acceptance testsSix to ten checkable lines; done means all pass.never reached
Writes the teamPlanner, builders that each own files, a verifier that never edits.never reached
Has stop rulesA team cap, a fix-round cap, and what done means.never reached
Paste itReady.never reached
Stopped: no names the tests can call.
Same, plus createStore and its methods
Says what to buildThe app, who it is for, and its features.pass
Fixes the stackWhat it may use, and that nothing gets installed.pass
States the contractRoutes or exported functions with exact names, inputs and errors.pass
Lists acceptance testsSix to ten checkable lines; done means all pass.REFUSED
Writes the teamPlanner, builders that each own files, a verifier that never edits.never reached
Has stop rulesA team cap, a fix-round cap, and what done means.never reached
Paste itReady.never reached
Stopped: no tests, so done has no meaning.
Same, plus eight acceptance tests
Says what to buildThe app, who it is for, and its features.pass
Fixes the stackWhat it may use, and that nothing gets installed.pass
States the contractRoutes or exported functions with exact names, inputs and errors.pass
Lists acceptance testsSix to ten checkable lines; done means all pass.pass
Writes the teamPlanner, builders that each own files, a verifier that never edits.REFUSED
Has stop rulesA team cap, a fix-round cap, and what done means.never reached
Paste itReady.never reached
Stopped: one agent does everything and grades itself.
Same, plus planner, two builders, a verifier
Says what to buildThe app, who it is for, and its features.pass
Fixes the stackWhat it may use, and that nothing gets installed.pass
States the contractRoutes or exported functions with exact names, inputs and errors.pass
Lists acceptance testsSix to ten checkable lines; done means all pass.pass
Writes the teamPlanner, builders that each own files, a verifier that never edits.pass
Has stop rulesA team cap, a fix-round cap, and what done means.REFUSED
Paste itReady.never reached
Stopped: nothing stops a fourth, fifth or tenth fix round.
All of the above
Says what to buildThe app, who it is for, and its features.pass
Fixes the stackWhat it may use, and that nothing gets installed.pass
States the contractRoutes or exported functions with exact names, inputs and errors.pass
Lists acceptance testsSix to ten checkable lines; done means all pass.pass
Writes the teamPlanner, builders that each own files, a verifier that never edits.pass
Has stop rulesA team cap, a fix-round cap, and what done means.pass
Paste itReady.REFUSED
Passes. That is the shape of every prompt on this page.
Your answers stay in this browser. Nothing is sent anywhere. Reset clears them.
Measuredn = 36 prompts Every prompt in the library passes these checks in the plain-code lint, which also caught 15 of 15 defects planted on purpose.
Interactive · Decidercase 1 of 5
Whose job is it?
Each line is something that happens during a build. PASS if the agent named is the right one for it in these prompts, FAIL if it is not.
The verifier fixes a failing route
FAIL The verifier never edits a file. It reports the FAIL to the builder that owns the route.
The planner writes the acceptance tests
PASS Only the planner writes tests, before any code exists.
The UI builder edits the server because a field name is wrong
FAIL It adds a line to HANDOFF.md; the server's owner makes the change.
The orchestrator writes the agent files
PASS Step one of every prompt.
A builder deletes a test that keeps failing
FAIL Nobody edits or deletes a test to make it pass.
Your answers stay in this browser. Nothing is sent anywhere. Reset clears them.
Quotedn = 6 skeletons The rules as written in every prompt on this page.
Module two · 6 min
Run a team prompt safely
Claude Code needs a Pro, Max, Ultra, Team, Enterprise or Console account; Anthropic’s setup page says the free plan does not include it. Open a new, empty folder, start a session there, paste the whole prompt and leave it. The team writes everything into that folder, so nothing else on your machine is in its way.
The prompts are long on purpose: 875 to 1491 words. Long prompts cost little next to the build itself. Both demo runs together moved the weekly meter on an Ultra plan from 65% to 67%, and this page’s own work ran in the same window, so 2 points is the most they could have used.
Percent left, before both demo runs and after
Weekly limit, all models35 → 33%
MeasuredCalculatedn = 2 readings, one account The plan usage card shows percent used, whole numbers only; left is 100 minus used.
Read what it may run
In the demos the sessions ran in auto permission mode, which checks each command before it runs. If you work in the default mode instead, expect a prompt for each new command, and read it. The Claude Code permissions class explains how the rules match a command, and the sub-agent docs list every field an agent file takes.
Interactive · Decidercase 1 of 5
Does the report prove it?
Each line is something a team wrote in its REPORT.md. PASS if you can rely on it as it stands, FAIL if you should check it yourself.
9 of 9 acceptance tests passed
FAIL The planner wrote those tests. The checks this page relies on are the hidden ones: 13 of 13.
The new agent types could not be launched, so general-purpose sub-agents ran each role
PASS A specific, checkable statement, and the transcript shows it.
Every route matched the contract
FAIL Run your own requests against the contract. Here the hidden tests did.
Not run on Node 22.13
PASS Saying what was not checked is worth more than a claim that was.
The app is secure
FAIL Which checks back that up? Only tests you can run count.
Your answers stay in this browser. Nothing is sent anywhere. Reset clears them.
Measuredn = 29 hidden checks The teams’ own words, held against checks they never saw.
Interactive · Setup Checkeryour path
Which level should you start with?
Answer three questions; the list keeps the advice that fits.
Start with a Basic promptBrowser only, nothing to set up, and you can read every file the team writes.
Install Node.js firstEvery prompt runs its tests with Node; the Advanced and Master ones also run their server on it.
Take an Advanced promptA server and a database on your own machine, still one user.
Go to a Master promptSign-in, roles and a Dockerfile; read the security checks in the report.
Open an empty folder for every buildThe team writes everything it makes into the folder you open.
Your answers stay in this browser. Nothing is sent anywhere. Reset clears them.
Quotedn = 12 prompts per level The stacks as the prompts fix them.
Module three · 7 min
Demo: a Kanban board from one prompt
Prompt 14 asks for several boards, columns with WIP limits, drag and drop, search, and data that survives a restart, on Node’s own HTTP server and SQLite with nothing installed. The contract names every route; nine acceptance tests define done.
The finished board. Seeded through its own API for this picture; the Doing column sits at its WIP limit.
Measuredn = 1 capture Taken with a headless browser from the folder as the team left it.
Prompt 14 as it was sent
You are the ORCHESTRATOR of a small build team in Claude Code. Build a Kanban Project Board, described under THE APP, end to end in the current folder. Work unattended: do not ask me anything. When the spec leaves something open, choose the simplest option and write it down in DECISIONS.md.
THE APP
A Kanban project board for one person, running on their own machine. There can be several boards. Each board has columns, each column holds cards, and cards move between columns by drag and drop. A column can have a WIP limit: the most cards it may hold.
Features:
1. Create, rename and delete boards. A new board starts with three columns: To do, Doing, Done.
2. Add, rename, reorder and delete columns. Set or clear a column's WIP limit.
3. Add cards with a title (required, 1-200 characters) and an optional description. Edit and delete cards.
4. Drag a card within its column or into another column. The new order is saved.
5. A card cannot enter a column that is at its WIP limit; the board says why.
6. Search the cards on a board by title.
7. Everything survives a server restart.
STACK (fixed)
- Node.js 22.13 or newer. Use only what ships with Node.js: no npm packages, no CDN links, no build step, nothing to install beyond Node itself. Use node:http, node:sqlite, node:test and node:fs.
- One SQLite file. The server reads PORT (default 3000) and DB_PATH (default ./data/app.db) from the environment and creates its tables on start.
- The browser UI is plain HTML, CSS and JavaScript modules served from public/.
- package.json scripts: "start": "node server/index.js", "test": "node --test tests/".
THE CONTRACT (other code depends on these exact names; do not change them)
JSON API. Request and response bodies are JSON. Every error response is {"error": "<reason>"}.
- GET /api/boards -> 200 [{id, name}]
- POST /api/boards {name} -> 201 {id, name, columns}. name is 1-80 characters after trimming, else 400. columns are To do, Doing, Done in that order, each {id, name, position, wipLimit: null, cards: []}.
- GET /api/boards/:id -> 200 {id, name, columns: [{id, name, position, wipLimit, cards: [{id, title, description, position}]}]}. Columns and cards are sorted by position. Unknown id -> 404.
- PATCH /api/boards/:id {name} -> 200 {id, name}. DELETE /api/boards/:id -> 204, and its columns and cards are deleted too.
- POST /api/boards/:id/columns {name, wipLimit?} -> 201 column, added after the last column.
- PATCH /api/columns/:id {name?, wipLimit?, position?} -> 200 column. wipLimit is a whole number of 1 or more, or null to clear it; anything else -> 400. A wipLimit below the cards the column holds now -> 409. position moves the column; the other columns are renumbered 0..n-1.
- DELETE /api/columns/:id -> 204. A column that still holds cards -> 409.
- POST /api/columns/:id/cards {title, description?} -> 201 {id, title, description, position, columnId}, added at the end. title is 1-200 characters after trimming, else 400. The column at its WIP limit -> 409.
- PATCH /api/cards/:id {title?, description?} -> 200 card. DELETE /api/cards/:id -> 204.
- POST /api/cards/:id/move {columnId, position} -> 200 card. position is the 0-based place in the target column; a position past the end puts the card last. Both columns are renumbered 0..n-1 with no gaps. Moving into a different column that is at its WIP limit -> 409. Moving within the same column is always allowed.
- GET /api/boards/:id/search?q=<text> -> 200 [{id, title, columnId}]: cards on that board whose title contains the text, ignoring case.
- Any unknown board, column or card id -> 404. GET / serves the board page.
ACCEPTANCE TESTS (the build is done only when every one passes)
A1 Creating a board returns its three starting columns in the order To do, Doing, Done.
A2 Cards keep the order they were added in. Moving a card to position 0 of another column puts it first there, and both columns' positions run 0..n-1 with no gaps.
A3 A column with WIP limit 2 that holds 2 cards refuses a third card with 409, both when it is created and when it is moved in, and accepts one again after a card leaves.
A4 Setting a WIP limit below the number of cards a column holds is refused with 409.
A5 Bad input is refused with 400 and an error message: an empty board name, an empty card title, a 201-character title and a WIP limit of 0.
A6 Data survives a restart: stop the server, start it again on the same DB_PATH, and the boards, columns, cards and their order are unchanged.
A7 Deleting a board removes its columns and cards. Deleting a column that holds cards is refused with 409.
A8 Search finds cards by part of the title, ignoring case, and only on the board searched.
A9 GET / returns the board page, and the page loads no script or stylesheet from another site.
STEP 1 - WRITE THE TEAM
Create these 4 files in .claude/agents/. Each starts with YAML frontmatter (name, description, tools, model) followed by its instructions.
- planner.md (model: sonnet; tools: Read, Write, Glob, Grep). Writes SPEC.md and the acceptance tests. Writes no app code.
- builder-server.md (model: sonnet; tools: Read, Write, Edit, Glob, Grep, Bash). Owns server/ and package.json.
- builder-ui.md (model: sonnet; tools: Read, Write, Edit, Glob, Grep, Bash). Owns public/.
- verifier.md (model: sonnet; tools: Read, Glob, Grep, Bash). Runs the tests and the app and reports. Never creates, edits or deletes a file.
Every agent edits only the paths it owns. If it needs a change in another agent's file, it adds a line to HANDOFF.md and says so in its reply.
Claude Code loads agent files when a session starts. If these new agent types cannot be launched in this session, launch general-purpose sub-agents instead, with the same model, and give each one the full text of its agent file as its instructions.
STEP 2 - PLAN
Send the planner THE APP, STACK, THE CONTRACT and ACCEPTANCE TESTS. It writes:
- SPEC.md: every file with its owner, the data it stores, each interface in THE CONTRACT with its inputs and outputs, and each screen.
- tests/acceptance.test.js: one node:test test per acceptance test, named A1, A2 and so on. Each test starts the server itself on a free port with a temporary DB_PATH, and stops it.
STEP 3 - BUILD
Start builder-server and builder-ui at the same time (one message, 2 sub-agent calls). Each gets SPEC.md and builds only its own files.
STEP 4 - VERIFY
Send the verifier: run npm test, then start the app and request every route in THE CONTRACT once. It reports each acceptance test as PASS or FAIL with the failing output.
Send each FAIL to the builder that owns the file, then verify again. At most 3 fix rounds.
STEP 5 - REPORT
Write REPORT.md: each acceptance test with PASS or FAIL, the commands to run the app, every entry in DECISIONS.md, and anything left unfinished. Print the same summary as your last message.
STOP RULES
- The team is these 4 agents and never grows past 6. At most 3 fix rounds.
- Only the planner writes tests. Nobody edits or deletes a test to make it pass.
- No secrets, keys or passwords in the code. The app calls no AI model and makes no network request except to its own server.
- Done means npm test passes every acceptance test and npm start serves the app. If that is not true after 3 fix rounds, stop and say so in REPORT.md.
One sentence has changed since
The prompt as sent said Claude Code loads agent files when a session starts. Anthropic’s docs say edited agent files are picked up within seconds. Both runs did fail to launch the new types in the turn that wrote them, so the library version now says new files may not launch at once, and keeps the same fallback.
The orchestrator wrote four agent files, then found it could not launch them: the error read Agent type planner not found. It ran each role as a general-purpose sub-agent with the file as instructions, as the prompt allows. The planner wrote SPEC.md and the tests, the server and UI builders ran side by side, and the verifier reported 9 of 9 passing with no fix round. The team wrote down 45 decisions, from the id rule to the dialog it used for forms.
Interactive · Decidercase 1 of 5
Would the hidden tests catch it?
Each line is a fault planted on purpose in a copy of the finished Kanban board. PASS if the hidden tests turned red, FAIL if they stayed green.
A card can move into a column that is at its WIP limit
PASS One test failed: the move-in refusal.
Search matches upper and lower case differently
PASS The search test failed.
The board keeps its data in memory only
PASS The restart test failed.
A 404 changed to 400 in the guard for ids that are not numbers
FAIL Green: the hidden test asks for a numeric id, which another layer answers. Planted where numeric ids go, it turned red.
The page loads a script from another site
PASS The page test failed.
Your answers stay in this browser. Nothing is sent anywhere. Reset clears them.
Measuredn = 8 planted faults Each fault in its own copy; 8 of 8 turned the hidden tests red, after one plant was moved.
Measured How the Kanban board was graded
Measured
13 hidden tests over HTTP: columns, positions, WIP limits, bad input, unknown ids, search, restart, the page and its files.
Method
Each test file starts the built server on a free port with a temporary database, then calls the contract’s routes.
n
One untouched copy and 8 copies with one fault each; 8 of 8 turned red after one plant was moved to the layer the test reaches.
Source
the run log, the two finished folders and their exported transcripts, 2026-11-27.
Excludes
A human dragging cards by hand: the team drove its drag handlers with scripted events.
Module four · 7 min
Demo: a puzzle game with a level editor from one prompt
Prompt 21 asks for Crate Courier: push crates onto spots, undo and restart, five built-in levels, a level editor, a server that saves only levels it can solve itself, and a fewest-moves leaderboard the server will not let a player beat with an impossible score. Graphics and sound are made in code.
Playing. Three moves into the third built-in level.The editor. It says what a level still needs before it can be saved.
Measuredn = 2 captures Taken with a headless browser from the folder as the team left it.
Prompt 21 as it was sent
You are the ORCHESTRATOR of a small build team in Claude Code. Build Crate Courier, a crate-pushing puzzle game with a level editor, described under THE APP, end to end in the current folder. Work unattended: do not ask me anything. When the spec leaves something open, choose the simplest option and write it down in DECISIONS.md.
THE APP
Crate Courier is a crate-pushing puzzle game in the browser, with a level editor. The player walks a courier around a warehouse grid and pushes crates onto delivery spots; a level is solved when every crate sits on a spot. Players build their own levels in the editor. The server saves only levels that can be solved, and keeps a fewest-moves leaderboard for each level.
Features:
1. Play: the arrow keys or WASD move the courier one square. Walking into a crate pushes it one square if the square beyond is floor or a spot. The courier cannot push two crates at once or walk through walls. Z undoes a move, R restarts the level. A move counter, and a solved screen with the move count.
2. Ships with 5 built-in levels from easy to harder, each one solvable, stored in the database on first start.
3. Level editor: paint walls, floor, spots, crates and the courier's start on a grid up to 20 by 20, test-play the level, and save it with a name.
4. The server checks every level before saving it: the format is valid, there is exactly one courier, at least one crate, as many spots as crates, and a solution exists. It tells the player why a level was refused.
5. Leaderboard: after solving a level the player enters a name (1-20 characters) and the server records the move count. Each level shows its top 10, fewest moves first, then the earliest.
6. Graphics drawn in code, sound effects for a step, a push, a crate landing on a spot and a solve.
STACK (fixed)
- Node.js 22.13 or newer. Use only what ships with Node.js: no npm packages, no CDN links, no build step, nothing to install beyond Node itself. Use node:http, node:sqlite, node:test and node:fs.
- One SQLite file. The server reads PORT (default 3000) and DB_PATH (default ./data/app.db) from the environment and creates its tables on start.
- The game runs in the browser: plain HTML, CSS and JavaScript modules served from public/. Graphics drawn in code on a <canvas> (no image files). Sound effects made with the Web Audio API, with a mute toggle.
- public/game/logic.js holds the game rules as pure functions with no DOM, canvas or timer use. The browser and the server import the same file.
- package.json scripts: "start": "node server/index.js", "test": "node --test tests/".
THE CONTRACT (other code depends on these exact names; do not change them)
Level text: one line per row, using # wall, space floor, . spot, $ crate, * crate on a spot, @ courier, + courier on a spot. Rows may differ in length; a row ends at its last character.
public/game/logic.js is an ES module with no DOM use. It exports:
- parseLevel(text) -> a state object. state.moves is the number of moves made (0 after parsing).
- validateLevel(text) -> {ok: true} or {ok: false, error: "<reason>"}: the format, one courier, at least one crate, as many spots as crates, and only the characters above.
- move(state, dir) -> a new state, where dir is "up", "down", "left" or "right". It never changes the state passed in. A move that cannot happen returns a state equal to the input, with moves unchanged.
- isSolved(state) -> true when every crate is on a spot.
- toText(state) -> the level text of the current position, in the same format.
- solve(text, maxStates = 200000) -> {solvable: true, moves: <fewest moves>} or {solvable: false, moves: null}. It searches breadth-first over courier and crate positions and gives up as unsolvable after maxStates states.
The server imports the same logic.js. JSON API, errors are {"error": "<reason>"}:
- GET /api/levels -> 200 [{id, name, builtIn, minMoves, best}], where best is the fewest moves on its leaderboard or null.
- GET /api/levels/:id -> 200 {id, name, text, builtIn, minMoves}. Unknown id -> 404.
- POST /api/levels {name, text} -> 201 {id, name, minMoves} when valid and solvable. A name of 1-40 characters is required; a bad name or a level that fails validateLevel -> 400. A level with no solution within the state limit -> 422.
- POST /api/levels/:id/scores {name, moves} -> 201 {name, moves, at}. name is 1-20 characters after trimming; moves is a whole number. A bad name, a bad number, or moves fewer than the level's minMoves -> 400. Unknown level -> 404.
- GET /api/levels/:id/scores -> 200 [{name, moves, at}]: the top 10, fewest moves first, then earliest.
- GET / serves the game.
ACCEPTANCE TESTS (the build is done only when every one passes)
A1 parseLevel then toText gives back the same text for each of the 5 built-in levels.
A2 move: walking into a wall changes nothing; pushing a crate onto floor moves the courier and the crate; pushing a crate into a wall or into another crate changes nothing; moves counts only the moves that happened; the state passed in is never changed.
A3 isSolved is true only when every crate is on a spot.
A4 solve returns the fewest moves for a small level whose answer is known, and reports a level with no solution as unsolvable.
A5 The server refuses a level with no solution (422) and an invalid one (400: no courier, two couriers, crates and spots unequal, an unknown character), and saves a valid solvable level (201) with its minMoves.
A6 Scores come back fewest moves first, at most 10, and a score with fewer moves than the level's minMoves is refused with 400.
A7 Levels and scores survive a restart on the same DB_PATH.
A8 GET / returns the game page, and the page loads no script, image or stylesheet from another site.
STEP 1 - WRITE THE TEAM
Create these 5 files in .claude/agents/. Each starts with YAML frontmatter (name, description, tools, model) followed by its instructions.
- planner.md (model: sonnet; tools: Read, Write, Glob, Grep). Writes SPEC.md and the acceptance tests. Writes no app code.
- builder-logic.md (model: sonnet; tools: Read, Write, Edit, Glob, Grep, Bash). Owns public/game/logic.js.
- builder-server.md (model: sonnet; tools: Read, Write, Edit, Glob, Grep, Bash). Owns server/ and package.json.
- builder-ui.md (model: sonnet; tools: Read, Write, Edit, Glob, Grep, Bash). Owns everything else in public/ (drawing, input, sound, screens, editor).
- verifier.md (model: sonnet; tools: Read, Glob, Grep, Bash). Runs the tests and the app and reports. Never creates, edits or deletes a file.
Every agent edits only the paths it owns. If it needs a change in another agent's file, it adds a line to HANDOFF.md and says so in its reply.
Claude Code loads agent files when a session starts. If these new agent types cannot be launched in this session, launch general-purpose sub-agents instead, with the same model, and give each one the full text of its agent file as its instructions.
STEP 2 - PLAN
Send the planner THE APP, STACK, THE CONTRACT and ACCEPTANCE TESTS. It writes:
- SPEC.md: every file with its owner, the data it stores, each interface in THE CONTRACT with its inputs and outputs, and each screen.
- tests/acceptance.test.js: one node:test test per acceptance test, named A1, A2 and so on. Rule tests import public/game/logic.js directly; server tests start the server on a free port with a temporary DB_PATH, and stop it.
STEP 3 - BUILD
Start builder-logic, builder-server and builder-ui at the same time (one message, 3 sub-agent calls). Each gets SPEC.md and builds only its own files.
STEP 4 - VERIFY
Send the verifier: run npm test, then start the app, request every route in THE CONTRACT once and load the game page. It reports each acceptance test as PASS or FAIL with the failing output.
Send each FAIL to the builder that owns the file, then verify again. At most 3 fix rounds.
STEP 5 - REPORT
Write REPORT.md: each acceptance test with PASS or FAIL, the commands to run the app, every entry in DECISIONS.md, and anything left unfinished. Print the same summary as your last message.
STOP RULES
- The team is these 5 agents and never grows past 6. At most 3 fix rounds.
- Only the planner writes tests. Nobody edits or deletes a test to make it pass.
- No secrets, keys or passwords in the code. The app calls no AI model and makes no network request except to its own server.
- Done means npm test passes every acceptance test and npm start serves the app. If that is not true after 3 fix rounds, stop and say so in REPORT.md.
This team had five agents: logic, server and UI builders after the planner, and the verifier. The same fallback ran each role. The verifier reported every acceptance test passing on its first pass, and the orchestrator played the game in the browser pane: moves, undo, a solve, the editor refusing an impossible level, the mute switch. The team wrote down 31 decisions.
One of our hidden tests was wrong
The first run of the hidden tests gave 16 minus one. The failing test used a level with a crate and no spot, which the contract never promised the game would accept, and the game refused it. The level was replaced with a valid one that tests the same rule, and the re-run gave 16 of 16. Check your own checks before you blame the build.
Interactive · Decidercase 1 of 5
Can the build check this test?
Acceptance tests are the only definition of done a team gets. PASS if a test written from the line could pass or fail on its own, FAIL if it is too vague.
Scores come back fewest moves first, at most 10
PASS A test can post scores and compare the order.
The game feels fun
FAIL Nothing to assert.
A level with no solution is refused with 422
PASS One request, one status code.
The editor is easy to use
FAIL Say what easy means: which keys pick which tool, what a save refuses.
Levels and scores survive a restart on the same DB_PATH
PASS Stop the server, start it, compare.
Your answers stay in this browser. Nothing is sent anywhere. Reset clears them.
Quotedn = 5 lines Lines one, three and five are from the Crate Courier prompt.
Measured How Crate Courier was graded
Measured
16 hidden tests: the rules module directly, then the server over HTTP.
Method
A reference solver inside the test file works out the fewest moves for each test level and each built-in level, so no expected answer comes from the build.
n
One untouched copy and 10 copies with one fault each; 10 of 10 turned red.
Source
the run log, the two finished folders and their exported transcripts, 2026-11-27.
Excludes
Sound, the look of the game and play by hand.
Basic prompts
Basic · module five · 6 min
The Basic prompts: browser only
Everything runs in the browser and saves in localStorage. The rules live in one module of pure functions that the tests call directly, and a few lines of Node serve the files. 12 prompts: eight apps and four games. The copy button builds the full prompt in your browser from the shared skeleton and the card; without scripts, the card still shows what each prompt builds and checks.
Prompt 1Habit Log with Streaks
Basic
App
Written and linted, not run
A habit log that runs in the browser. Add habits, tick them off each day, and see the current streak, the best streak and a heat map of the month. Data stays in the browser; export and import move it as a JSON file.
Add, rename and archive habits (names 1-60 characters).
Tick or untick a habit for today or any past day, never a future day.
Each habit shows its current streak and its best streak.
A month heat map: each day shaded by the share of habits done.
Export all data as a JSON file and import it again (checked before it replaces anything).
Works with the keyboard alone.
Its 8 acceptance tests
A new store on the same storage sees the same habits and ticks (the data survives a reload).
Ticking a day after today throws and stores nothing.
The current streak counts done days in a row ending today, or ending yesterday while today is not done yet; a gap resets it.
The best streak is the longest run ever, even after the current run breaks.
Streaks run across month and year ends (31 Dec to 1 Jan, 28 Feb to 1 Mar in 2027).
monthGrid returns 28 to 31 entries with the right done and total counts.
exportJSON then importJSON into an empty store gives the same data; broken JSON returns ok: false and changes nothing.
Blank names and 61-character names are refused.
Prompt 2Budget Envelope Planner
Basic
App
Written and linted, not run
An envelope budget planner in the browser. Each month the user splits their income into envelopes (rent, food, fun), records spending against them, and sees what is left. Unspent money rolls over to the next month when the envelope says so.
Set the income for a month.
Envelopes with a name, a monthly amount and rollover on or off.
Record spending: date, amount, envelope, note. Remove a record.
What is left in each envelope, and a warning when the envelopes add up to more than the income.
Switch between months.
Export a month's spending as CSV.
Its 8 acceptance tests
For every envelope, left = budget + carried - spent.
With rollover on, last month's left (even when negative) carries into this month; with rollover off, nothing carries.
unassigned = income - the sum of the envelope budgets, and it can go below zero.
Amounts stay exact: three spends of 10 cents total exactly 30 cents.
Removing a transaction gives the money back to its envelope.
exportCSV quotes a note that holds a comma or a quote mark correctly.
The data survives a reload.
Non-integer cents and an unknown envelope are refused.
Prompt 3Recipe Box with Shopping List
Basic
App
Written and linted, not run
A recipe box in the browser: save recipes, scale them to any number of servings, and pick several recipes to get one merged shopping list.
Add, edit and delete recipes: title, servings, ingredients (name, quantity, unit) and steps.
Scale a recipe to any number of servings.
Pick recipes and servings and get one shopping list, merged and sorted.
Search recipes by title or ingredient.
Print-friendly recipe and list views.
Its 7 acceptance tests
Scaling to double the servings doubles every quantity, rounded to at most 2 decimals.
The shopping list merges flour 200 g and flour 0.5 kg into one line of 700 g.
Units that cannot be converted (cup and g) stay on separate lines.
Names merge ignoring case and surrounding spaces.
A recipe with no title, no ingredients or 0 servings is refused.
Search finds a recipe by its title or by one of its ingredients.
The data survives a reload.
Prompt 4Focus Timer with Task Log
Basic
App
Written and linted, not run
A focus timer in the browser: work sessions and breaks on a cycle, a task list, and a daily report of where the focused minutes went.
A work and break cycle (25, 5, and a 15-minute long break after every 4 work sessions), with the lengths adjustable.
Start, pause, resume and skip.
A sound made with the Web Audio API when a phase ends.
A task list; each work session is logged against the task it was for.
A daily report: focused minutes in total and per task.
Its 6 acceptance tests
After 25 minutes of work the phase becomes break; after the 4th work session the break is long.
Pause stops the countdown; resume continues from the same remaining time.
remainingMs never goes below 0, even when tick comes minutes late (a laptop that slept).
Skip ends a phase early, and a skipped work session is not logged.
report sums the minutes per task for a day, counting only finished work sessions.
The task log survives a reload.
Prompt 5Flashcard Trainer with Spaced Repetition
Basic
App
Written and linted, not run
A flashcard trainer in the browser. Cards come back on a spaced-repetition schedule: the better you know a card, the longer until you see it again.
Decks of cards with a front and a back.
Import cards from CSV (front,back).
A review screen: show the front, reveal the back, grade yourself 0-5.
Each deck shows how many cards are due today.
Keyboard shortcuts for reveal and grades.
Its 7 acceptance tests
A new card is due the day it is added.
Grades 5, 5, 5 give intervals of 1 day, 6 days, then 6 times the ease, rounded.
A grade of 2 sends the card back to a 1-day interval.
Ease never drops below 1.3, however many low grades.
due lists only cards due today or earlier, oldest first.
importCSV reads quoted commas, skips blank and one-column rows, and reports the counts.
The data survives a reload.
Prompt 6Markdown Notes with Tags and Search
Basic
App
Written and linted, not run
A notes app in the browser that works offline. Notes are written in Markdown, tagged with words that start with a hash sign, filtered by tag and found by search.
Create, edit and delete notes with a live Markdown preview.
Tags come from hash-sign words in a note; a tag list with counts.
Filter by tag; search titles and text.
Notes sorted by last edit.
Its 7 acceptance tests
Tags come from hash-sign words in the body, lower-cased and without duplicates, and change when the body changes.
list({tag}) returns only notes with that tag.
Search finds words in the title or body ignoring case, title matches first.
renderMarkdown shows a <script> tag in a note as text, never as a tag.
renderMarkdown makes no link from a javascript: address.
Deleting a note lowers its tags' counts.
The data survives a reload.
Prompt 7Product CSV Checker for Shopify store owners
Basic
App
For Shopify stores
Written and linted, not run
A checker for the products CSV a Shopify store exports, running in the browser. The store owner drops the file in; the app lists problems product by product and writes a fixed CSV with only the fixes the owner accepts. Nothing leaves the browser and there is no Shopify sign-in.
Drop or pick a products CSV exported from Shopify.
Checks: missing image alt text, missing SEO title, SEO title over 70 characters, missing SEO description, two different products sharing a handle, a variant price of 0.
Each problem shows the product and a suggested fix to accept or skip.
Download the fixed CSV.
Turn checks on or off; the choice is remembered.
Its 7 acceptance tests
parseCSV then toCSV gives back the same text for a file with quotes, commas and line breaks inside fields.
Rows that share a Handle count as one product; two rows with the same Handle and two different Titles are flagged duplicate-handle.
alt-missing flags each image row with an Image Src and no Image Alt Text, and suggests the product's Title.
seo-title-long flags an SEO Title over 70 characters.
applyFixes changes only the accepted cells; every other cell, the column order and the row order stay the same.
The page loads nothing from another site and sends no request with the file's contents.
The check settings survive a reload.
Prompt 8Size Chart Builder for product pages
Basic
App
For Shopify stores
Written and linted, not run
A size chart builder in the browser for clothing sellers. Enter sizes and measurements once, switch between inches and centimetres, and copy an accessible HTML table to paste into a product page.
Pick sizes (XS to 3XL, or your own) and measurements (chest, waist, length, sleeve...).
Enter values in inches or centimetres and convert the whole chart.
Warnings for a missing value or a measurement that shrinks as the sizes grow.
Copy the HTML table, or show both units in it.
Save several charts; they are remembered.
Its 6 acceptance tests
Converting inches to centimetres and back gives the original values within 0.1.
toHTML gives a table with a caption, a header row and one row per size, and escapes < and & in names.
validate flags a missing value and a chest that gets smaller from M to L.
Duplicate size names are refused.
With bothUnits, each cell shows both units.
Saved charts survive a reload.
Prompt 9Orbit Dodger, a one-button arcade game
Basic
Game
Written and linted, not run
Orbit Dodger is a one-button arcade game. A small ship circles a planet on one of two orbits, and debris drifts in along both. One press (space, click or tap) switches orbit. Survive as long as you can; the pace rises with the score.
One button switches between the inner and outer orbit.
Debris appears on both orbits in patterns that get faster and denser.
Score by time survived; the top 5 scores are kept in the browser.
Pause when the tab is hidden, and with P.
Sounds for a switch, a near miss and a crash, with a mute toggle.
Its 6 acceptance tests
The same seed and the same inputs give the same score every time.
Holding the button switches lanes once; it takes a release and a new press to switch again.
Debris in the ship's lane at the ship's angle ends the game; debris in the other lane does not.
speed rises with the score and never passes MAX_SPEED.
A 2-second step is run in pieces of at most 50 ms, so it cannot jump past a crash.
topScores keeps the 5 highest, highest first, and they survive a reload.
Prompt 10Lantern Maze, a new maze every run
Basic
Game
Written and linted, not run
Lantern Maze puts the player in a new maze every run, seeing only what their lantern lights. Find the exit as fast as you can; the best time for each maze size is kept.
A new maze every run, from 5 by 5 to 40 by 40.
Only cells within the lantern's light are drawn; visited cells stay faintly visible.
Arrow keys or WASD; swipe on touch screens.
A timer and the best time per maze size.
A replay seed shown at the end, so a maze can be shared and played again.
Its 7 acceptance tests
The same seed gives the same maze; two different seeds give different mazes.
Every cell can be reached from the start.
The maze is perfect: it has exactly cells - 1 open passages.
The exit is the cell farthest from the start by shortestPath.
canMove refuses a move through a wall.
A 40 by 40 maze is generated in under 200 ms in Node.
Best times are kept per size, lowest first, and survive a reload.
Prompt 11Fuse Field, a grid logic puzzle
Basic
Game
Written and linted, not run
Fuse Field is a grid logic puzzle. Fuses hide under some tiles; every open tile shows how many of its 8 neighbours hold a fuse. Open every safe tile to win; open a fuse and the round is over.
Three sizes: 9 by 9 with 10 fuses, 16 by 16 with 40, 30 by 16 with 99.
The first tile opened is always safe, and so are its neighbours.
Opening a 0 opens the whole area around it.
Flag a tile you think holds a fuse; open the neighbours of a number whose flags are all placed.
A timer, a fuses-left counter and the best time per size.
Its 8 acceptance tests
The first tile and its 8 neighbours never hold a fuse.
Every tile's number equals the fuses among its neighbours.
Opening a 0 opens the connected area of 0s and the numbers around it.
Opening a fuse sets status lost; opening every safe tile sets won.
A flagged tile cannot be opened until it is unflagged.
chord opens the neighbours only when the flags around a number equal the number.
The board holds exactly the requested number of fuses.
Best times survive a reload.
Prompt 12Word Ladder, a daily word puzzle
Basic
Game
Written and linted, not run
Word Ladder: get from a start word to a goal word by changing one letter at a time, and every step must be a real word. There is one puzzle a day, the same for everyone, plus practice puzzles.
Type each step; a step is accepted only if it is a word and differs by one letter.
Today's puzzle, the same all day for everyone, and unlimited practice puzzles.
Score: your steps against the fewest possible.
Undo a step; give up to see a shortest ladder.
Results and a daily streak kept in the browser.
Its 7 acceptance tests
isStep is true only for words of the same length that differ in exactly one place.
shortest finds the fewest steps on a small hand-made word list.
puzzle always has a solution with 3 to 6 steps, and the same seed gives the same puzzle.
A ladder with a word that is not in the list is refused.
WORDS holds at least 400 unique lower-case 4-letter words.
The same date always gives the same daily puzzle.
Results survive a reload.
Interactive · Decidercase 1 of 4
Is this a Basic build?
Basic prompts run in the browser only and save to localStorage. PASS if the app fits that, FAIL if it needs the Advanced or Master stack.
A habit log for one person on one device
PASS Everything fits in the browser.
A shared shopping list for a family
FAIL Several people means accounts and a server: Master.
A checker for a CSV file the user drops in
PASS The file never leaves the browser.
A photo gallery that keeps the original files
FAIL Large files belong on disk: Advanced.
Your answers stay in this browser. Nothing is sent anywhere. Reset clears them.
Quotedn = 12 Basic prompts The Basic stack as the prompts fix it.
Advanced prompts
Advanced · module six · 6 min
The Advanced prompts: full stack on your machine
A Node server with SQLite, a JSON API with exact routes, and a browser UI. Games put their rules in one module that the browser and the server both import, so the server can check what the player claims. The two demo prompts are in this level.
Prompt 13Personal CRM
Advanced
App
Written and linted, not run
A personal CRM on your own machine: the people you work with, notes on every conversation, and reminders of who to follow up with and when.
Contacts with name, email, phone, company, tags and a next follow-up date.
Notes on a contact, newest first.
Search by name, email or company, filtered by tag.
A follow-up list: who is due, soonest first.
Import contacts from CSV and export them to CSV.
Its 8 acceptance tests
Create, read, update and delete a contact; an unknown id gives 404.
An email that does not look like an address is refused with 400.
Search matches name, email or company ignoring case, and the tag filter combines with it.
Follow-ups list contacts due on or before the date, soonest first, and leave out contacts with no date.
Notes come back newest first with their time.
Import skips rows with no name and says why, and updates a contact whose email matches.
Exporting then importing the file changes nothing.
The data survives a restart.
Prompt 14Kanban Project Board
Advanced
App
Built and graded below
A Kanban project board for one person, running on their own machine. There can be several boards. Each board has columns, each column holds cards, and cards move between columns by drag and drop. A column can have a WIP limit: the most cards it may hold.
Create, rename and delete boards. A new board starts with three columns: To do, Doing, Done.
Add, rename, reorder and delete columns. Set or clear a column's WIP limit.
Add cards with a title (required, 1-200 characters) and an optional description. Edit and delete cards.
Drag a card within its column or into another column. The new order is saved.
A card cannot enter a column that is at its WIP limit; the board says why.
Search the cards on a board by title.
Everything survives a server restart.
Its 9 acceptance tests
Creating a board returns its three starting columns in the order To do, Doing, Done.
Cards keep the order they were added in. Moving a card to position 0 of another column puts it first there, and both columns' positions run 0..n-1 with no gaps.
A column with WIP limit 2 that holds 2 cards refuses a third card with 409, both when it is created and when it is moved in, and accepts one again after a card leaves.
Setting a WIP limit below the number of cards a column holds is refused with 409.
Bad input is refused with 400 and an error message: an empty board name, an empty card title, a 201-character title and a WIP limit of 0.
Data survives a restart: stop the server, start it again on the same DB_PATH, and the boards, columns, cards and their order are unchanged.
Deleting a board removes its columns and cards. Deleting a column that holds cards is refused with 409.
Search finds cards by part of the title, ignoring case, and only on the board searched.
GET / returns the board page, and the page loads no script or stylesheet from another site.
Prompt 15Inventory and Reorder Log for a small shop
Advanced
App
For Shopify stores
Written and linted, not run
An inventory log for a small shop, on your own machine. Every stock movement is recorded, items at or under their reorder point show up on a reorder list, and counts can be imported from a Shopify inventory export.
Items with SKU, name, on-hand count, reorder point, reorder quantity and unit cost.
Record stock in, stock out and count adjustments, each with a note.
A reorder list with suggested quantities.
A history per item with a running balance.
Total stock value.
Import on-hand counts from a Shopify inventory CSV (Handle, Title, SKU, Available).
Its 8 acceptance tests
in adds, out subtracts and adjust sets the on-hand count.
An out larger than the on-hand count is refused with 409 and changes nothing.
The reorder list holds exactly the items at or below their reorder point, with the suggested quantity.
A second item with the same SKU is refused with 409.
Import updates existing SKUs, adds new ones, skips rows with no SKU and reports the counts.
History lists every movement in order with the running balance.
Stock value is the sum of on-hand times unit cost, in exact cents.
The data survives a restart.
Prompt 16Freelance Timesheet and Invoice Maker
Advanced
App
Written and linted, not run
A timesheet and invoice maker for a freelancer, on their own machine. Run a timer per client or add time by hand, then turn unbilled time into numbered invoices with a PDF.
Clients with an hourly rate.
One running timer at a time; add or edit entries by hand.
Unbilled time per client.
Create an invoice from a client's unbilled time in a date range.
Download each invoice as a PDF the app writes itself.
Its 7 acceptance tests
Only one timer runs at a time: starting a second stops the first.
An entry that ends before it starts is refused with 400, and an overlapping entry for the same client with 409.
A 7-minute entry at $90 an hour bills 15 minutes and $22.50.
Entries on one invoice are never billed on another.
Invoice numbers run INV-0001, INV-0002 with no gaps or repeats.
The PDF starts with %PDF- and contains the invoice number and the total.
The data survives a restart.
Prompt 17Workout Log with Progress Charts
Advanced
App
Written and linted, not run
A workout log on your own machine: record sets of each exercise, see personal bests, and follow progress on charts the app draws itself.
Exercises of three kinds: weight, bodyweight and timed.
Log a workout: date and sets (reps, weight or seconds).
Personal bests per exercise, with the date they were set.
Progress charts drawn as SVG by the app (no chart library).
Show weights in kg or lb.
Its 7 acceptance tests
A set with 0 reps, a negative weight or a weight exercise with no weight is refused with 400.
Progress gives one point per workout date with the best set, the Epley estimate and the volume.
A personal best changes only when it is beaten, and keeps the date it was set.
Deleting a workout removes it from progress and recomputes the bests.
?unit=lb converts weights to pounds, rounded to 0.1.
The page loads nothing from another site.
The data survives a restart.
Prompt 18Order Export Dashboard for Shopify store owners
Advanced
App
For Shopify stores
Written and linted, not run
A sales dashboard on your own machine, fed by the orders CSV a Shopify store exports. It shows sales by day, top products, average order value and the share of repeat customers. It never keeps a customer's email in plain text, and it ships with a script that makes fake sample data.
Import a Shopify orders CSV; importing the same file again adds nothing.
Only paid orders count toward revenue.
Sales by day (days with no orders included), top products, average order value and repeat rate for any date range.
Charts drawn as SVG by the app (no chart library).
npm run seed writes sample/orders.csv with 200 fake orders to try it with.
Its 8 acceptance tests
An order spread over several rows imports as one order with several line items.
Importing the same file twice adds nothing the second time.
Refunded and pending orders are left out of revenue.
Average order value is revenue divided by orders, in exact cents.
Repeat rate counts customers by hashed email, and no plain-text email is anywhere in the database.
Sales by day includes days with no orders.
An order created at 23:30 -0500 counts on its own local day.
The seed script writes a file the importer accepts.
Prompt 19Content Calendar with iCal export
Advanced
App
Written and linted, not run
A content calendar for a small brand, on your own machine. Plan posts per channel, move them from idea to published, drag them between days, and subscribe to the plan from any calendar app.
Channels (blog, newsletter, Instagram...).
Posts with a title, channel, status, day, optional time and notes.
Month and week views; drag a post to another day.
Filters by channel and status.
An iCalendar (.ics) feed of everything scheduled or published.
Its 7 acceptance tests
An idea needs no date; every other status needs one.
Status moves forward only, and a published post cannot change status (409).
Filters by channel, status and date range combine.
The .ics file has one VEVENT per scheduled or published post, CRLF line ends, escaped commas and semicolons, and folded long lines.
A post's UID stays the same after the post is edited.
Deleting a channel that has posts is refused with 409.
The data survives a restart.
Prompt 20Photo Gallery with Albums and Tags
Advanced
App
Written and linted, not run
A photo gallery on your own machine. Upload photos into albums, tag them, and find them again by tag or title. The browser makes the thumbnails; the server checks every file it is sent.
Albums; upload photos by drag and drop.
Thumbnails made in the browser with a canvas, uploaded with the photo.
Tags and titles; filter by album and by one or more tags.
A full-size viewer with next and previous.
Delete a photo and its files.
Its 7 acceptance tests
A file whose bytes are not JPEG, PNG or WebP is refused with 415, even when the Content-Type says image/png.
A body over 15 MB is refused with 413 and nothing is written to disk.
A photo comes back byte for byte with the right Content-Type.
Tags are lower-cased and unique, and asking for two tags returns only photos with both.
Deleting a photo removes its files from disk.
Path tricks such as ../ in any part of a request cannot reach a file outside data/uploads/.
The data survives a restart.
Prompt 21Crate Courier, a crate-pushing puzzle game with a level editor
Advanced
Game
Built and graded below
Crate Courier is a crate-pushing puzzle game in the browser, with a level editor. The player walks a courier around a warehouse grid and pushes crates onto delivery spots; a level is solved when every crate sits on a spot. Players build their own levels in the editor. The server saves only levels that can be solved, and keeps a fewest-moves leaderboard for each level.
Play: the arrow keys or WASD move the courier one square. Walking into a crate pushes it one square if the square beyond is floor or a spot. The courier cannot push two crates at once or walk through walls. Z undoes a move, R restarts the level. A move counter, and a solved screen with the move count.
Ships with 5 built-in levels from easy to harder, each one solvable, stored in the database on first start.
Level editor: paint walls, floor, spots, crates and the courier's start on a grid up to 20 by 20, test-play the level, and save it with a name.
The server checks every level before saving it: the format is valid, there is exactly one courier, at least one crate, as many spots as crates, and a solution exists. It tells the player why a level was refused.
Leaderboard: after solving a level the player enters a name (1-20 characters) and the server records the move count. Each level shows its top 10, fewest moves first, then the earliest.
Graphics drawn in code, sound effects for a step, a push, a crate landing on a spot and a solve.
Its 8 acceptance tests
parseLevel then toText gives back the same text for each of the 5 built-in levels.
move: walking into a wall changes nothing; pushing a crate onto floor moves the courier and the crate; pushing a crate into a wall or into another crate changes nothing; moves counts only the moves that happened; the state passed in is never changed.
isSolved is true only when every crate is on a spot.
solve returns the fewest moves for a small level whose answer is known, and reports a level with no solution as unsolvable.
The server refuses a level with no solution (422) and an invalid one (400: no courier, two couriers, crates and spots unequal, an unknown character), and saves a valid solvable level (201) with its minMoves.
Scores come back fewest moves first, at most 10, and a score with fewer moves than the level's minMoves is refused with 400.
Levels and scores survive a restart on the same DB_PATH.
GET / returns the game page, and the page loads no script, image or stylesheet from another site.
Prompt 22Bastion Line, a tower defense game with a wave editor
Advanced
Game
Written and linted, not run
Bastion Line is a tower defense game. Enemies walk a fixed road across the map in waves; the player spends gold on towers beside the road to stop them. Players write their own wave sets in an editor. The server keeps a leaderboard, and it works each score out itself by replaying the match.
Three towers: bolt (one target), frost (slows) and cannon (splash).
Gold from each enemy stopped; lives lost when one reaches the exit.
Three built-in maps and three built-in wave sets.
A wave editor: enemy kinds, counts and gaps per wave; save it with a name.
A leaderboard per map and wave set.
Its 7 acceptance tests
Enemies follow the road from S to E, and each one that reaches E costs a life.
A tower cannot go on the road, on another tower, or without enough gold.
Frost slows the enemies it hits, cannon damages every enemy in its radius, bolt hits one.
The same map, waves, seed and placements give the same result every time.
A map with a broken road or two exits is refused with 400.
The server records the score from its own replay and ignores any score the client sends.
The leaderboard returns the top 10 for a map and wave set.
Prompt 23Deepwell, a turn-based dungeon crawler
Advanced
Game
Written and linted, not run
Deepwell is a turn-based dungeon crawler. Each run goes down a well of new floors, made fresh from a seed: rooms, corridors, monsters and stairs down. Nothing moves until the player does. Runs can be saved in three slots on the server, and finished runs go on a list of the deepest.
New floors every run from a seed; the same seed gives the same well.
Move, wait, pick up, use an item, go down the stairs. Walking into a monster attacks it.
Monsters act after the player.
The player sees only what is in line of sight.
Three save slots, and a list of the deepest runs.
Its 8 acceptance tests
The same seed gives the same floors and the same rolls.
Every floor tile and the stairs can be reached from the start.
The player cannot walk into a wall; walking into a monster attacks it.
Monsters act only after the player acts, and waiting lets them act.
A saved slot loads back to the same state, and slot 4 or a 300 KB save is refused.
A monster behind a wall is not visible.
The runs list sorts deepest first, then fewest turns.
Slots and runs survive a restart.
Prompt 24Pulse Lane, a rhythm tap game with a beat-map editor
Advanced
Game
Written and linted, not run
Pulse Lane is a rhythm game in four lanes. Notes fall in time with a beat the browser makes itself with the Web Audio API, and the player taps each lane's key as a note lands. Players write beat maps in an editor that snaps notes to the beat. The server scores every run itself from the taps.
Four lanes on the D, F, J and K keys, or tapped on a touch screen.
Perfect, good and miss timing, a combo counter and a score.
Music made live by Web Audio from the beat map (no audio files).
A beat-map editor: tempo, offset, and notes snapped to 1/4 or 1/8 beats.
A leaderboard per beat map.
Its 8 acceptance tests
judge at the edges: 45 ms is perfect, 46 is good, 90 is good, 91 is a miss.
One tap judges one note at most; extra taps add nothing.
A miss resets the combo, and maxCombo keeps the best run.
quantize snaps to the nearest 1/4 or 1/8 beat at the given tempo and offset.
The server refuses a beat map with bpm out of range, unsorted notes, a lane outside 0-3 or two notes in one lane under 80 ms apart.
The server scores a run itself from the taps and ignores any score the client sends.
The page loads no audio or image file.
Beat maps and scores survive a restart.
Interactive · Gate Runnercandidate 1 of 5
Is this contract complete?
Other code and your hidden tests depend on the contract. For each draft, pick the first thing it lacks; if it has all four, pick the last button.
An API for levels and scores
Exact namesEvery route or exported function, spelled once.REFUSED
Inputs and outputsWhat each takes and returns, with types.never reached
ErrorsWhich input gets which status code or error.never reached
Edge rulesTies, limits, what happens past the end.never reached
Hand it to the plannerReady.never reached
Stopped: no names a test can call.
GET and POST /api/levels
Exact namesEvery route or exported function, spelled once.pass
Inputs and outputsWhat each takes and returns, with types.REFUSED
ErrorsWhich input gets which status code or error.never reached
Edge rulesTies, limits, what happens past the end.never reached
Hand it to the plannerReady.never reached
Stopped: what goes in, what comes back?
Same, with request and response fields
Exact namesEvery route or exported function, spelled once.pass
Inputs and outputsWhat each takes and returns, with types.pass
ErrorsWhich input gets which status code or error.REFUSED
Edge rulesTies, limits, what happens past the end.never reached
Hand it to the plannerReady.never reached
Stopped: what does a bad level get?
Same, with 400 and 422 named
Exact namesEvery route or exported function, spelled once.pass
Inputs and outputsWhat each takes and returns, with types.pass
ErrorsWhich input gets which status code or error.pass
Edge rulesTies, limits, what happens past the end.REFUSED
Hand it to the plannerReady.never reached
Stopped: what order do tied scores come back in?
The Crate Courier contract
Exact namesEvery route or exported function, spelled once.pass
Inputs and outputsWhat each takes and returns, with types.pass
ErrorsWhich input gets which status code or error.pass
Edge rulesTies, limits, what happens past the end.pass
Hand it to the plannerReady.REFUSED
Passes.
Your answers stay in this browser. Nothing is sent anywhere. Reset clears them.
Quotedn = 1 contract Built from the Crate Courier prompt’s contract.
Master prompts
Master · module seven · 6 min
The Master prompts: sign-in, many users, deploy
Accounts with scrypt-hashed passwords and HttpOnly sign-in sessions, roles, live updates by Server-Sent Events, and a Dockerfile with a deploy guide for any host that runs a container. The verifier gets extra checks: password storage, the sign-in session, and that one user cannot reach another’s data by changing an id. None of these was run for this page.
Prompt 25Team Task Board with Roles
Master
App
Written and linted, not run
A task board for small teams. People sign up, create workspaces, invite teammates with a role, and share tasks. What each person may do depends on their role in that workspace.
Sign up, sign in, sign out.
Workspaces with an owner; invite people by email with the role admin, member or viewer.
Tasks with title, status (to do, doing, done), assignee and due date.
Roles: the owner can do everything; admins manage members (never the owner) and tasks; members create and edit tasks; viewers only read.
An activity log per workspace: who changed what, and when.
Its 8 acceptance tests
Passwords are stored only as scrypt hashes, and the sign-in session is set HttpOnly and SameSite. The password appears in no response and no log line.
A wrong password and an unknown email give the same status and error.
A viewer can read tasks but gets 403 on create, edit and delete.
Someone who is not a member gets 404, not 403, for a workspace and its tasks.
An invite token works once, and only for the email it was sent to.
An admin cannot remove or demote the owner.
The activity log records who changed what.
After logout, the old session no longer works: requests get 401.
Prompt 26Help-Desk Ticket System
Master
App
Written and linted, not run
A help desk for a small business. Customers sign up and file tickets; agents answer them, add internal notes customers never see, and work to a first-response deadline set by priority. New replies appear live.
Customers file tickets (subject, message, priority) and see only their own.
Agents see every ticket, assign them, reply, and add internal notes.
Statuses: open, pending (waiting on the customer), solved, closed.
First-response deadlines: urgent 4 hours, high 8, normal 24, low 72.
A list of tickets past their deadline with no agent reply.
New replies appear live without a reload.
Its 8 acceptance tests
A customer sees only their own tickets, and another customer's ticket gives 404.
Internal notes never reach a customer: not from the ticket routes and not on the event stream.
The first-response deadline is the creation time plus 4 hours for urgent, 8 for high, 24 for normal and 72 for low.
?breachedAt lists the tickets past their deadline with no public agent reply by that time.
A customer reply on a pending ticket reopens it, and a closed ticket refuses messages with 409.
Customers cannot assign tickets (403).
Passwords are stored only as scrypt hashes, and the sign-in session is set HttpOnly and SameSite.
A new public reply reaches the ticket's customer on the event stream within 2 seconds.
Prompt 27Booking Scheduler
Master
App
Written and linted, not run
A booking scheduler for one host, such as a tutor or a consultant. The host sets weekly hours in their own time zone; guests sign up, see the free slots in their own time zone and book one. Two people can never get the same slot.
The host sets weekly hours, slot length, a buffer between bookings, minimum notice and how many days ahead guests may book.
The host blocks whole days.
Guests see free slots in their own time zone and book one.
Guests cancel up to 2 hours before; the host sees every booking.
Times are right across daylight-saving changes (built-in Intl only, no date library).
Its 8 acceptance tests
Slots follow the weekly hours, the slot length and the buffer after each booking.
Two guests booking the same slot at once: one gets 201, the other 409.
Slots on 2026-03-08, when New York moves its clocks forward, are right in the host's zone and in a guest's zone of Europe/London.
Minimum notice and the days-ahead limit are applied.
A guest can cancel their own booking until 2 hours before (then 409), and another guest's booking gives 404.
A blocked day shows no slots.
Guests see only their own bookings; the host sees all.
Passwords are stored only as scrypt hashes, and the sign-in session is set HttpOnly and SameSite.
Prompt 28Community Recipe Site with moderation
Master
App
Written and linted, not run
A community recipe site. Members post recipes with a photo, comment and like; anyone can report a post or comment, and moderators work through a queue. A new member's first two recipes wait for approval.
Members post recipes with one photo, ingredients and steps.
Comments and likes (one like per member per recipe).
Search by title and ingredient.
Reports go to a moderation queue; moderators hide or restore posts and comments.
A new member's first 2 recipes wait for a moderator's approval.
At most 10 new recipes per member per hour.
Its 8 acceptance tests
A member can like a recipe once; unliking removes it.
A new member's first 2 recipes stay hidden from others until a moderator approves them.
A reported item appears in the queue once, with its report count.
A hidden item is gone for everyone except moderators and its author.
Member text such as <img src=x onerror=alert(1)> is shown as text, and the page code never puts member text into innerHTML.
The 11th recipe from one member within an hour is refused with 429.
Non-moderators get 403 on moderation routes.
A photo with the wrong bytes gets 415 and one over 8 MB gets 413. Passwords are stored only as scrypt hashes, and the sign-in session is set HttpOnly and SameSite.
Prompt 29Wholesale Buyer Portal for a Shopify store
Master
App
For Shopify stores
Written and linted, not run
A wholesale portal next to a Shopify store. Shops apply to buy wholesale; staff approve or reject them. Approved buyers see the wholesale catalogue with price breaks and send quote requests; staff answer with a quote the buyer can accept. No payments are taken in the portal.
Buyers apply with business name, website, country and expected monthly order.
Staff approve or reject applications.
A wholesale catalogue imported from a Shopify products CSV, with a percentage off and three price breaks by quantity.
Approved buyers build a quote request; staff adjust and send a quote valid until a date.
Buyers accept a quote, which becomes an order record for staff to fulfil.
Its 8 acceptance tests
Pending and rejected buyers cannot see prices (403).
Price breaks: quantities 1-11 use the first break, 12-47 the second, 48 and up the third, in exact cents.
The server works out every quote line itself and ignores any price the client sends.
An expired quote cannot be accepted (409).
Staff routes give 403 to buyers.
Catalogue import from a Shopify CSV adds and updates by SKU.
A buyer sees only their own quotes; another buyer's quote gives 404.
Passwords are stored only as scrypt hashes, and the sign-in session is set HttpOnly and SameSite.
Prompt 30Live Poll and Q&A for live sessions
Master
App
Written and linted, not run
A live poll and Q&A tool for talks, classes and meetings. A host signs in and opens an event with a short join code; the audience joins without an account, votes in polls and asks and upvotes questions, and everyone sees the results change live.
Hosts sign in and create events with a 6-character join code.
The audience joins with the code, without an account.
Single- and multiple-choice polls; the host opens, closes, and shows or hides results.
Questions from the audience, upvoted once per person, sorted by votes.
Everything updates live.
Its 8 acceptance tests
Join codes have 6 characters from the unambiguous alphabet and are unique among open events.
One vote per participant per poll; voting again changes the vote instead of adding one.
A closed poll refuses votes with 409.
A vote shows up on other open streams within 2 seconds.
Questions sort by upvotes, then oldest, and each participant can upvote a question once.
Only the event's host can open or close polls and hide questions (403 otherwise).
Results stay hidden from the audience until the host shows them.
Passwords are stored only as scrypt hashes, and the sign-in session is set HttpOnly and SameSite.
Prompt 31Group Expense Splitter
Master
App
Written and linted, not run
A shared-expenses app for trips, flats and clubs. Members of a group add what they paid and how to split it; the app keeps everyone's balance and suggests the fewest payments to settle up. It records payments; it never moves money.
Groups with members, joined by an invite link.
Expenses split equally, by exact amounts or by shares.
Balances for everyone in the group.
Settle-up suggestions with the fewest payments; record a payment once it is made.
Delete or edit an expense and the balances update.
Its 8 acceptance tests
An equal split of $10.00 among 3 gives 334, 333 and 333 cents, the extra cent going to the member who joined first, and the parts add up exactly.
Exact amounts that do not add up to the total are refused with 400.
A group's balances always add up to 0.
Settle-up clears every balance with at most n - 1 payments.
Recording a payment updates both balances.
Only group members can see or add expenses; anyone else gets 404.
Deleting an expense recomputes the balances.
Passwords are stored only as scrypt hashes, and the sign-in session is set HttpOnly and SameSite.
Prompt 32Course Site with Quizzes
Master
App
Written and linted, not run
A small course site. Instructors write courses as lessons with quizzes; learners enrol, work through the lessons, take the quizzes and see their progress. The server marks every quiz, and the answers never reach the browser before a learner submits.
Instructors create courses, lessons (written in Markdown) and quizzes.
Questions: single choice, multiple choice and short answer.
A pass mark and an attempt limit per quiz; a quiz can be required before the next lesson opens.
Learners enrol, mark lessons done and see their progress.
Instructors see results per question for their own courses.
Its 8 acceptance tests
Quiz questions sent to a learner never include the answers.
The server marks every attempt and ignores any score the client sends.
The attempt limit holds: after the last attempt, 409.
A lesson after a required quiz stays locked until that quiz is passed.
Progress is completed lessons over total lessons, per learner.
Instructors see per-question results only for their own courses.
Lesson Markdown is shown safely: no raw HTML and no javascript: links.
Passwords are stored only as scrypt hashes, and the sign-in session is set HttpOnly and SameSite.
Prompt 33Hexfront, a two-player turn-based strategy game
Master
Game
Written and linted, not run
Hexfront is a two-player strategy game on a hex grid, played at each player's own pace: take your turn, and the other player is told it is theirs. Each side has a base and a few units; capture the other side's base to win. A rating list ranks players.
Create a game and share its code, or join one by code.
Units: scouts (move 3), soldiers (move 2, strong) and guards (move 1, defend the base).
Each turn: move up to two units and attack next to them; capture the enemy base to win.
Blocked hexes and a fresh map from a seed for every game.
The other player is told when it is their turn.
Ratings (Elo) after each game.
Its 8 acceptance tests
distance and neighbors are right in axial coordinates.
A move out of turn or with a stale turn number is refused with 409.
An illegal move (too far, onto a blocked hex, onto a friendly unit) is refused with 400 and the state does not change.
Capturing the other base ends the game and sets the winner.
Everyone starts at 1500; after a first game between two new players, the winner has 1516 and the loser 1484.
A player cannot see or move in a game they are not in (404).
The other player is told it is their turn on the stream within 2 seconds.
Passwords are stored only as scrypt hashes, and the sign-in session is set HttpOnly and SameSite.
Prompt 34Skirmish Yard, a real-time arena game
Master
Game
Written and linted, not run
Skirmish Yard is a real-time top-down arena; each room holds up to six. The server runs the game 20 times a second and is the only one that decides where anyone is; browsers send what the player is pressing and draw what the server says, smoothing between updates.
Rooms that hold up to six, joined by code.
Move with WASD, aim with the mouse, click to fire.
Hits, a short respawn, and 3-minute rounds with a scoreboard.
The server caps speed and fire rate, whatever a client sends.
Round results saved and shown on a leaderboard.
Its 8 acceptance tests
step is deterministic: the same world and inputs give the same result.
A player never moves faster than MAX_SPEED, whatever inputs are sent.
Firing faster than the cooldown fires only once per cooldown.
A bullet that would pass through a player between two steps still hits.
A room holds at most six; one more joining gets 409.
Input from a player not in the room is refused with 403.
The server ignores any position a client sends; only inputs count.
A round ends after 3 minutes and its scoreboard is saved. Passwords are stored only as scrypt hashes, and the sign-in session is set HttpOnly and SameSite.
Prompt 35Sketch Signal, a party drawing-and-guessing game
Master
Game
Written and linted, not run
Sketch Signal is a party game for groups of three to eight. Each round one player draws a secret word while the others guess in the chat; the sooner the right guess, the more points, and the drawer scores for every player who gets it.
Rooms for three to eight, joined by code.
The drawer picks one of three words from a built-in family-friendly list.
Drawing shows up live for everyone; guesses go in a chat.
A guess that contains the word is hidden from the others.
80-second rounds; every player draws once per lap.
A scoreboard at the end of the game.
Its 8 acceptance tests
The word reaches only the drawer: it is never in the room state or in any event a guesser receives.
A right guess scores more the sooner it comes, and the drawer scores for each right guesser.
A guess that contains the word is not shown to the other players.
Only the drawer can send strokes (403 for others).
Strokes outside 0-1000 or with over 500 points are refused with 400.
The drawer rotates so each player draws once per lap.
A 9th player is refused with 409, and a round carries on when a guesser leaves.
Passwords are stored only as scrypt hashes, and the sign-in session is set HttpOnly and SameSite.
Prompt 36Daily Circuit, a daily wire puzzle with a global leaderboard
Master
Game
Written and linted, not run
Daily Circuit is one wire puzzle a day, the same for everyone. Rotate the tiles so the power source lights every lamp with no loose wire ends. The server checks every solution itself and ranks the day's fastest players; streaks reward coming back each day.
One puzzle per UTC day, plus the archive of past days.
Click a tile to rotate it; lamps light as they connect.
The time runs from when the player first opens the day's puzzle.
A daily leaderboard, fastest first.
Streaks of days solved in a row.
Its 8 acceptance tests
The same date gives the same puzzle, and the next day's is different.
Every puzzle has a solution, and the scrambled start is not already solved.
isSolved is false when any wire end is open or any lamp is off.
The server checks a submitted solution itself and refuses a wrong one with 400.
One result per player per day, timed from when the server first sent them that day's puzzle.
Streaks count UTC days solved in a row, and a missed day resets the current streak.
The daily leaderboard ranks fastest first and shows only that day.
Passwords are stored only as scrypt hashes, and the sign-in session is set HttpOnly and SameSite.
Interactive · Decidercase 1 of 5
Is it safe with many users?
Master prompts add sign-in and many users. PASS if the line is what those prompts require, FAIL if it is a mistake they rule out.
Passwords stored only as scrypt hashes
PASS Every Master prompt says so, and its verifier checks it.
A user who is not a member gets 403 for a workspace
FAIL 404, so the workspace’s existence does not leak.
The server trusts the score the game sends
FAIL The server works the score out itself from the moves.
The sign-in session is set HttpOnly and SameSite
PASS Scripts on the page cannot read it.
A drawing game sends the secret word to every player
FAIL Only the drawer may receive it, on any route or stream.
Your answers stay in this browser. Nothing is sent anywhere. Reset clears them.
Quotedn = 12 Master prompts Rules written into the Master prompts; none of these prompts was run.
Module eight · 6 min
Write your own team prompt
Pick the kind of build, describe the app, list the features and the acceptance tests, and the builder wraps them in the same team skeleton as the library. Nothing you type leaves this page: there is no AI call and nothing is sent anywhere. The plain checks underneath flag the usual gaps before you paste.
Without scripts
The builder needs JavaScript. Without it, copy any prompt on this page and replace THE APP, the features, THE CONTRACT and the acceptance tests with your own; keep everything from STEP 1 down.
What makes a good acceptance test
One line, one observable result: a status code, an order, a count, a value that survives a restart. If two people could disagree about whether it passed, rewrite it.
Module nine · 4 min
The same prompts in Google Antigravity
The team shape is not tied to Claude Code. Google’s Antigravity has /swarm, which turns a conversation into a coordinator with named workers in their own worktrees, reporting to a shared board. To move a prompt from this library, keep the job half as it is and rewrite the team half in Antigravity’s terms. None of this was tested with these prompts.
In these prompts
In an Antigravity /swarm run
The orchestrator writes .claude/agents files
Start with /swarm; the coordinator names its workers
Builders that own paths
Say in the prompt which files each worker owns
A verifier with no Write or Edit tool
Ask for a verifier and say it never edits
HANDOFF.md for cross-file requests
The shared board
A model per role
Pick the model in the app; workers follow the conversation’s setting
Stop rules: team cap, fix-round cap
Keep them word for word; a swarm uses quota faster than one conversation
Quotedn = 6 parts From Google’s /swarm docs as read for the Antigravity masterclass on this site, which ran a capped swarm itself. Not verified with these prompts.
Interactive · Decidercase 1 of 4
Does it carry over to Antigravity?
PASS if the part of a team prompt has a direct counterpart in an Antigravity /swarm run as Google documents it, FAIL if it needs rewriting.
A coordinator that splits the work
PASS /swarm turns the conversation into a coordinator.
Workers that each own a set of files
PASS Workers run in their own worktrees and report to a shared board.
Agent files in .claude/agents with a model per role
FAIL Claude Code’s format; Antigravity names its own workers.
A verifier that only runs tests
PASS The coordinator adds verifiers; say in the prompt that they never edit.
Your answers stay in this browser. Nothing is sent anywhere. Reset clears them.
Quotedn = 4 parts From Google’s /swarm docs as read for the Antigravity class on this site; not run with these prompts.
Module ten · 4 min
Honest limits
Two prompts were run, once each, on one machine with Node 24, both Advanced. The other 36 minus two were written from the same skeletons and pass the same lint, but nobody has run them: a Master prompt with accounts and live updates is a bigger job than either demo, and may need fix rounds or more. The plain-code lint checks the shape of a prompt, never whether an app built from it works. The meter reading is coarse, and this page’s own work shared the window.
The teams tested their own apps; that is not proof. The hidden tests here are what this page relies on, and one of them was wrong until it was fixed. Your copy of a run can go differently: the agents choose their own file layout, wording and many details, and the 45 and 31 decisions the two teams wrote down show how many choices one prompt leaves open.
Yes, when the prompt carries the whole job: what to build, a fixed stack, the exact contract, acceptance tests and stop rules. Two prompts from this library were pasted into empty folders and nobody touched them: a Kanban board finished in about 12 minutes and a puzzle game with a level editor in about 20 minutes, and both passed every hidden check.
What is an orchestrator prompt with sub-agents?
It is one prompt that makes the main Claude Code session a coordinator. The session writes agent files for a planner, builders and a verifier, sends the planner the spec, starts the builders at the same time, has the verifier run the tests, sends failures back to the owner of the file, and writes a report.
Do I need to create the .claude/agents files first?
No. Each prompt writes its own agent files in step one. In both demo runs the new agent types could not be launched in the turn that wrote them, so the prompt's fallback ran each role as a general-purpose sub-agent with its file as instructions. The files are there for your next session.
Which Claude plan do I need for these prompts?
Claude Code needs a Pro, Max, Ultra, Team, Enterprise or Console account, per Anthropic's setup page; the free plan does not include it. Both demos ran on one Ultra plan, Opus as the lead and Sonnet for every sub-agent.
How much usage does one team build take?
The Kanban run used 111,461 output tokens and the game run 184,252, counted from the exported transcripts. Most of the input was cache reads. Both runs together moved the weekly meter on an Ultra plan by at most 2 points.
Why does the verifier never edit files?
A checker that can change the code can make a failing test pass by changing the code or the test. The verifier only runs tests and reports; fixes go back to the builder that owns the file, and nobody may edit a test to make it pass.
What stops a team prompt from running forever?
The stop rules: the team never grows past 6 agents, at most 3 fix rounds, and done means every acceptance test passes and the app starts. If that is not true after the last round, the team stops and says so in its report.
Do the apps need npm packages or an AI API key?
No. Every prompt fixes the stack to what ships with Node.js and the browser: node:http, node:sqlite, node:test and node:crypto, plain HTML, CSS and JavaScript. Nothing to install, and none of the apps calls an AI model.
Were all 36 prompts run?
No. Two were run and graded. All 36 pass a plain-code lint, and the page's copy button builds each one byte for byte from the same template. Every other card says written and linted, not run.
How do I check what the agents built?
Keep a few tests the team never sees. Write them against the contract in the prompt, run them on the finished folder, then break the code on purpose and make sure they fail. This class did that for both demos.
Can I use these prompts in Google Antigravity?
The shape carries over: a coordinator, workers that own files, and a verifier. The translation section shows what to change. It was not tested for these prompts; the Antigravity class on this site measured /swarm itself.
How is this different from the One-Prompt App Library 2.0?
The 2.0 library gave one agent one prompt in Google AI Studio for Shopify tools. This library gives Claude Code a whole team per prompt, for apps and games of every kind, with acceptance tests and stop rules in every prompt.
Do the Shopify prompts need my store login?
No. They work from the CSV files Shopify exports, or they produce something you paste into a product page. None of them asks for an Admin API token.
Can I change the stack in a prompt?
You can, but change the contract and the acceptance tests with it. The fixed stack is what lets the prompt promise nothing to install and lets your own tests run against known names.