The application one-shot, start to finish
Eight steps, in this order. The tags show where each step happens.
- 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. 1Claude
- Answer Claude's questions.It will ask for specifics before it writes anything. Short answers are fine.Claude
- Receive the phased script.A knowledge file, a design system and numbered phases, each with its own tests. 2Claude
- Create a blank app.In Lovable, say only:Lovable
I want a blank application named Sudsy Paws. - Set up the project.Paste the knowledge file into Project settings → Instructions, and attach the design system.Project settings
- Paste Phase 1. Let it run.Wait for the result. Don't type anything while it works.Lovable prompt
- 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
- Repeat until the last phase passes.What's left is your finished app. 3Lovable
Nothing between phases
Don't slip your own requests in between phases. Each phase assumes the ones before it ran exactly as written.
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.
Respect the chain of command
Claude is your architect. You wouldn't give orders to your employee's employee. See Sheet 06.
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.
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.
- 1Knowledge file. Lovable's project instructions max out at 10,000 characters.
- 2Design system. A repo link or your brand kit, so every screen looks like you.
- 3Best practices. Claude checks the current docs instead of guessing.
- 4Tests per phase. Your proof that each phase worked before moving on.
- 5Seed data. Fake customers and bookings to build and test with.
- 6Dev-team ready. Real tests and docs, so the app can grow past the MVP.
- 7Ordered, pasteable phases. The heart of the method.
- 8Money stays in-app. No redirects, no waiting on webhooks.
- 9Admin layer. Reports, users and business rules you can change yourself.
- 10Emails by state. Follow-ups tied to what each customer has done.
- 11Invite 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.
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.
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.
Design system
Your brand as building blocks: colors, fonts, buttons, cards, voice. Every screen is made from it.
Phases
Numbered files, each with prep steps, a build prompt, a verify prompt (the tests) and a "done when" line.
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.
# 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.
# 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.
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 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.
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.
$25 holds your window
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.
Asking Lovable directly
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.
Asking your architect
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.
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.
A paragraph or two
Same idea as the app essay, shorter. Ask Claude for a bot plan instead of a phased script.
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.
One full plan
Roles, files, schedules, handoffs, rules and tests. Shared all at once, not in phases.
# 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
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.
A staffed department
Your front door bot builds the bots, files and schedules, runs the tests, and starts reporting.
- 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.