Build with AI · Guide 6 of 10

Build websites with AI

Show it real sites you like, then judge every version with your own eyes.

What it is great for

Show it sites you like

Anthropic calls examples one of the most reliable ways to steer the output. Give it three or four real sites and say what you like about each. 1

Show prompt

Try this

Here are sites I like: [link] for its hero, [link] for its navigation and [link] for its colours. Say what each does well, then propose a direction for my site that borrows the ideas, not the look.

Start from a design system

Refero Styles collects design systems taken from product websites, each with a DESIGN.md file an AI coding tool can read. 2

├─ DESIGN.md    colours, type, spacing, components├─ CLAUDE.md    "Follow @DESIGN.md for every page."└─ src/
Simplified example: your-site/
Show prompt

Try this

Read this DESIGN.md: [paste]. Build my [section] with its spacing and type scale, using my own colours and content.

Look at one part at a time

Galleries such as land-book.com for layouts, navbar.gallery for navigation and pricingpages.design for pricing show many versions of one part. Some block automated browsers, so send a screenshot instead.

Show prompt

Try this

Here is a screenshot of a [navigation bar] I like. List what makes it work, including spacing, type, states and motion. Then build mine to the same standard.

Make it look at its own work

Have it screenshot what it built at desktop and phone width, and fix what it sees before it shows you. 3

Show prompt

Try this

Take screenshots of [page] at 1440px and 390px wide. List everything that looks broken, crowded or generic, fix it, and screenshot again.

How to do it

  1. Collect your references

    Three or four sites, each picked for one thing you want.

  2. Let it interview you

    Ask it to question you about audience, tone and content before it designs anything. 4

  3. Build one section first

    Agree the look on the first screen before it builds the rest.

  4. Look, fix, repeat

    Screenshot it, judge it yourself and fix it, at least two rounds a page. Judge the screenshots, not the code. 3

  5. Get a second opinion

    Run a separate reviewer that has not seen how the page was built. 5

Where to be careful

  • A passing build is not a good design

    A site can build with no errors and still look generic. Only looking at it tells you.

  • It is a weak judge of its own design

    When it says a page looks great, check for yourself.

  • Borrow ideas, not sites

    Use references for direction. Another site's words, images and exact look are not yours to publish.

  • Pages can carry instructions

    A page the AI reads can hide text telling it what to do. Treat what it reads as data. 6

Behind this guide

Notes, evidence and sources

What I learned building this site

Musa Burke's own notes from building this guide and other sites with Claude Code, not study findings.

  • Three designs rejected first

    Warm paper with a serif, a printed annual, and cream with pastel green were all rejected. The one that stuck started from a real landing page I liked.

  • Shrunken screenshots mislead

    A reviewer kept saying text was too small. Its full-page screenshots had been shrunk until detail was lost. Viewport shots of one section work better.

  • Motion needs a real browser

    Screenshots cannot show how an animation feels. Check motion yourself, in a browser and on a phone.

What is missing

No study was found that measures how much reference sites improve AI-built designs. Anthropic's point about examples is about prompts in general, and the rest is one person's practice.

Terms used in this guide
Reference site
A real site you show the AI as an example of what you want.
Design system
The agreed colours, type, spacing and parts a site is built from.
Viewport
The part of a page visible on screen at once.
All 6 sources for this guide
  1. 1. Anthropic prompting guide · Checked 1 November 2026

    prompting guide

    Source page readStrength: Official guidance
    • Vendor or interested-party source
  2. 2. Refero Styles · Checked 9 November 2026

    Refero Styles

    Source page readStrength: Product description
    • Vendor or interested-party source
  3. 3. Claude Code docs: best practices · Checked 1 November 2026

    Claude Code best practices page

    Source page readStrength: Official guidance
    • Vendor or interested-party source
  4. 4. Claude Code docs: plan mode · Checked 1 November 2026

    Claude Code permissions page · costs page · best practices page

    Source page readStrength: Official guidance
    • Vendor or interested-party source
  5. 5. Claude Code docs: subagents · Checked 1 November 2026

    Claude Code subagent docs · best practices page

    Source page readStrength: Official guidance
    • Vendor or interested-party source
  6. 6. Prompt injection as an unsolved problem

    NCSC · OWASP

    Source page readStrength: Strong consensus