3Edit Web Builder iconLesson 3 · Start here

How to write vibe coding prompts that work

Clear words in, the right website out.

The AI builds what you describe, so the way you describe it matters. Learn the shape of a great first prompt, how to ask for changes the AI gets right first time, and what to say when a result isn’t what you meant.

About 9 minutes to readLast updated

By Humayun Rashed, founder of 3Edit

Why the words matter

A vibe coding agent is very capable, but it can’t read your mind. When a prompt is vague, the AI fills the gaps with sensible guesses, and the result is a perfectly good website that isn’t quite yours. When the prompt is clear, the guesses disappear.

You don’t need special words or code. The best prompts sound like a good brief to a designer: specific, friendly and short enough to read in one go.

The brief template for your first prompt

Your first prompt sets the direction for everything after it. Cover these five things, in any order, in a few sentences.

PartAsk yourselfExample
Who and whereWho is the site for?Still Point Yoga, a small studio in Canary Wharf
What it offersWhat do visitors come for?Three classes with their times, from £12
The main actionWhat should visitors do?Book a class
The sectionsWhat goes on the page?Hero, classes, the teacher, reviews, contact
The feelingWhich three words describe it?Calm, modern, welcoming

A weak prompt and a strong one

Weak: “Make me a website for my bakery.” The AI has to guess the name, the products, the prices, the style and what visitors should do.

Strong: “Build a website for Hilltop Bakery, a family bakery in Bristol. Show our bread, cakes and pastries with prices, our opening hours, and a cake order form. Warm, homely and simple. The main action is ordering a cake.” Every important decision is made, so the first result is already close.

Asking for changes the AI gets right

  • One change per message: small, clear steps are easy to check and easy to undo.
  • Say where: “the button in the hero”, “the second review”, “the footer on phones”.
  • Say what good looks like: “bigger and orange, so it stands out” beats “make it better”.
  • Say what stays: “Change nothing else” protects everything you already like.
  • Use real content: your real prices, hours and words give a truer result than placeholders the AI invents.

Show it: screenshots and examples

Some things are easier to show than to describe. In 3Edit you can add a screenshot of a design you like, and 3Edit creates your own original design in that style. Use it for a layout, a mood or a colour feel, never to copy someone else’s site.

You can also point to your own content: paste your real menu, your opening hours or a paragraph about your business, and ask the AI to use it word for word.

When the result isn’t what you meant

Describe the gap between what you see and what you wanted. “The prices are in a long list; I wanted three cards side by side” tells the AI exactly what to change.

If two or three tries don’t get there, step back: restore the last good version, then ask again with fresh words or a screenshot. If the AI keeps circling the same problem, the stuck in a loop guide has five ways to get moving, including switching to another engine in the same project.

Prompts for features, not just looks

When you ask for something that saves, signs people in or takes payments, add two things to your prompt: what should be remembered, and who may see it. “Save every booking with name, date and service; customers see only their own, I see them all” gives the AI everything it needs to build the feature and its access rules properly.

A good habit for bigger features: ask the AI to explain its plan before it builds. “Before you build it, tell me which pages and tables you’ll add” lets you catch a misunderstanding before it becomes code.

Try it in 3Edit.

These prompts practise each habit from this lesson on one website. Start a new project and paste them in order, checking the result after each.

  1. 1A strong brief

    Build a website for Hilltop Bakery, a family bakery in Bristol. Show our bread, cakes and pastries with prices (sourdough loaf £4.50, Victoria sponge £18, croissant £2.20), our opening hours (Tuesday to Saturday, 7:30 to 15:00), and a “Visit us” section with a map placeholder and our address. Warm, homely and simple. The main action is ordering a celebration cake.

  2. 2A precise change

    In the products section, show the bread, cakes and pastries as three cards side by side on a computer and stacked on a phone. Change nothing else.

  3. 3Real words, word for word

    Replace the text in the About section with exactly this: “We’ve baked in Bristol since 1998, starting every morning at 4 am with flour from a local mill. Everything is made by hand, in small batches, by our family.”

  4. 4Plan before you build

    I’d like customers to order a celebration cake online. Before you build anything, explain which pages, form fields and database tables you would add, and who would be able to see the orders.

Compare the results with what you asked for. Where something came out differently, rewrite that prompt with more detail and try again: that’s how you learn the words that work.

About the author.

Written by Humayun Rashed, founder of 3Edit. He also runs 3Edit’s free in-person AI website building and vibe coding course in London.

Questions people ask.

A good prompt is specific and short: who the site is for, what it offers, the main action, the sections and the feeling for a first prompt, and one clear change, its place and what should stay the same for every prompt after.

A few sentences is plenty. Cover who it’s for, what it offers, the main action, the sections and three words for the feeling. A long list of tiny details is better saved for later, one change at a time.

Yes. In 3Edit you can add a screenshot of a design you like, and 3Edit creates your own original design in that style. Use it for inspiration, never to copy someone else’s site.

Ask for just the missing part in its own message, and say exactly where it goes. If it still doesn’t work, restore the last good version and ask with fresh words, or see the stuck in a loop guide.

Only if you know them. Plain words work well. What matters most is being specific about what you want, where it goes and who may see it.

Start vibe coding today.

Download 3Edit for Mac or Windows and build your first professional website in minutes.

Download now
macOSWindows