Field guide · One-shot, by example Companion to The AI Build Stack Drawn by Mike Cameron Sheets 01–07

One shot,
by example

Every one-shot build has three pieces. Knowing which one you're holding tells you who writes it, where it goes, and who you talk to when it needs to change.

Two flavors, same idea
  • Application one-shot: built by Lovable
  • Bot one-shot: built by your front door bot
  • Changes always go through Claude
Fig. 01 · The three pieces
1 Essay

Your idea, in English

A loose description of what you want. A couple of paragraphs up to a full essay. Messy is fine.

Who writes
You
Goes to
Claude
2 Phased one-shot script

The blueprints

Claude asks questions, then writes the full build kit.

Knowledge fileDesign systemPhases + tests
Who writes
Claude (Fable 5.2)
Goes to
Lovable, or your front door bot
3 Result

The generated application

What gets built from the script: a working app with code, tests and docs, or a staffed bot department.

Who builds
Lovable, or your front door bot
You check
The tests in each phase
Think of it as1 the client brief→2 the architect's blueprints→3 the finished building
Sheet02

The application one-shot, start to finish

Eight steps, in this order. The tags show where each step happens.

  1. Write your essay.Describe the app loosely: who it's for, what it does, how you get paid, what you need to see as the owner. 1
    Claude
  2. Answer Claude's questions.It will ask for specifics before it writes anything. Short answers are fine.
    Claude
  3. Receive the phased script.A knowledge file, a design system and numbered phases, each with its own tests. 2
    Claude
  4. Create a blank app.In Lovable, say only: I want a blank application named Sudsy Paws.
    Lovable
  5. Set up the project.Paste the knowledge file into Project settings → Instructions, and attach the design system.
    Project settings
  6. Paste Phase 1. Let it run.Wait for the result. Don't type anything while it works.
    Lovable prompt
  7. Run that phase's tests.Paste the phase's verify prompt. Pass: bookmark the version and paste the next phase. Fail: take the results to Claude.
    Lovable prompt
  8. Repeat until the last phase passes.What's left is your finished app. 3
    Lovable
Rule 1

Nothing between phases

Don't slip your own requests in between phases. Each phase assumes the ones before it ran exactly as written.

Rule 2

Don't edit the script

Paste each phase as is. If something needs to change, the script changes, and Claude is the one who changes it.

Rule 3

Respect the chain of command

Claude is your architect. You wouldn't give orders to your employee's employee. See Sheet 06.

Sheet03

1 Essay
The example essay

A made-up local business: Sudsy Paws, a mobile dog groomer whose van comes to the customer's house. Copy it, swap in your business, keep the highlighted parts.

essay · sudsy-paws.txt · you write this

I need you to create a phased one-shot script with a matching Knowledge File (compress it to under 10,000 characters if it comes out larger)1 and a design system based on my attached brand kit2. Use the latest published Lovable best practices and Lovable connectors wherever you can3 to build the simplest MVP for Sudsy Paws Mobile Grooming. Write tests to run when each phase finishes4 so we know it was built right. We'll need seed data early, and again for testing at the end5. Architect it as if a professional dev team will take it over6 and keep improving it, so include runnable tests and follow best practices. Order the phases so each one builds on the last, and make every phase copy-and-paste ready7.

What it does: customers book our grooming van to come to their house. The app starts with sign-in: Google, or email and password, with forgot password. The first time in, a short questionnaire they can skip sets up their dog: name, breed, size, temperament, and a photo of the rabies certificate. Then they land on booking: pick a service (bath, full groom, nail trim), a day, and an open window for their zip code. To hold the slot they pay a $25 deposit through Stripe in a popup over the blurred booking screen (full screen on phones). Keep payment inside the app so they're never sent away or left waiting8. After paying, a quick thank-you, then their upcoming visits.

My groomers need a day view: today's stops in order, the dog's notes, buttons for arrived and done, and a way to upload an after photo that gets emailed to the customer.

