Skip to content
← All tasks

What does an AI need to know to build a website?

An AI builds a website the way you describe it and guesses the rest. Four details take the guesswork away: which pages or flows there are, what data is involved, whether it needs sign-in and how the site should look. You only name a technology if you have a requirement.

By Updated

What does the AI need to know from you?

  1. Which pages or flows are there?

    Home, services, contact, or the path a visitor takes. Whatever isn't named, the AI makes up or leaves out.

  2. What data is involved?

    Fixed text and images are simple. As soon as something is stored or changed, such as enquiries or bookings, the whole structure changes.

  3. Does it need sign-in?

    Without accounts, a site is much smaller. With accounts, it needs sign-in, roles and data protection, and the AI has to know that before it chooses the structure.

  4. How should it look?

    Colours, mood, mobile or desktop first. Without this, you get the average of all websites.

  5. Is there a technical requirement?

    Only if you have one, for example plain HTML and CSS. Otherwise let the AI choose the simplest solution and say so in the prompt.

What does that look like as a finished prompt?

Example

This is how the conversation could go. The example is written by hand, following the rules Finn uses for his questions, and doesn't come from a real conversation.

The idea
I need a website for my small beekeeping business.
The question
Which pages should it have, for example Home, Honey and Contact? Do the texts and prices stay fixed, or should something be stored? Does it need sign-in? How should the site look?
The reply
Home, Honey, About us and Contact. Fixed texts and prices, no sign-in. Warm and natural, mobile first.

The finished prompt

You are an experienced web developer. Build a website for a small beekeeping business.

Pages: Home, Honey, About us, Contact.
Content: Texts and prices are fixed in the pages. There is no database and no sign-in. The Contact page has a form with name, email address and message; it only needs to be built, it doesn't have to send anything yet.
Look: warm and natural, earthy colours, plenty of white space. Design for mobile first, then for desktop.
Technology: Choose the simplest solution that supports this, and name it in one sentence at the start.
Placeholders: Use [business name], [honey variety 1], [honey variety 2] and [price] instead of made-up details.
Output: First describe the structure of each of the four pages in one sentence, then deliver all files in full with their file names.

When don't you need this?

For a single page with contact details made from standard building blocks, the detour is rarely worth it. A website builder with templates is faster than any prompt then.

If you already have a design or a sketch, describe it directly: that answers the questions about the look, and what's left is whatever the sketch doesn't show.