Supertaster

How to stop AI coding agents from producing generic UI

By Jeffrey Li ·

AI coding agents produce generic UI because, with no other input, they build the most typical interface they know. To stop it, put something specific in front of the agent before it writes code: a short rules file, real reference screenshots it can look at, and a loop where it compares its output with those references.

Why does AI-generated UI all look the same?

AI-generated UI looks the same because a model asked for "a landing page" with no further direction returns the most probable landing page. The model has seen a great many similar pages, and the average of them is what comes out: a centred hero, a gradient, rounded cards in a three-column grid, a familiar sans-serif.

Three things make this worse:

The fix is not a cleverer adjective. The agent needs specific input and a way to check its work, the two halves of designing with AI from your own references.

What works better: a rules file, a design skill, or real references?

A rules file, a design skill and real references each solve a different part of the problem, and they work best together.

ApproachWhat it doesWhere it stops
Rules filePersistent written constraints the agent reads every session, for example a design file referenced from CLAUDE.md or Cursor rulesText can forbid and require, but cannot show
Design skillA packaged set of design instructions that steers the agent away from its defaultsEveryone who installs the same skill gets the same steer
Real referencesScreenshots of specific work the agent looks at before buildingNeeds you to have collected them, and to say what to borrow

A rules file is the cheapest step. Write down your type scale, spacing units, colours, and the things you never want. Keep it short enough that the agent reads all of it.

Design skills are a popular answer in 2026. Published examples include Hallmark, Impeccable and anti-ui-slop. They are worth installing if you have no design opinions of your own to supply, because a considered set of defaults beats an unconsidered one.

Real references do something the other two cannot. A generic skill gives everyone the same non-default. Your own references give the agent yours. If the goal is "not generic", a skill may be enough. If the goal is "looks like us", the agent has to see what "us" looks like.

How do I give an agent screenshots it can look at while it builds?

Give an agent screenshots by putting image files where it can open them, and by telling it which ones matter for the task. Current coding agents can read images.

  1. Collect three to five screenshots for the task at hand. More than that and the direction blurs.
  2. Put them in the repository, for example in a references folder, or attach them to the conversation.
  3. For each one, write a line on what to take: "spacing and type scale from this one, ignore the colours".
  4. Tell the agent to open and describe the references before it writes any code. The description shows you whether it noticed the right things.
  5. Ask it to build, and to say which reference each decision came from.

A folder in the repository works for one project. It becomes awkward when you work across many projects and agents, because the references are copied everywhere and go stale.

The alternative is a reference library the agent connects to through MCP. Supertaster is one: an archive of your references that any MCP-capable agent can search. Before a connected agent designs, it searches your references, looks at the images and tells you which ones shaped the result. Setup for one agent is covered in how to give Claude your design taste.

How do I close the loop so the agent compares its output with the reference?

Close the loop by making the agent look at what it built. An agent that only writes code is designing blind.

  1. Have the agent run the app and take a screenshot of the page. Browser automation tools make this possible in most agent setups.
  2. Ask it to place its screenshot against the reference and list the differences in concrete terms: heading size, line length, padding, contrast, alignment.
  3. Have it fix the three largest differences, then screenshot again.
  4. Stop after two or three rounds and look yourself. The agent's judgement of "close enough" is looser than yours.

Two cautions. Ask for comparison on specific qualities, not for a copy. The aim is to borrow the spacing or the hierarchy, not to reproduce someone else's page. And check at more than one screen width, since agents tend to verify only the size they happened to render.

A short checklist

None of this needs a particular product. A folder of screenshots and a text file get most of the benefit. The longer-term question is where those references live so that every agent you use can find them, which is the idea behind a taste archive.

More on designing with ai


Jeffrey Li makes Supertaster. His own taste archive, TAS2R38, is public at tas2r38.com.

Supertaster is a lifelong archive of your taste. You save images, links, screenshots and your own work through the AI agents you already use, over MCP. Each one is filed into a theme on an endless canvas, and any agent you connect can search the archive and use it as a reference. Start your archive.