Give me an admin role I can hand to someone9 so we can see bookings and revenue, help customers with their accounts, and change prices, service zip codes, time windows and the loyalty rule (every 6th groom is $20 off), with a preview before changes go live. Customers never see these settings.

Send emails based on where each customer is10: booked, groomed, no booking in 8 weeks, or started a deposit and didn't finish. Check my attached notes (Sudsy Paws app ideas) for anything this plan contradicts, and ask me questions to settle anything unclear11.

  1. 1
    Knowledge file. Lovable's project instructions max out at 10,000 characters.
  2. 2
    Design system. A repo link or your brand kit, so every screen looks like you.
  3. 3
    Best practices. Claude checks the current docs instead of guessing.
  4. 4
    Tests per phase. Your proof that each phase worked before moving on.
  5. 5
    Seed data. Fake customers and bookings to build and test with.
  6. 6
    Dev-team ready. Real tests and docs, so the app can grow past the MVP.
  7. 7
    Ordered, pasteable phases. The heart of the method.
  8. 8
    Money stays in-app. No redirects, no waiting on webhooks.
  9. 9
    Admin layer. Reports, users and business rules you can change yourself.
  10. 10
    Emails by state. Follow-ups tied to what each customer has done.
  11. 11
    Invite questions. Claude fills the gaps by asking, not guessing.

Is the deposit refundable if they cancel?

Yes, if they cancel 24 hours or more ahead.

Can one booking include more than one dog?

Yes, up to three. One deposit per visit.

Who can see rabies certificates?

Groomers on that visit, and admins.

Should after photos email automatically?

Yes, when the groomer taps Done.

Which email tool do you use today?

None yet. Pick the simplest.

Your notes mention a referral bonus. In or out?

Out for now. Phase 2 of the business.

Sheet04

2 Script
What Claude hands back

The phased one-shot script arrives as a build kit: a start-here guide, then three parts that go to three different places.

sudsy-paws-build-kit/
00-START-HERE.md
01-knowledge-file.md
02-design-system.md
phase-01-foundation.md
phase-02-sign-in-and-roles.md
phase-03-pets-and-seed.md
phase-04-areas-and-windows.md
phase-05-booking-and-deposit.md
phase-06-groomer-day.md
phase-07-emails-and-loyalty.md
phase-08-admin-and-handoff.md
Part A

Knowledge file

The app's rulebook: what it is, who uses it, business rules, data, conventions and don'ts. Lovable reads it before every change.

Goes toProject settings → Instructions
Part B

Design system

Your brand as building blocks: colors, fonts, buttons, cards, voice. Every screen is made from it.

Goes toProject settings → Design system
Part C

Phases

Numbered files, each with prep steps, a build prompt, a verify prompt (the tests) and a "done when" line.

Goes toThe Lovable prompt, one at a time

00-START-HERE is for you, not Lovable: setup steps, secrets you'll add along the way (Stripe keys go in Lovable's Add secret form, never the chat), decisions made from your answers, and anything Claude couldn't verify.

Part A · 01-knowledge-file.md (excerpt)7,812 / 10,000
# Sudsy Paws: project instructions

## Product
Mobile dog grooming. Customers book the van to
their home; groomers work a daily route; admins
run the business rules. Mobile first. Web only.

## Roles
customer (default) · groomer · admin
Admin is granted by another admin, never self-set.

## Business rules (admin-editable)
deposit        2500 cents, refundable ≥ 24h out
loyalty        every 6th completed groom → $20 off
windows        2h blocks, 8am–4pm, per zip code
dogs per visit up to 3, one deposit

## Rules
- Payment stays in-app (embedded checkout).
- Every phase ends with its tests passing.
- Seed data only through the seed script.
- Never show admin settings to customers.
Part B · 02-design-system.md (excerpt)from your brand kit
# Sudsy Paws design system

## Color
primary     #1F7A8C  van teal
accent      #F2B134  tennis-ball yellow
surface     #FFFDF8  towel white
ink         #1B2A33

