Claude Code builds generic-looking UI: how to get a real design
Without design direction, models fall back on the most common patterns, which Anthropic's own guide calls the "AI slop" aesthetic. Give Claude Code a concrete brief, your real design tokens and a reference to match, or install Anthropic's frontend-design plugin, which exists to avoid generic AI looks.
What Anthropic says
- "Without guidance, models can default to generic patterns that create what users call the 'AI slop' aesthetic."
- Its sample prompt warns against generic fonts like Arial and Inter and against clichéd colour schemes, "particularly purple gradients on white backgrounds".
Fixes
- Write a design brief in CLAUDE.md or a design file: audience, tone, the font pair, the colour palette as tokens, spacing scale, and two or three sites to learn from.
- Point at the real tokens. If the repo has a theme or CSS variables file, tell the agent to use only those values.
- Give it something to look at: a screenshot or a URL of the design you want, and ask it to compare its result.
- Install Anthropic's frontend-design plugin from the official marketplace, which Claude Code adds for you the first time you start it in a terminal: run /plugin with no plugin name, find frontend-design on the Discover tab, and choose a scope. Its README says it "generates distinctive, production-grade frontend interfaces that avoid generic AI aesthetics".
- Review in a browser at desktop and phone width, and name what is wrong in design terms (contrast, hierarchy, spacing), not "make it nicer".
A short design brief
# Design
- Audience: finance teams; tone calm and exact.
- Fonts: the two families in src/styles/fonts.ts only.
- Colours: tokens in src/styles/tokens.css only; no gradients.
- Spacing: the 4px scale in tokens.css.
- Reference: match the density of the screenshot in docs/design/ref.png.When a skill or vault helps, and when it does not
Helps
- A design skill gives the agent a process and taste rules it would not apply on its own.
- A vault holding your brand rules and component patterns keeps every page consistent.
Does not help
- A design skill cannot invent your brand. Without your tokens and references it produces a different generic look.
- Skills do not replace looking at the result; check every screen yourself.
We independently tested seven of our own skills and vaults against a plain agent; none beat it on typical tasks, so we did not ship them.