Get your product/website audited. For Free

How we use AI agents for product design in 2026

Nov 16, 20265 min
Marcel Kargul
Marcel Kargul
How we use AI agents for product design in 2026

we asked claude to add a screen to our Figma file.

it came back completely wrong. black fallback colours behind every token, icons with five different stroke weights, frames clipping content they shouldn’t.

not because claude is bad at this, but because everything that makes our work feel right lived in our heads. claude had no way to see it. here’s how we fixed that.

The project

we’re building Underlay. our own product. an all-in-one workspace for agencies: projects, tasks, chat, invoices, contracts, meetings.

490 screens. desktop and mobile.

the setup: our designers owned every screen. our product lead wrote a 24-page brief. claude Code sat next to them inside Figma through the plugin API, editing the file directly.

not generating images. not “suggesting” layouts. when our designers said build this screen, claude built it. when something was wrong, our designers caught it. claude fixed it and wrote the rule so it never happened again.

every decision came from the team. claude just meant one person could do the work of five.

Underlay project board and invoices screens on desktop
@tryunderlay

The fix wasn't better prompts. It was files.

5 things specifically.

1. A token system claude can't break

every colour in the file is a Figma variable. claude only binds to tokens. never types a hex value.

  • foundations → raw palette (244 variables)
  • theme → one brand colour, 12-step scale
  • tokens → what a value is FOR. text/sub-600, bg/weak-50, state/error/base

first real issue: Figma stores a fallback colour when you bind a variable. claude was writing black.

it looked fine in screenshots, because screenshots resolve variables. our designers opened the actual file: "there are a lot of problems like this, don't you see them?"

// before
{ type: 'SOLID', color: { r: 0, g: 0, b: 0 } }

// after
const { r, g, b } = token.resolveForConsumer(node).value

one fix. rule written. never happens again.

Figma variables panel showing the Underlay token collections in light and dark
token system

2. One markdown file as claude's memory

sessions end. context compresses. claude forgets.

every decision goes into one file. design-system.md. every new session starts from it.

one sentence each. the reason. the date.

real examples:

  • 44px buttons: 18px icon, 8px gap. set after icon sizes drifted across mobile.
  • sheet top edge: 54px or 102px. never in between. anything else cuts the iOS nav bar in half.
  • light brand colours: if it can't hit 4.5:1 contrast against white, the button gets darker. a yellow brand still needs to be readable.

the reason matters more than the rule. when claude hits a case nobody wrote down, the reason is what it works from.

design-system.md open in an editor with dated rules and the reason for each
design-system.md

3. Blocks from real screens, not theory

we didn't build a component library upfront.

our designers drew real screens. noticed what kept getting rebuilt. only then did we name it.

6 blocks ended up carrying almost every mobile screen:

  • list card → invoices, contracts, clients, meetings, notes
  • sheet → menus, pickers, filters
  • form sheet → fields + full-width primary button at the bottom
  • dock → summary left, next action right
  • bottom bar → replaced a floating card after our designers said it looked like "a box inside a box"
  • empty state → icon, one title, one sentence, one button max

once a screen is a stack of named blocks, claude builds it the same way every time.

Three Underlay mobile screens: meetings list, new contract sheet and an empty state
mobile screens

4. An audit after every batch

this is the one most people skip. don't.

claude's screenshots don't catch everything. a wrong fallback looks correct in a screenshot because screenshots resolve variables.

so after every batch, claude runs the same script over the whole file:

  • fallback colours match token values
  • no raw hex anywhere
  • every text node uses a text style
  • icon strokes follow icon size
  • clip only on frames with effects
  • buttons match size, radius, padding rules

real output from the contracts section (7 screens):

fallback colours 0
unbound colours 0
icon strokes 18 → fixed
clip 32 → fixed

one pass caught 112 icon vectors with the wrong stroke weight. another found clip incorrectly set on 858 frames.

our designers stopped hunting for pixel problems. started spending time on whether the design was actually right.

Terminal output of the audit script run on the Contracts section
audit output

5. Every correction becomes a permanent rule

when our team pushes back, 4 things happen:

  • claude fixes the screen
  • writes the rule + reason into the markdown file
  • adds an audit check if it can be automated
  • applies it to every screen already drawn

"pull the gaps to 8px"

→ rule written. 59 buttons updated across all mobile pages. audit check added.

we never say the same thing twice. corrections compound. that's the actual speed-up.

A designer comment "Pull the gaps to 8px" next to an Edit button with an 8px gap measured
designer feedback

The numbers

244 desktop frames. 246 mobile frames.

meetings module alone: 44 mobile screens. lobby, the call, notes, scheduling, empty states, error states. section by section, audit after each.

The honest part

claude handled the volume. it did not make a single design decision.

taste, judgement, "this doesn't feel right" - all our team.

what changed is where that judgement goes. into files claude reads every session, instead of the same comment written over and over.

our designers spend time on decisions. not fixing pixels.

that's what AI agents are actually good for in 2026.

Figma meetings screens with a designer's review comments in the sidebar
human judgement

If you want to try this:

  1. variables only. agent never touches hex values.
  2. one rule file. one sentence each, reason + date.
  3. draw real screens first. name what you keep rebuilding.
  4. audit what screenshots can't catch. run it after every batch.
  5. when claude gets something wrong, fix the rule. not just the screen.

the slow work of writing things down is what makes everything after it move fast.

claude reading design-system.md before starting the mobile Settings screens
rules first

Let’s build
something amazing