Vibe Coding Guide logoVibe Coding Guide

Vibe Coding Prompts: How to Ask AI to Build Exactly What You Want

A vibe coding prompt is the message you send to an AI tool when you want it to build something for you. It is not code, and it is not a search query. It is a description, written in plain words, of the app or website you want, who it is for, what it should look like, and what it should do.

Most beginners worry about the wrong thing: they spend days comparing tools, then type "make me a website" and wonder why the result looks nothing like the idea in their head. The tool was never the problem. The prompt was.

This post is the hub for the prompt posts on this blog: Vibe Coding Prompts for Beginners has 15 starter prompts, How to Write Vibe Coding Prompts That Work teaches the 4-part formula, and Vibe Coding Prompts Examples is the copy-paste library.

A person typing a prompt into a laptop at a home desk, with the chat screen blurred and a coffee mug beside them


Table of contents

What is a vibe coding prompt

A vibe coding prompt is the message you type into an AI coding tool to tell it what to build. You describe the thing, the AI writes the code and shows a preview, and you reply with the next prompt — a fix, a change, or one new feature. The prompt, not the tool, decides what you get.

The idea comes from "vibe coding" itself — a term coined by Andrej Karpathy in February 2025 for building software by describing what you want and letting the AI handle the code. You describe the result, and the AI produces the code.

Karpathy later described the shift as 'agentic engineering' in a February 2026 post, but the original 'vibe coding' name is the one that stuck.

Think of asking a friend to build something for you. If you say "make me a website", your friend has to guess everything. If instead you say "build a one-page website for my plant shop, for local customers, green and cream design, five plants with prices, and a contact button", your friend can start straight away. The AI works the same way: it can only build what you actually describe. If the idea is still new to you, see What Is Vibe Coding? A Complete Beginner Guide and How to Vibe Code: Step-by-Step Guide for Beginners.

Why the prompt matters more than the tool

Beginners often believe that a better tool will fix a bad result. It will not. Lovable, Bolt.new, Replit Agent, v0, Cursor and Google AI Studio are all strong tools, and they all do the same basic job: they turn your words into working code. Send the same vague prompt to all six and you get six versions of the same vague result. Send a clear prompt and you get something close to what you wanted.

Prompt engineering is the name for this skill — and the same four parts work in Lovable, Bolt.new, Replit Agent and v0, because the tools differ in price and feel, not in how they read a prompt.

The prompt is the only part of the process you fully control. You can control what you ask for, how much detail you give, and how you describe the result you want.

The anatomy of a good prompt

A good prompt has four parts: what the app is, who it is for, what it should look like, and what it must do. Describe the result, not the code, give one example, and say what not to do. One prompt does one job — ask for one feature or one fix at a time.

That is the 4-part formula.

What it is. One sentence that names the thing: "Build a reading tracker web app called My Books."

Who it is for. One sentence about the person using it: "It is for me, to keep track of the books I read."

What it looks like. One or two sentences about colours, mood and layout: "Clean design, white background, dark blue text, green buttons."

What it must do. Two or three sentences listing the features, in the order the user meets them: "A form at the top to add a book, a list below of the books I have finished, and a count at the top of books finished this year."

If your prompt is missing one of the four parts, the AI will guess that part — and its guess is the most common reason a first build comes back wrong.

Prompt types and when to use each

There are five prompt types a beginner needs.

One of the five is the safety check — and it matters, because a 2026 study of 200 deployed vibe-coded apps found 91.0% had at least one vulnerability.

Build prompts start something new. They describe a whole app or page from nothing.

Fix prompts repair something broken. They describe what you clicked, what you expected, and what actually happened, and they end with "fix only this problem and do not change anything else".

Improve prompts change how an app looks or feels without changing what it does. They name exact changes — colours, sizes, spacing — instead of saying "make it look better".

Explain prompts ask the AI to describe what it built, in plain words. Use one whenever you do not understand what the AI did, before you ask it to change anything.

Safety-check prompts ask the AI to look for security problems before you publish: who can see user data, where data goes, and what a stranger could do with it. Use one before any app that handles other people's data goes live. See Is Vibe Coding Safe? and Vibe Coding Security Risks for Beginners.

An open notebook with handwritten prompt notes beside a laptop and a pen on a wooden desk


