Ppdd.bot
中EN

Frontend with an agent: references first, then a banned list

Ask an agent for a page and you often get the same one back: a purple-blue gradient, a centered headline, three equal rounded cards underneath, each with an emoji. The reason is simple. Without direction, it builds the page it has seen most often. "Make it premium" or "clean and modern" doesn't help; it accepts the adjectives and still lands on the average. What works is three things: references, values, and a banned list.

Spot the agent's default look

Several design-skill repos list these as giveaways that a page was AI-made. None of them is wrong in itself. The problem is that nobody chose them. If your brand spec calls for one, use it.

Default look Instead
Purple, blue, or pink gradients; dark backgrounds with cyan or violet glow Take color from the brand or subject; keep one accent
Every section gets the same fade-and-slide, unrelated to what it shows Use motion to demonstrate the content itself: a loop running, an old sentence struck out, before and after wiping back and forth. Keep entrance motion light, fast, and one-time, and respect the reduced-motion setting
A row of equal "icon + title + one line" cards Ask what form the content wants: a table, a screenshot, a live demo, one big sentence
Soft large shadows on everything; cards inside cards Separate flat content with 1px rules and spacing; shadows only for overlays
Emoji as icons One icon set (Lucide, Heroicons, or similar) at one stroke width, or no icons
No product on the page; gradient blobs and abstract art instead Real screenshots; if there aren't any yet, draw the interface from real content
Invented stats, testimonials, customer logo walls Placeholders that say "real data needed"
01 / 02 / 03 numbering for things that aren't steps Number only what has a real order
Monospace everywhere to look "technical" Monospace for code, data, and IDs only
Inter or Roboto for headings by default, or the recently overused Space Grotesk and Instrument Serif Choose one on purpose and set a size scale, at least 1.25× between steps; four or five sizes per page at most
A thick colored stripe on the left of a card Remove it, or use a quieter emphasis

The same order dashboard. "AI default" is what an agent often returns without direction; "Revised" applies the approach below.

AI default

  1. A gradient banner fills half the screen and says nothing
  2. Every number gets an emoji in a colored circle
  3. Every delta is green and up, compared with nothing
  4. The button is a slogan; you can't tell where it goes

Revised

  1. The title is the page name; filters and actions sit top right
  2. Numbers sit in one row, ranked by size and alignment
  3. Only the number that needs action gets color
  4. Amounts are right-aligned with tabular figures
The same order dashboard, first screen

Translate adjectives into references and values

You have a specific look in mind; it comes out as an adjective, and the agent has to guess. Say something it can follow instead:

You mean Say this
More premium Reference linear.app's pricing page for layout and spacing; 48px headings, mostly grayscale, color only on the primary button
Clean One idea per screen; each section has one heading and one paragraph; remove decorative icons
Apple-like The product image is the hero, one selling point per screen; headings 56px+ with tight tracking; alternate white and light gray #F5F5F7
Not blue Accent #B4441B, only on the primary button and numbers that need action; not Tailwind's default blue-500 or indigo-500
Less interaction Motion only for state changes, under 200ms; no entrance animations, parallax, or scale on hover
A serious dashboard Right-aligned tabular numbers, 40px rows; no card shadows; filters and actions top right
Some design flair Be bold in one place (say, one large image on the first screen) and quiet everywhere else

If you can't name values, give a screenshot or a URL and say what to take from it and what not to. A reference image often does more than a paragraph of text. You can also give a counter-example screenshot: "not like this."

Write a design brief

A single sentence of requirements isn't enough to build a page from. A brief has five parts:

  1. Who it's for and what it does: the one job of this page, and what must be visible at first glance
  2. References: one main reference with what to take and what not to; plus one "not like this" example
  3. Values: color, type, spacing, radius, ideally by pointing at the project's DESIGN.md
  4. Banned list: copy in the rows from the table above that you don't want
  5. How it's checked: which widths to screenshot, light and dark, whether it works keyboard-only

The template is the page design brief.

Move the parts you keep repeating (colors, type, components, banned list) into a DESIGN.md in the repo and have the agent read it before any UI change; the template is the project design spec. To skip starting from zero, awesome-design-md has DESIGN.md files written up from dozens of well-known sites. Pick a close one and edit it.

Rules by page type

Dashboards and admin tools

A dashboard is for getting work done. Looks come after scanning, consistency, and familiar controls.

  • Style shows up in four places only: type, color, density, and one signature detail. Navigation and controls stay standard
  • Mock it with real data and units, and design one state worth looking at: an alert, empty results, a failed load
  • Color carries meaning, not decoration: red only for errors and things that need action
  • Numbers right-aligned with tabular figures; key numbers that change say what they're compared with
  • No animation on actions people do a hundred times a day
  • Don't use sparklines or progress rings as filler

Home and landing pages

  • The first screen says what it is and who it's for, gives one hard fact, and has the primary button
  • The primary button is a verb and an object: Upload a recording, Create your first project
  • Two buttons at most on the first screen; demote the second to a text link
  • Design every screen below the fold, not just the first one with headings and three cards after it
  • Be bold in one place; show the actual product

