Your AI-Made UI Looks Generic Because It Never Got a Brief

AI isn't bad at design. Nobody briefed it.
Even my own design system was on Anthropic's list of generic looks.
Ask Claude or Cursor for a landing page with no other context and you can guess what comes back. A gradient in the hero. Inter or something close to it. Every section in the same rounded card with the same soft shadow. An emoji next to each feature.
That isn't the model being bad at design. Nobody told it what your product should look like, so it gave you the safest answer: something close to the average of all the websites it learned from.
@HeyDetya put it well on X on 27 October 2026: Claude isn't bad at design, your prompt is. The fix it suggests is the one I use too, and it goes further than a better prompt. A prompt lasts one message. A file in your project lasts every session.
That file is a DESIGN.md: a short design brief written for the AI.
By the end of this piece you'll have a starter DESIGN.md to copy, the exact line each AI tool needs before it reads the file, and a two-question test to check it worked.
The generic look has a list now
Anthropic's own frontend-design skill for Claude Code now spells out the looks AI design falls into when nobody gives it direction. A few of them:
- A warm cream background, a high-contrast serif for headings and a terracotta accent
- A near-black page with one bright acid-green or vermilion accent
- The "SaaS card kit": everything chopped into identical rounded cards, one corner radius on everything, the same grey shadow under each, gradient washes as decoration
- Template details: a small ALL-CAPS label above every heading, meta lines joined with middle dots, an arrow tacked onto every button
Another design skill I have installed is blunter: no Inter, Roboto or Arial, and no purple-to-blue gradients.
None of these are wrong. The skill says so itself: they're fine when a brief asks for them. The problem is that they show up when nobody asked.
My own design system was on that list
In the first half of 2026 I built a design system for my article visuals. It was thorough: 500 lines across a README, a skill file and a tokens stylesheet, plus 40 SVG diagram templates.
Its look was a cream paper background (#F7F3EC), a serif for titles, a terracotta accent (#D16C4D) and a dark Claude Code terminal on the covers.
Put that next to the first item on Anthropic's list: cream near #F4F1EA, a high-contrast serif, terracotta near #D97757. It's almost the same palette.
The reason is a little embarrassing. The brief I'd written said to borrow Claude's brand elements, so I got Claude's look. The system was consistent. It just wasn't mine.
On 31 October 2026 I archived it.
What a DESIGN.md is
A DESIGN.md is a plain text file in the main folder of your project. It describes how your product should look and sound, in words an AI can follow.
Two terms come up a lot, so here they are in plain words:
- Tokens are named design values. Instead of "make the button blue", you write
primary: "#2346D8"once, and every button, link and highlight usesprimary. Change it in one place and everything follows. - A spacing scale is a short, fixed list of gap sizes, like 4, 8, 16, 24, 40 and 64 pixels. If the AI may only pick from that list, it stops inventing 13px here and 27px there, which is a big part of why AI layouts feel slightly off.
The name isn't just a habit people picked up. In April 2026, Google Labs open-sourced the DESIGN.md format behind its Stitch design tool, under Apache 2.0. The spec is still marked alpha. It puts tokens (colours, type, corner radius, spacing, components) at the top of the file and plain-language rules below them, and it comes with a command-line checker that flags broken token references and text colours with too little contrast.
You don't have to follow Google's format exactly. Claude and Cursor read words, not a schema. I'd still use it, because it's a good checklist, and the contrast check alone is worth having.
My brief now: 18 lines
I replaced my archived system with a short section in the CLAUDE.md file for this content folder. It isn't called DESIGN.md, but it does the same job, so it's a fair example of how small a brief can be:
| Before (archived) | After (31 Oct) | |
|---|---|---|
| Size | 500 lines, 3 files, 40 templates | 18 lines in CLAUDE.md |
| Look | Cream paper, terracotta, dark terminal | Folded paper, six paper colours |
| Type | DM Mono + Newsreader serif | Bricolage Grotesque, Figtree, DM Mono |
| Where it came from | Claude's brand | My site redesign and origami |
The new section names the colours (paper #FBFAF6, ink #1D1B26, six paper colours with one default per topic), the three fonts and what each is for, and the rules: one accent colour per visual, sentence-case titles, no gradients, no glow. It also explains the origami motifs well enough that Claude uses them correctly, like a folded corner showing the paper's other side.
Every diagram I've made since is drawn by Claude from those 18 lines.
Even the new one isn't free of defaults. It uses a monospace font for small labels, which is on Anthropic's list. That's the point of writing it down, though: when a default stays, it's because I chose it.
The six things to write down

Start with one or two sentences on who the product is for and how it should feel. Then:
- Colours, with jobs. Not just hex codes. Say what each colour is for: "primary is for the one action that matters on a screen", "red is for errors only".
- Type. Which fonts, what each one is for, and the smallest size allowed.
- Spacing. Your scale, and one rule: only these values.
- Components. How buttons, cards, forms and icons behave. "One primary button per screen" does more than any colour value.
- Do and don't. This is where you name the generic defaults you don't want. Be blunt: "no gradients", "no emoji in buttons", "not every section is a card".
- Voice. How the interface talks. Button labels and error messages are design too.
A starter DESIGN.md to copy
Here's a starter you can paste into a file called DESIGN.md in your project's main folder. The example is for a made-up booking app for a physiotherapy clinic. Replace the values with yours; the structure is the useful part.
---
name: Harbor
description: Booking app for a small physiotherapy clinic
colors:
primary: "#0B6E69" # the main action on a screen
on-primary: "#FFFFFF" # text on primary buttons
ink: "#1B1D1F" # body text
muted: "#5B6166" # secondary text
background: "#F4F6F5" # page background
surface: "#FFFFFF" # cards, inputs, sheets
line: "#DDE2E0" # borders and dividers
danger: "#B3261E" # errors only
typography:
display:
fontFamily: Sora
fontSize: 2.25rem
fontWeight: 600
lineHeight: 1.15
body:
fontFamily: Public Sans
fontSize: 1rem
fontWeight: 400
lineHeight: 1.6
label:
fontFamily: Public Sans
fontSize: 0.875rem
fontWeight: 600
rounded:
sm: 4px
md: 8px
spacing:
xs: 4px
sm: 8px
md: 16px
lg: 24px
xl: 40px
xxl: 64px
components:
button-primary:
backgroundColor: "{colors.primary}"
textColor: "{colors.on-primary}"
rounded: "{rounded.sm}"
padding: 12px
---
## Overview
People booking here are often in pain and on their phone. Calm, clear and
quick. One main action per screen, big tap targets, no surprises.
## Colors
- Primary is only for the main action on a screen. Never decoration.
- Danger is only for errors. Never for emphasis or offers.
- Text is ink on surface or background. Muted only for secondary details.
- No gradients anywhere.
## Typography
- Sora for page titles only. Public Sans for everything else.
- Sentence case everywhere. No ALL-CAPS labels.
- Body text is never smaller than 16px on mobile.
## Layout
- Only use values from the spacing scale. If something needs 20px, use 16 or 24.
- One column on mobile. Lines of text no wider than about 65 characters.
- Gaps inside a card are smaller than gaps between cards.
## Shapes
- 4px corners on buttons and inputs, 8px on cards. Only avatars are round.
## Components
- Buttons: one primary per screen. Secondary is an outline in primary.
Everything else is a text link.
- Cards: only for separate things you can tap, like an appointment.
A section of text is not a card.
- Icons: one outline set (Lucide), 20px. Never emoji.
- Forms: label above the field. Errors appear under the field, in danger,
and say how to fix the problem.
## Do's and Don'ts
- Do reuse an existing component before making a new one.
- Do keep body text contrast at 4.5:1 or more.
- Don't use purple or blue gradients, glows or frosted glass.
- Don't put every section in the same rounded card with a soft shadow.
- Don't add new colours, font sizes or spacing values. Ask first.
## Voice
- Plain, short and kind. Buttons say what happens: "Book appointment",
not "Submit".
- Errors say what went wrong and what to do next. No "Oops!".Two notes on it. Google's format has no Voice section, but the spec says tools should keep sections they don't recognise, so it's safe to add. And keep the whole file to a page or two: it gets loaded into the AI's memory every session, so every line has a cost.
If you already have a design system in Figma or in code, don't start from a blank page. Ask Claude to read your stylesheet or theme file and draft the DESIGN.md from it, then edit the result by hand. The rules part ("one primary button per screen") has to come from you; it isn't in any stylesheet.
Make your AI tool actually read it
This is the step most people skip. Neither Claude Code's nor Cursor's documentation mentions DESIGN.md, so as far as I can tell, neither one picks it up on its own. Google's Stitch is the tool built to read it. Everywhere else, you have to point to it.

| Tool | File | What to add | Loaded every time? |
|---|---|---|---|
| Claude Code | CLAUDE.md | A line with @DESIGN.md | Yes, at the start of every session |
| Cursor | .cursor/rules/design.mdc | Your most important rules, plus "read DESIGN.md before UI work" | The rule, yes. DESIGN.md itself, only when the agent opens it |
| Codex, Copilot and other agents | AGENTS.md | "Read DESIGN.md before changing any UI" | It's an instruction, not an import |
Claude Code. Add a line to your project's CLAUDE.md:
## Design
Follow @DESIGN.md for every UI change. If something isn't covered, ask.The @ makes it an import: Claude Code loads the whole file alongside CLAUDE.md when the session starts. Two small traps from the docs: an @path inside backticks is treated as plain text, not an import, and a path with spaces needs a backslash before each space. To check it loaded, run /context and look under Memory files.
Cursor. Cursor's project rules live in .cursor/rules/ and must end in .mdc; a plain .md file in that folder is ignored. Make design.mdc:
---
description: Design rules for all UI work
alwaysApply: true
---
Before any UI change, read @DESIGN.md and follow it.
- Only use colours, fonts and spacing values from DESIGN.md.
- One primary button per screen.
- No gradients, no emoji icons, not every section in a card.The catch: Cursor doesn't paste a file you mention with @ into the rule. The agent opens it when it decides it needs it. So copy your three to five most important rules into the rule itself, where they're always included.
AGENTS.md. If your project uses AGENTS.md (Codex, Cursor, GitHub Copilot's agent and many others read it), add one line: "Before changing any UI, read DESIGN.md and follow it." There's no import here, so it's a request the agent usually follows, not a guarantee. By default, Claude Code reads AGENTS.md only when there's no CLAUDE.md; if you have both, put @AGENTS.md in your CLAUDE.md.
How to check it worked
Open a fresh session and ask for something small: "Build a pricing section for the homepage." Then ask: "Which colours, fonts and spacing values did you use, and where did they come from?"
If it names your DESIGN.md and your token names, it's working. If it says something like "a clean modern palette", it never read the file.
What a DESIGN.md won't do
It won't make your design original. My old system proves it: a detailed brief that asks for someone else's look gets you someone else's look. The file only carries choices you've actually made.
It won't enforce anything. Claude Code's docs say it plainly: these files are context, not enforced configuration. The AI follows a short, specific file far better than a long, vague one, which is the best argument for keeping yours to a page or two.
It goes stale. When the design changes, change the file the same day, or the AI will keep building the old version very consistently.
Most designers already have these decisions. They live in a Figma file, a stylesheet or their own head. When I built a design system for a small team earlier in 2026, the decisions were all there. The AI just couldn't see them.
That's the whole fix. Write the brief down, in the place the AI looks.


