Design taste for coding agents, from Keshav's corrections, made to pair with ui-sdk (accessible components with no styles, where agents otherwise fall back on slop). Teaches how to decide, not what to look like: find the real task, put data where the eye and hand already are, subtract what earns nothing, spend colour on meaning, move with weight, write copy that says what happens, and fix every AI slop tell (2024 and 2026) with what it was reaching for. Works with the project's own design system, with references the user gives, or with Keshav's house style (graphite ink, Allo, Nucleo duotone) when they opt in. Builds behaviour on ui-sdk unless the project already has a primitive library. Use when building or reviewing any interface, when UI "looks AI-generated", when choosing type, colour, spacing, motion, icons or copy, or when writing a before/after or scan-and-redline sequence.
Generated UI is rarely wrong about the UX. An eyebrow wants to announce something, an accent border wants to mark what matters, a sub-label wants to explain. It says it the louder, older, vaguer way. This skill is the judgement for saying it the way a designer would ship it.
It pairs with ui-sdk. ui-sdk gives an agent keyboard, focus, ARIA and forms with no styles at all; that blank slate is exactly where an agent reaches for its defaults. This skill supplies the judgement to finish those components.
It teaches taste, not a look. Most of it is decisions that hold in any design system: what to cut, where data goes, how things move, what copy says. A small part is Keshav's own house style, and that part is used only when the user chooses it. Never repaint someone's product in the house style because this skill is installed.
Walk the same procedure every time. The output should differ per brief and per design system; the reasoning should not.
Step 0: whose design system
Before the first visual decision, settle which design language you're working in. Ask the user once, unless their request already answers it:
Does the request already say which look to use?
├── Yes → use it, don't ask
└── No → look in the project first
├── It has a design system (tokens in the Tailwind theme or CSS variables, a components/ui folder,
│ a DESIGN.md or brand guide, a consistent existing page)
│ → ask: "I found <what you found>. Should I follow it, or use something else?"
│ Recommend following it.
└── It has none
→ ask: "Do you have a design system or references you want me to follow?
If not, I can use Keshav's house style (graphite controls, Allo, duotone icons)."
Then follow the answer:
They choose
What you do
Their existing design system
Use its type, colours, radii, shadows and components exactly. Apply every principle in this skill through their tokens: their accent spent once, their card style without dead bands, their buttons with copy that names the action. Never introduce Allo, graphite ink or Nucleo into it.
References they give (sites, screenshots, a Figma file)
Take the technique and the decisions you can see, then build your own version. Don't reproduce the reference's layout, metaphor or chrome with new colours (effects-and-demos.md). Say what you changed.
Keshav's house style
Use the values marked House style in the references: graphite ink, Allo, Nucleo duotone, the cool palette, the vivid icon hues.
Record the choice in the project's
AGENTS.md
or
DESIGN.md
so the next session doesn't ask again.
Read before you build
You are about to
Read
Pick or build any control (button, switch, select…)
references/ui-sdk.md
Style a surface, card, button, shadow, colour
references/surfaces-and-colour.md
Set type, pick icons, write labels
references/type-and-icons.md
Lay out a frame, a row of cards, a stat
references/layout.md
Add any motion, a number that changes, a before/after
references/motion.md
Wire hover, switches, popovers, values on controls
references/interaction.md
Write any visible text
references/copy.md
Review or fix UI that looks generated
references/slop-catalogue.md
Build an effect, a demo, a gag or a pitch
references/effects-and-demos.md
Each reference starts with principles that hold in any design system, then gives the house-style values separately.
Ready-to-use code lives in
assets/
:
flow.tsx
(the blur digit roll),
spring-ease.ts
(a critically damped spring baked into CSS
linear()
),
redlines.tsx
(live measured annotations), and
ink.ts
(house style: graphite ink on WebGL2). The first three work in any design system. Copy them into the project; don't rewrite them from memory.
The build procedure
Run these in order for every component or page. Do not skip a step because the brief is small.
Settle the design system (above).
Find the real task. Write one sentence: who is doing what, and what they need to see to do it. If you can't, the component has no job yet. Ask, or pick a real product flow (billing, code review, a search filter, setting up a workspace), never a lorem-ipsum showcase.
Pick the behaviour. If the project already uses a primitive library (Radix, Base UI, React Aria, ui-sdk), use it. Otherwise use ui-sdk: match the task with the table in references/ui-sdk.md, or define a primitive with
definePrimitive
. Never hand-write
role="switch"
,
role="radiogroup"
,
role="dialog"
and friends on a
div
.
Find where the eye and hand already are. Put the data there: the price on the slider thumb, the delta beside the number, the card's expiry on the timeline under it. If two things would collide, design their merged state (see interaction).
Subtract. For each element ask: what breaks without it? If nothing, delete it. Eyebrows, sub-labels, icon tiles, decorative badges, "Learn more" links, trays, ghost slots and key hints go first.
Set the type and icons from the chosen system, each icon depicting its label's meaning.
Spend colour once. Neutral ink everywhere. Colour goes on icons, on one accent element, and on values whose meaning is good or bad. Never on a surface wash, a gradient or a glow.
Give it material. One primary control per view, visibly the strongest thing on it. Cards edge with a hairline ring and a soft shadow, not a border plus a hard shadow.
Move it with weight. Springs, critically damped, no overshoot on controls. Every changing number animates its digits. Hover reveals; hover never moves what hangs off it.
Write the copy last, against the real task. Outcome first, plain, sentence case, specific numbers, no em dashes, no exclamation marks.
Check edge states and the frame. Empty, max, disabled, loading, dark mode, reduced motion, keyboard, a 375px phone. Fit the view (≤ ~1120×750 for a showcase frame).
Run the review checklist below. Fix every miss before you show anything.
Rules that are never broken
These hold in every design system. Each one came from a direct correction.
No gradient or tinted page backgrounds. Leave the page its plain base colour. A light-blue gradient was "tacky… never do that please", and the flat blue that replaced it got the same verdict.
No coloured glow or halo (
box-shadow
with blur and a hue) around a card or control. Mark emphasis with a 1px ring, a pill, or one coloured element. A blue glow on a card "feels sloppy". The only exception is an effect whose subject is light, like fire.
Two- and three-way switches are never flat black segmented tabs. A knob or indicator with material in a recessed well, or a plain switch for one toggle. Flat black tabs were rejected for "something nicer".
Every changing number animates its digits (
assets/flow.tsx
if the project has nothing). Never a plain text swap, never a one-off count-up. The user wants it "in every design wherever there's a number tick".
Hover never moves anything attached to the hovered thing. It may reveal (a name spells out, a bar parts), but the panel hanging under it stays put and left-aligned content grows right.
No bounce on controls. Springs are critically damped (
c ≈ 2√k
). "Too bouncy though, need a little mass to it."
Every icon on a control depicts its label. An eye for "having taste", a sparkle for AI output. A decorative icon "makes no sense".
No dead bands. Cards in one row never keep empty space to match a neighbour's height. Tighten first; fill only with content that earns its place.
A value and its badge share one flex row with an 8px gap, on a shared baseline. Never two absolutely positioned pieces: rolling numbers change width and collide.
Annotations need a cause. Redlines, dimension tags and brackets appear only after a scan passes or the element changes, and measure the real element every frame.
No illustrated hands, arms or wrists. They looked "ugly and scary" and "crooked and cheap and childish".
Demos wait for the user. No auto-play; a real input starts the flow. Show only what the real product would show.
House style adds three more, only when it's chosen: graphite ink, never
#000
; Allo with Nucleo duotone; cool blues and greys, never warm creams, browns or rust.
Review checklist
Answer every line with yes or no. A "no" is a fix, not a note.
The design system was settled in step 0, and nothing from another system leaked in
Behaviour comes from the project's primitive library or ui-sdk; no hand-rolled ARIA roles
Every element survives "what breaks without it?"
No eyebrow, sub-label under every title, icon-in-a-tile, accent left border, dashed empty box, "Learn more", "Get started", "Book a demo", "No credit card required"
Page background is the plain base colour; no gradient, grid, dots or glow behind content
Colour appears only on icons, one accent, and good/bad values; body text is neutral ink
One primary action per view, and it reads as the strongest control
Headings tighter than body; weight never changes on hover or selection
Each icon depicts its label
Every changing number animates its digits, with
tabular-nums
Motion is spring-based, critically damped, with reduced-motion handled
Hover reveals without shoving neighbours or attached panels
Copy is outcome-first, specific, sentence case, no em dashes, no exclamation marks
Empty, disabled, max, loading, dark and 375px states exist and look designed
Fits the view; unpraised pieces were cut before praised ones