## Type
display     Fredoka 600
body        Nunito 400 / 700

## Components
Button (pill) · Card · Input · Sheet · Badge
Chip · DayPicker · TimeWindow · PetAvatar

## Voice
Friendly and short. Talks to the owner, not
the dog. Never cutesy about money.
Setup: create it in Lovable (+ → Design →
Use a design system), release a version, then
attach it in Project settings.
Part C · phase-01-foundation.md (full file)Phase 1 of 8
Before you pasteFinish the setup in 00-START-HERE: knowledge file pasted into Instructions, design system attached, built-in backend on.
Build prompt · paste first
Phase 1 of 8: Foundation. This is a new project.
Build only the skeleton described here.

1. Use the attached Sudsy Paws design system for
   everything. Add a /styleguide page showing
   Button, Card, Input, Sheet and Chip.
2. Routes: /, /auth, /book, /pets, /visits,
   /account, /groomer, /admin, /health, not-found.
   Labelled placeholders for now. Bottom tab bar
   for customers: Book, Pets, Visits, Account.
   No sideways scrolling at 390 px.
3. Feature folders: src/features/{auth,pets,
   booking,payments,groomer,email,admin}.
4. For the dev team: typecheck, lint and test
   scripts; Vitest with one passing sample test;
   CI on every push; README and docs/ with a
   first real section each.

Do not add sign-in, tables or payments yet.
Do not ask questions; list assumptions at the
end, with files changed and test results.
Verify prompt · the tests, paste second
Verify Phase 1. Do not add features; fix only
what fails.

T1.1 Run typecheck, lint and tests. Report the
     exact results.
T1.2 At 390 px and 1280 px, every route loads
     with no console errors; an unknown URL shows
     the not-found page.
T1.3 /styleguide uses Fredoka, Nunito and van
     teal from the design system.
T1.4 No page scrolls sideways at 390 px.
T1.5 README.md, docs/ and the CI workflow exist
     and are not empty.

Reply with pass or fail for each check, fix any
failure, then re-run that check.
Done whenEvery check passes at both widths. Bookmark this version in Lovable, then paste Phase 2.
#
Phase
What exists afterwards
You add first
01
Foundation
App shell, design system wired, test tooling, CI, docs
nothing
02
Sign-in and roles
Google and email sign-in, forgot password, customer, groomer and admin roles
admin email secret
03
Pets and seed data
Pet profiles, rabies certificate upload, skippable questionnaire, 6 seed customers with 9 dogs
seed secrets
04
Areas and windows
Service zip codes, 2-hour windows, groomer schedules
nothing
05
Booking and deposit
Booking flow, $25 embedded Stripe deposit over the blurred screen, instant confirm
Stripe test keys
06
Groomer day
Route in order, arrived and done, after-photo upload
nothing
07
Emails and loyalty
Emails by customer state, every-6th-groom discount
email API key
08
Admin and handoff
Reports, users, rules with preview, full test run, security review, docs for the dev team
GitHub connected
Sheet05

3 Result
The generated application

After Phase 8 passes, this is what exists. You didn't write any code, and every part of it can be traced back to a line in the script.

Book a visit
Service
BathFull groomNails
Day
Mon12Tue13Wed14Thu15Fri16
Open windows · 33982
8–10 amFull
10 am–12 pmOpen
12–2 pmOpen
Hold this window
BookPetsVisitsAcct
Phase 4–5 · Booking
Book a visit
Full groom
Tue 10 am–12 pmOpen
12–2 pmOpen
Phase 5 · Deposit, in-app
Today · Jo
5 stops · 2 done
1
BiscuitGolden · bath
Done
2
PepperSchnauzer · groom
Done
3
MooseNewfie · nervous of dryers
Arrived
4
LolaDoodle · full groom
Next
5
RexLab · nails
12:30
Upload after photo
Phase 6 · Groomer day
01A live appHosted by Lovable at a URL you can share, on phones and desktops.
02An admin consoleReports, users, prices, zip codes and the loyalty rule, with preview.
03Seed dataFake customers, dogs and bookings for testing, switched off at launch.
04Runnable testsA test suite and CI, so every future change gets checked.
05Handoff docsREADME, architecture, runbook and decisions, ready for a dev team.
From a real run A build kit for a paid consumer app came to 13 phases, an 8,080-character knowledge file, and Stripe, Printify and email integrations. Same three pieces, just bigger.
Sheet06