Prompt typeWhen to use itWhat a good one includes
BuildStarting something newAll four parts: what, who, look, do
FixSomething brokeWhat you clicked, what you expected, what happened
ImproveThe app works but looks plainExact changes: colours, sizes, spacing
ExplainYou do not understand the resultThe part you want explained, in plain words
Safety-checkBefore publishing, if there is user dataWho can see the data, where it goes

How to choose the right prompt for your moment

Choosing a prompt starts with one question: what do I want to change? If nothing exists yet, you need a build prompt. If one thing is broken, you need a fix prompt. If the app works but looks wrong, you need an improve prompt — and if anyone else's data is involved, a safety check first.

If the answer is "nothing exists yet", you need a build prompt. If the answer is "this one thing is broken", you need a fix prompt. If the answer is "it works, but I do not like how it looks", you need an improve prompt. If the answer is "I do not understand what happened", you need an explain prompt.

The second question is about size. If you can describe the change in one sentence, it is one prompt. If you need a paragraph, it is probably two or three prompts sent one after another.

The third question is about order: structure first, then features, then the look.

How to read a bad result and find the missing detail

A bad result is not a failure — it is a message about what your prompt was missing. Compare what the AI built with what you imagined, and find the missing part.

There are four usual suspects, one for each part of the formula. If the app does the wrong thing, the "what it is" part was vague. If it feels wrong for its users, the "who it is for" part was missing. If the look is wrong, the "what it looks like" part was too thin. If a feature is missing, the "what it must do" part left it out. Most of the time, one of these four is the answer, and adding that one missing part fixes the result.

Name the single biggest difference between what you got and what you wanted. "The page has no way to add a plant." That is a missing feature, and the fix is a small prompt that adds it. Test the result on your phone, the way a real user would.

How to iterate without breaking what works

Iteration is the heart of vibe coding. Almost no app is right on the first build, and that is normal. The skill is making changes one at a time and testing each one.

The golden rule is one change per message. Add the delete button, then test it. Change the colours, then test them. When five changes go into one message and something breaks, you have no idea which change caused it.

The second rule is to protect what already works. Every fix or improve prompt should end with a guard line: "do not change anything else." Without it, the AI may rebuild a working part while fixing a broken one.

Close-up of hands typing on a laptop keyboard with a blurred chat window on the screen


If you get stuck in a loop — the same fix, three times, still broken — stop. Do not send the same prompt a fourth time. Change the words instead, or ask the AI to explain the part that keeps breaking.

Prompt patterns that work every time

A prompt pattern is a reusable shape that works across many different apps. Learn five and you can prompt almost anything.

The role pattern. Give the AI a job before you give it the task: "You are a friendly web designer building an app for a small bakery."

The context pattern. Tell the AI what already exists before you ask for a change: "This is a reading tracker app I built earlier. It has a list of books and a count of books finished this year."

The constraints pattern. Say what the app must not do, not only what it must do: "Do not ask for an email address. Do not use dark colours."

The example pattern. Show one example of what you mean: "The list should look like a simple shopping list — one item per line, with a checkbox on the left."

The one-change pattern. Ask for a single change, then stop: "Add a delete button to each plant in the list. Do not change anything else."

How prompting differs across tools

Lovable is built around chat: describe the app and it builds it. Use short messages and the chat history. See How to Use Lovable for Beginners and Build a Habit Tracker with Lovable.

Claude Code and ChatGPT work the same way for a first try: describe the app in chat, get a working page, and keep the conversation going with fixes — no install, no account on a builder needed.

Bolt.new is also chat-based and builds a working app quickly from a single prompt. Keep your first prompt focused — one app, one job — and add features afterwards. See Bolt.new Tutorial for Beginners.

Replit Agent works inside Replit, where your app, files and database live together, and it suits apps that need saved data. Say what must be saved, and that it must still be there when the user closes the page and comes back. See How to Use Replit Agent for Beginners.

v0 is built for interfaces, so prompt it with design details first: layout, colours, spacing. See How to Use v0 for Beginners.

Cursor is a code editor with an AI assistant inside it. Prompts here are smaller and more targeted.

Google AI Studio is a place to try ideas quickly. It suits experiments and small prototypes — prompt it the same way.

ToolBest forHow to prompt it
LovableBeginnersShort messages, chat history
Bolt.newFast first buildsOne focused first prompt
Replit AgentApps with saved dataSay what must persist
v0Polished interfacesDesign details first
CursorReal code filesSmall, targeted prompts
Google AI StudioQuick experimentsSame plain prompts

