Lovable Prompt Recipes — Deep Dive
Copy-paste prompts for Lovable that consistently produce production-ready output.
Slogan: "In Lovable, your prompt IS the spec. Write the spec you'd hand a senior dev."
The anatomy of a great Lovable prompt
WHAT: [One sentence about the screen / feature.]
WHO: [Who uses it.]
DATA: [What data exists / needs to exist.]
LOOKS LIKE: [Visual reference — site, style, mood.]
BEHAVIOR: [What happens on click / submit / load.]
DON'T: [1-2 things to avoid.]Recipe 1 — Bootstrap a new app
Build a [project management tool for freelancers].
WHO: Solo freelancers tracking 3-10 client projects.
SCREENS:
- Landing: hero ("Stop losing track of clients"), 3 features, 1 CTA.
- Dashboard: list of projects with status badges.
- Project page: tasks, notes, files.
STACK: Use Lovable Cloud for auth + data.
DATA MODEL:
- profiles (id, email, full_name)
- projects (id, user_id, name, client, status, created_at)
- tasks (id, project_id, title, done, due_date)
SECURITY: RLS — each user only sees their own projects and tasks.
STYLE: Linear.app — minimal, dark-friendly, generous spacing, mono-feel accents.
DON'T: Don't build billing, team features, or notifications yet.Recipe 2 — Add one feature
Add: "Mark project complete" button on the Project page.
WHEN clicked:
- Set projects.status = 'completed'.
- Show a toast "Project archived."
- Move it out of the active list.
UNDO: Add an "Undo" button in the toast for 5 seconds.
DON'T: Don't delete the project. Don't ask for confirmation modal — the undo handles it.Recipe 3 — Fix a bug surgically
BUG: When I add a task with an empty title, it saves an empty row.
EXPECTED: Empty title → show inline error "Task name is required" and don't save.
WHERE: The AddTaskForm component on the Project page.
DON'T: Don't refactor anything else. Don't add a separate validation library. Use native HTML5 validation if possible.Recipe 4 — Restyle without breaking logic
Restyle the Dashboard ONLY (don't change any logic or queries).
INSPIRATION: Notion's homepage — soft shadows, rounded corners, lots of white space, a single accent color.
CHANGES:
- Cards: white background, rounded-2xl, soft shadow, hover lift.
- Status badges: pill shape, pastel backgrounds.
- Empty state: friendly illustration + 1 CTA.
KEEP:
- All existing data fetching.
- All existing routes and component names.Recipe 5 — Wire up auth
Add email/password auth + Google sign-in using Lovable Cloud.
FLOW:
- Unauthenticated users hitting /app → redirect to /auth.
- After sign-in → redirect to /app.
- Add a "Sign out" item in the top-right menu.
DATA: On first sign-up, create a row in profiles with the user's email and id.
SECURITY: Verify all queries are RLS-protected — users can only read/write their own rows.Recipe 6 — Add a public API endpoint
Add a public webhook at /api/public/zapier-incoming.
ACCEPTS: POST with JSON { project_id, task_title, due_date? }.
VERIFIES: An "x-webhook-secret" header equals the WEBHOOK_SECRET env var.
DOES: Insert a row into tasks with done=false.
RETURNS: { ok: true, task_id } on success, 401 on bad secret, 400 on invalid body.Recipe 7 — The polish pass
After everything works:
Polish pass — no logic changes.
1. Every button: clear label, loading state, disabled state.
2. Every form: validation, helpful error messages, success feedback.
3. Every empty list: thoughtful empty state with one CTA.
4. Every error: human-readable, never raw error.message.
5. Every page: SEO meta (title, description, og:title).
6. Mobile check: every screen works at 375px width.The 3 commandments
- One prompt, one change. Tempting to bundle. Don't.
- Always say what NOT to do. Saves 80% of rework.
- Reference, don't describe. "Like Linear" > "minimal and modern."
Pro tip: Save every prompt that worked great into a personal Lovable Cookbook. Re-use ruthlessly. Your tenth app will take a quarter the time of your first.
Learning objectives
By the end of this lesson you should be able to:
- Explain the core idea of Lovable Prompt Recipes in your own words to a non-technical friend.
- Recognise where this concept shows up in real projects and tools you already use.
- Apply at least one specific technique from this lesson to something you're building this week.
Practical exercise (10–15 min)
- Open a new note (Notion, Apple Notes, whatever) titled "Lesson 9.5 — my notes".
- Write 3 sentences answering: "If I had to teach this lesson to myself yesterday, what are the 3 things I'd absolutely say?"
- Now do the smallest possible version of it — one prompt, one file, one setting change — and paste the result into your note.
- Add one honest sentence: "Where I got stuck / what surprised me."
Ship the note to yourself. That's the loop we'll repeat every lesson.
Estimated time
- Reading: ~9 min
- Exercise: ~10–15 min
- Total: ~23 min
Remember: Reading is not learning. The exercise is where the neurons actually wire up.
Deep dive — the long version
You already have the short version above. This section is the hour-long, sit-down version — the kind of walkthrough you'd get from a mentor over coffee. Skim it the first time, then come back and read it slowly once you've done the exercise. That's where the real learning happens.
1. Why this lesson exists at all
Lovable Prompt Recipes — Deep Dive is one of those topics that seems obvious after you know it and completely opaque before. Almost every learner we've watched trip on this ends up tripping in the same 3 places:
- They memorise the vocabulary but not the mechanics. They can say the word, but if you ask them to draw what's happening, they freeze.
- They jump to tools too fast. They pick a framework or an AI product before they understand what problem it actually solves.
- They confuse "reading" with "learning". Reading gives you recognition. Doing gives you recall. Only recall counts when you're building.
The point of this deep dive is to hit all three of those failure modes head-on, in slow motion, with plenty of examples.
2. A story to anchor the idea
Imagine you're teaching a curious 10-year-old about lovable prompt recipes — deep dive. They don't care about your credentials. They just want a picture in their head that makes sense. Here's the story we'd tell them:
A long time ago, before phones and Wi-Fi, if you wanted to know something you had to walk to the library and ask a librarian. The librarian would find a card in a little wooden drawer, walk to a shelf, pull down a book, and hand it to you. You'd sit at a desk and read it.
>
Everything in this lesson is that same story — just with the librarian replaced by a computer, the shelf replaced by a hard drive, and the walk replaced by the internet.
That story is the mental scaffold. Every technical detail you'll learn from here onwards hangs off it.
3. The mechanics, one step at a time
Let's slow the whole thing down. Pretend we're watching a replay in slow motion.
Step 1 — The request. Something (a person, a script, another computer) says "I would like this thing." In a browser, that's typing a URL. In an AI app, that's typing a prompt. In a bank app, that's tapping a button.
Step 2 — The middleman. A layer of software takes the request, tidies it up, and forwards it. In a browser this is called the network stack. In an AI app it's an API client. You almost never see this middleman, but it's always there.
Step 3 — The doer. A computer far away receives the request, does some work (looks something up, generates something, calculates something), and produces a result.
Step 4 — The reply. The result travels back the same way it came. Middleman receives it, tidies it, hands it to whoever asked.
Step 5 — The rendering. Whatever asked for it now shows the result on a screen, plays a sound, or takes an action.
That five-step loop is literally every interaction on every website, every app, every AI tool. Once you can spot the five steps, nothing in tech is truly mysterious again — it's just variations on the loop.
4. Three worked examples (from easy to less easy)
Example A — Reading a news article. Steps: click a link (request) → your browser asks a server (middleman) → the server sends back HTML (doer + reply) → the browser paints text on your screen (rendering).
Example B — Asking ChatGPT for a limerick. Steps: type the prompt (request) → the ChatGPT client bundles it with your session token (middleman) → OpenAI's servers run the model (doer) → text tokens stream back (reply) → the client paints them one word at a time (rendering).
Example C — Ordering food on an app. Steps: tap "order" (request) → the app opens an authenticated connection (middleman) → the restaurant's system receives the order and prints a ticket (doer) → a confirmation comes back (reply) → the app shows "Order placed" and starts a progress bar (rendering).
Different domains, exact same loop. This is why one skill (understanding requests and responses) transfers everywhere.
5. Common mistakes and how to avoid them
- Mistake 1: Skipping the exercise. Reading feels productive but the neurons only wire up when you produce something. Do the exercise. It's 10 minutes.
- Mistake 2: Learning the buzzword first. "What's LLM? What's RAG? What's SSR?" You don't need those words yet. Master the 5-step loop first, then the buzzwords slot in.
- Mistake 3: Comparing yourself to people 2 years ahead. They started too. They also felt lost. The only useful comparison is you today vs you last week.
- Mistake 4: Watching tutorials as entertainment. Tutorials are training wheels, not the destination. If you're not typing along, you're watching TV.
- Mistake 5: Believing "AI will just do it". AI is a very fast intern with amnesia. If you can't describe what you want in plain sentences, no model on earth will get you to a good result.
6. A checklist you can actually use
Before you leave this lesson, tick these off honestly:
- [ ] I can explain lovable prompt recipes — deep dive in 3 sentences without notes.
- [ ] I can point at something in real life that uses this idea.
- [ ] I finished the practical exercise, not just read it.
- [ ] I wrote 1 question I still don't know the answer to.
- [ ] I know which lesson comes next (see the "Next up" card at the bottom of the page).
If any of those are unticked, don't move on. Loop back and close them. The learners who ship are the ones who don't skip.
7. Where this lesson connects
Every future chapter will assume you internalised this idea. Specifically:
- *When we talk about prompts*** — a prompt is a request in step 1.
- *When we talk about tools*** — a tool is a specialised doer in step 3.
- *When we talk about building your own product*** — you're going to design your own version of the loop, end to end.
That's why we made you sit through the story. Everything else in the handbook is a variation on it.
8. Bonus: three questions to journal on
If you want to really lock this in, spend 5 minutes writing (not typing — actually writing) answers to these:
- What part of lovable prompt recipes — deep dive was I secretly avoiding thinking about?
- If I had to teach this to my past self one year ago, what would I say first?
- What is the smallest possible project I could build this week that uses this idea?
Those three prompts, repeated across every lesson in the handbook, are the single highest-leverage habit we've seen in learners who go from zero to shipping in under 6 months.
Next up
If this lesson clicked, keep the momentum going — hit the Next → card at the bottom of this page. If you struggled, do this instead:
- Re-read sections 3 and 5 slowly.
- Redo the practical exercise from scratch.
- Re-read your notes again in 24 hours. Sleep genuinely helps memory consolidate — it's not folk wisdom, it's biology.
Progress is not a straight line. Circling back is how mastery is built.
Mark it complete to track your progress. Progress saves on this device.