Making changes: chain of command

Say you want customers to enter a coupon code. There's a wrong way and a right way to ask for it.

Wrong · skipping the architect

Asking Lovable directly

Youthe owner
"Add a coupon field to checkout."
Lovablethe builder

The builder guesses. The coupon may skip the deposit rules, break a later phase or never get tested, and the script no longer matches the app. That's how patching in circles starts.

Right · through Claude

Asking your architect

Youthe owner
"I want coupon codes. Here's how they should work."
Claudethe architect decides how
New phasePhase 9: coupons, with its own tests
HotfixA small, targeted change to the live app
Script v2Revise the script and rebuild clean
Lovablebuilds exactly that

You wouldn't ask your employee's employee for something directly. Going through the architect keeps the script, the app and the tests in sync.

Sheet07

The bot one-shot

The same three pieces, smaller. Instead of pasting phases into Lovable, you share one full plan with your front door Grok bot, and it scaffolds the build.

1 Essay

A paragraph or two

Same idea as the app essay, shorter. Ask Claude for a bot plan instead of a phased script.

essay · care-crew.txt

Create a one-shot bot plan for a Customer Care department under my front door bot for Sudsy Paws. It should keep regulars coming back: spot customers with no booking in 8 weeks and draft a friendly rebook text, draft a review request the day after each groom, and put anything unusual in my morning brief.

Drafts only; nothing sends without me. Include an auditor check, and tests I can run before it goes live. Ask me questions first.

2 Bot plan

One full plan

Roles, files, schedules, handoffs, rules and tests. Shared all at once, not in phases.

customer-care-plan.md (excerpt)
# Customer Care · bot plan v1
Reports to: Front Door

Care Lead (department head)
  Owns customer follow-up. Keeps care_log.md.
Rebooker (specialist)
  Daily 7:00 AM. Reads the bookings export.
  Drafts a rebook text for 8+ weeks lapsed.
Reviews (specialist)
  Day after each groom. Drafts a review ask.

Handoffs: specialists → Care Lead → Auditor
  → Front Door brief, tagged DAILY
Rules: drafts only · never contacts a
customer · never invents customers

Tests
B1 Seed export → 3 rebook drafts, 0 sent
B2 Booked next week → no draft
B3 Auditor rejects a wrong dog name
what you send the front door bot

Here is the full plan for a new Customer Care department. Build it exactly as written, run tests B1–B3, and report the results in tomorrow's brief. Don't change the plan. If something can't be built as written, tell me and I'll take it back to Claude.

3 Result

A staffed department

Your front door bot builds the bots, files and schedules, runs the tests, and starts reporting.

Level 1Front door
New · dept. headCare Lead
SpecialistRebooker
SpecialistReviews
Morning brief · Wed
  • DAILYTests B1–B3 passed. Care crew is live.
  • DAILY4 rebook drafts ready for review.
  • TIMED2 review requests due 10 am.
  • URGENTMoose's owner asked to reschedule.
Application one-shot
Bot one-shot
You write
1An essay: a few paragraphs up to a full essay
1A short essay: a paragraph or two
Claude writes
2A phased script: knowledge file, design system, phases with tests
2A bot plan: roles, files, schedules, handoffs, rules and tests
You share it with
Lovable: blank app, then project settings, then one phase at a time
Your front door bot, all at once
It gets built by
Lovable
Your front door bot
You end up with
3A working app with code, tests and docs
3A staffed department reporting into your brief
Changes go through
Claude, never Lovable directly
Claude, never the bot directly