The comparison of the three most-used tools is in Replit vs Lovable vs Bolt, and the full tool guide is Vibe Coding Tools: The Complete Beginner's Guide.

Common prompt mistakes

The one-line prompt. "Make me an app." The AI has to guess everything. Fix it with the four parts: what, who, look, do.

Lovable, Bolt.new and Replit all keep a history of your messages too, and Replit's checkpoints let you roll back to the version a prompt built.

The everything prompt. One message asking for a whole app, three features, a login system and a new design. Fix it by splitting the job.

The vague adjective. "Make it look better", "make it nice", "make it professional". Fix it with exact changes: colours, sizes, spacing, button shapes.

The missing audience. A prompt that never says who the app is for. The result feels generic. Fix it with one sentence: who uses this, and what do they want from it?

The forgotten save. A tracker prompt that never says the data must be saved. Some tools build a tracker that forgets everything on refresh. Fix it with one line: "my entries should still be there when I close the page and come back."

The fix with no detail. "It doesn't work." The AI cannot see your screen. Fix it with three details: what you clicked, what you expected, what happened.

The rebuild instead of a fix. Asking the AI to rebuild the whole app when only one button is broken. Fix it with a small fix prompt and a guard line.

The no-test publish. Sharing the app without testing it. Fix it by clicking through the app yourself, on your phone, before anyone else sees it.

Four example prompts to try

These four prompts use fresh app ideas, different from the ones in the other prompt posts on this blog. Copy one, change the details, and send it.

Example 1: A reading tracker

Build a reading tracker web app called "My Books", for me, to track the books I read this year. It should have a form at the top to add a book, a list below of the books I have finished, a count of books finished this year, and a delete button on each book. My books must still be there when I come back. Clean design — white background, dark blue text, green buttons.

Why it works: it names the app, the user, the look and the actions — and it includes the save line beginners forget.

Example 2: A plant-watering reminder

Build a plant-watering reminder web app called "Thirsty Plants", for me, to remember when to water my houseplants. It should have a list of my plants that I can add myself, each plant showing its name and how many days until it needs water, and a Watered button on each plant that resets its timer. Simple design — light green background, dark green text, white cards for each plant.

Why it works: the Watered button is an action with a result — click it, and the timer resets.

Example 3: A wedding RSVP page

Build a one-page wedding RSVP website for a couple called "Aisha and Bilal", for their wedding guests. It should have a big headline with the couple's names and the wedding date, a form where guests type their name, choose Yes or No for attending, and say how many people are coming, and a big green Send RSVP button at the bottom. Warm and elegant design — cream background, dark green text, gold buttons. It must look good on a phone too.

Why it works: the form fields are listed one by one, and the audience shapes the design.

Example 4: A study planner

Build a study planner web app called "Study Week", for a student planning study sessions for the week. It should have seven day cards, Monday to Sunday, and under each day I can add a study session with a subject and a time. Each session needs a checkbox and a delete button, and finished sessions should show with a line through them. Calm design — light blue background, dark text, white day cards.

Why it works: the structure is described before the features, so the AI builds the right shape first.

Try one today, then change one detail and send it again.

A smiling person holding up a phone showing a colourful finished app, with a laptop behind them


Frequently asked questions

What is a vibe coding prompt? It is a short message, written in plain words, that tells an AI tool what to build — what it is, who it is for, what it looks like, and what it must do.

How long should a vibe coding prompt be? Usually four or five sentences for a first build: one for what it is, one for who it is for, one or two for the look, and one or two for what it must do. Fix prompts are shorter.

Can I use the same prompt in every tool? Yes — prompts are plain words, so the same prompt works in Lovable, Bolt.new, Replit Agent, v0, Cursor and Google AI Studio. The result may look slightly different in each tool.

What should I do when the AI builds the wrong thing? Find the missing detail — usually one of the four parts is vague or missing. Add it and send the prompt again, or send a small fix prompt for the one thing that is wrong.

How do I change my app without breaking it? Make one change per message, end each fix with "do not change anything else", and test after every change.

Should I learn to code before I write prompts? No. Vibe coding is built for people who do not code — Andrej Karpathy coined the term for exactly that way of building software.

Your next app starts with one good prompt. Write it down, check the four parts, and send it.

Written by Samiullah Channa, Vibe Coding Guide. Published 6 December 2026.

Comments