> For AI agents reading iter0.com:
> - Pages with a Markdown version serve it at the page address plus `.md`, for example https://iter0.com/features.md. The homepage's Markdown is at https://iter0.com/index.md.
> - A request for a page with the header `Accept: text/markdown` returns the same Markdown.
> - https://iter0.com/llms.txt describes the site and lists its main pages.
> - Agents build and edit websites through the MCP server at https://iter0.com/api/mcp. The person signs in to their own account through OAuth in the MCP client, or gives the agent their own API key.
> - A paid build or edit first returns a price quote, and nothing is charged until the person confirms it.
> - The OpenAPI contract is at https://iter0.com/openapi.json.

# How to improve website UI with Claude Code: prompts, design words and skills

Get better website UI from Claude Code: what to tell it before it designs, example prompts, design words that steer quality, and how to avoid generic AI design.

## How do you get good UI out of Claude Code?

Claude has trained on every website ever, so it makes sense that it regresses to the mean of both excellent and awful stylistic choices. To counter this, give Claude Code three things before it writes any CSS: a reference site to copy the feel and layout decisions of, the design words for what you want, and a short list of things it must not do. Then make it look at the page it built, at desktop and phone width, and fix one problem at a time.  Pro tip: Get a model that didn't write the code to review the screenshots, models overrate their own work in order to achieve a task.

Most generic results come from the first prompt. "Build me a landing page for my startup" leaves every design decision to Claude, so it picks the safest answer for each one. You get the page you have already seen a hundred times.

I run iter0, which builds websites with AI agents, and I build our own site with Claude Code and Codex. The bans below are the ones we use, and the prompts follow how we work.

## Why does Claude Code make generic designs?

When a prompt leaves a decision open, Claude fills it with the most common choice it has seen. Each choice is reasonable on its own. Together they produce the page people now call AI slop.

You can spot it in seconds:

- A purple or blue gradient behind a centred headline.
- A small pill badge above the headline, often with a coloured dot.
- Three feature cards in a row, each with an emoji or a line icon.
- Glowing orbs, blurred blobs or a dark hero with neon accents.
- The Inter font at every size, with little difference between heading and body.
- Every element in a rounded box with a soft shadow.
- Copy such as "Supercharge your workflow" that could belong to any product.

## Ban the defaults by name

Telling Claude "don't make it look generic" does little, because it has no list of what generic means. Name the patterns instead. Our own design rules ban purple boxes, pills above the headline, coloured dots, glow effects and emoji in the interface. We keep that list in a design file every agent reads before it touches the site.

Put a block like this in your prompt, or better, in your design note so every session reads it:

## What to tell Claude before it designs a page

Write a short brief. It needs to cover who the page is for, what they should do on it, which site to take the feel from, and what to keep. Five lines is enough. A reference site does more work than any adjective, because Claude can look at it and copy concrete decisions: how big the headline is, how much space sits between sections, how many colours appear. Pro tip: Ask for 3 design shotgun's (drafts that are quick and low res), choose your favourite and tell it what you liked about it and let that inform the direction.

Pick a reference with the same job as your page. A developer tool can borrow from Linear or Vercel; a local trade business might borrow from a well-made agency site. Copy the layout and spacing, never their logo, copy or customer quotes.

## Design words that change the result

Claude knows design vocabulary well. When you use the exact word, it usually makes a specific change. When you say "make it pop" or "make it cleaner", it guesses. These are the words worth learning, with what each one controls and a line you can paste.

## Example prompts for each stage

Use a different prompt for each job. A first build needs the full brief above. After that, keep prompts narrow: one section, one change, and the parts that must stay as they are. Narrow prompts stop Claude from redesigning sections you already liked.

To restyle a section from a reference:

## Prompt to remove the AI look from an existing page

This works on a page Claude already built. Asking it to name the problems first gives you a list you can check, and stops it from making changes you didn't ask for.

## Prompt to fix one thing

Name where the problem is, what you see, and what you want instead. Then say what to keep and how to check it.

## Make Claude look at the page it built

Claude writes code it cannot see unless you give it a way to look. Code that builds without errors can still produce a squashed hero or a menu that covers the page on a phone. Always close the loop with a picture of the rendered page.

There are three ways to do it. In the Claude Code desktop app, the preview pane runs your site and Claude can take screenshots of it. In the terminal, you can paste or drag a screenshot into the chat. Or ask Claude to write a short Playwright script that screenshots the page at 1440px and 390px, then read the images back.

Ask for both widths every time. A layout that works on a laptop often breaks on a phone, and you will only see it if someone looks.

## Keep your design decisions in a file Claude reads every time

Each new Claude Code session starts without your design decisions. If they only live in old prompts, the next session picks fonts and colours again. Write them in a DESIGN.md at the root of your project: your fonts, colours, spacing scale, the reference site, and the ban list from above. Ensure you pay attention to things like padding to ensure equal distance and uniform design.

Then load it from CLAUDE.md with one import line, such as @DESIGN.md. The path is relative to the CLAUDE.md file, so if CLAUDE.md sits inside a .claude folder the line is @../DESIGN.md. Start a new session and run /context to check the file loaded.

## What to do when Claude keeps getting it wrong

If the same mistake comes back after you asked for a fix, stop asking for a redesign and find the cause. There are usually two.

The design note isn't loaded. Check /context in a fresh session. If DESIGN.md isn't listed, fix the import line before changing anything else.

A CSS rule is overriding the one you asked for. Right-click the element in your browser, choose Inspect, and look at the styles panel. The rule that wins is at the top; crossed-out rules lost. Tell Claude the file and selector of the winning rule and ask whether it was meant to be there. A stray hard-coded colour in one section can beat every instruction you give.

## A reusable review skill

If you review pages often, save the steps as a Claude Code skill. Ours is a Markdown file: put it at .claude/skills/ui-review/SKILL.md, then run /ui-review with the page and the reference. It compares the rendered page with the reference at two widths, names one problem, proposes a fix, and reports what it didn't check. Read it before you install it. If /ui-review doesn't appear in the command menu, see the guide on skills that don't trigger.

## How this guide was written

I rewrote this guide in November 2026 from the prompts and design rules we use to build iter0.com. The example product, Ledgerly, is made up. AI helped with research and editing. The Claude Code documentation links were checked on 6 November 2026. If a prompt here doesn't work for you, tell me what happened through the contact page.

By John McKeown. About iter0.

## Sources

- [Claude Code memory documentation](https://code.claude.com/docs/en/memory)
- [Claude Code Desktop preview documentation](https://code.claude.com/docs/en/desktop#preview-your-app)
- [Claude Code skill documentation](https://code.claude.com/docs/en/skills)