AI default

  1. The headline sells 'potential' and never says what the product does
  2. Gradient text, centered, two buttons competing
  3. Fast, secure, accurate: true of any product
  4. Emoji used as icons

Revised

  1. The headline is the job the product does
  2. The subhead gives input, output, and how long it takes
  3. One primary button; the secondary action is a text link
  4. Below the buttons, the actual output instead of feature cards
The same product's landing page, first screen

Docs and content sites

  • Style lives in the frame: header, navigation, section openers, code blocks, and tables; the reading column stays quiet
  • Body around 16px, 60 to 75 characters per line; don't skip heading levels
  • Give the agent a real title, a real first paragraph, and the hardest content to lay out (long code, wide tables)
  • Two checks: do readers know where they are and where to go next? With the name covered, would you still recognize it as yours?

Making a style name specific

"Make it Apple-style" beats "premium," but the agent may hear only "white background, big text." When you name a style, spell out a few checkable traits:

Style What it means Look at
Apple Product image as hero, one point per screen; huge headings, tight tracking; lots of space; mostly black, white, gray apple.com product pages
Linear Dark background, 1px borders, small type, dense information; little motion, and fast linear.app
Vercel Nearly all black and white, thin grid lines, monospace only for code and numbers vercel.com
Stripe Clear hierarchy; docs with prose and code side by side; careful charts stripe.com, docs.stripe.com
Editorial Serif headings, narrow text column, mostly words, typography as the design good long-form news pages
Brutalist Thick black borders, hard shadows, flat color blocks, rough on purpose search "neo-brutalism"

Most of these sites already have a DESIGN.md in awesome-design-md, which is more precise than describing them yourself.

Where to find references

Site What's there Good for
Mobbin Screens and flows from shipped apps and sites Dashboards, forms, sign-up flows; free tier is limited
Refero A library of real product UI; the styles site has DESIGN.md examples for agents Dashboards and product UI
awesome-design-md DESIGN.md files written up from well-known sites A starting point to drop into your repo
Awwwards Sites picked daily by a jury Home pages and brand sites; not dashboards or docs
UI Skills A directory of design-engineering rules and skills Detail rules: touch targets, text wrapping, tabular numbers
React Bits Animated React components One per page is plenty; more becomes its own cliché
Prompt Motion Motion pieces with the prompts that made them Motion ideas

There's also a category of "landing page from one prompt" generators. They're useful for comparing a few directions quickly, but don't use their output as a reference: it is the average.

Have it look before handing off

An agent finishes the CSS and says it's done without ever seeing the page. Make it open a browser and look:

  1. Screenshot at 390px and 1440px, light and dark
  2. For each one, write down the three worst things, fix them, and screenshot again; at least two rounds before shipping
  3. Go through the brief's banned list item by item
  4. Walk the main flow with the keyboard only and watch where focus goes

Then review the screenshots. Ideally use a fresh session or a subagent with no context; authors go easy on their own work:

You are a picky design reviewer now, not the author. Look at these screenshots and the brief.
List problems in this order, each as "where → problem → fix":
1. Is the first thing you see the thing the brief says must be visible?
2. Is anything from the brief's banned list, or the "default look" table, present?
3. Hierarchy: can headings, body, and secondary text be told apart at a glance?
4. Alignment and spacing: anything off by a few pixels, or off the spacing scale?
5. Are the empty, loading, and error states designed?
List problems only; don't fix yet. I'll confirm first.

The whole process is packaged as the frontend design skill.

Existing skills

Each of these has its own focus, and they sometimes disagree (one bans violet outright; Linear's own spec uses a lavender primary). Your brand spec wins. Pick one and install it; don't install them all. Some people have found that stacking generic design skills makes results blander. Real screenshots plus your project's own DESIGN.md beat any skill.

One habit worth building: whenever you correct the agent's design ("no gradient on the button," "drop the vertical rules in the table"), have it write that rule and the reason back into DESIGN.md so you never say it twice. The learn-taste skill in emilkowalski/skills does exactly this.

Repo What it is Good for
pbakaus/impeccable Design commands (polish, bolder, critique, audit) plus an AI-tell detector you can run in CI Polishing and checking existing pages
Leonxlnx/taste-skill For company websites, with a multi-width screenshot gate Home pages, marketing sites
anthropics/skills (frontend-design) Pin down subject and audience; propose palette, type, and wireframe before code Building a page from scratch
emilkowalski/skills Mostly motion: when not to animate, which easing to use Interaction and animation
nextlevelbuilder/ui-ux-pro-max-skill Looks up palettes, type, and styles by product type and industry A starting proposal when you don't know where to begin
alchaincyf/huashu-design In Chinese; proposes several directions to choose from, then polishes screen by screen Prototypes and demo pages
ConardLi/garden-skills (web-design-engineer) Writes a design read before touching code and waits for approval Agreeing on direction before code

Read next

Spotted a mistake, or do it differently? Write to me