All projects
All projects Case study · Personal project

Personal project · AI · Design systems

An AI design tool that stays inside the rules you set

Most AI design tools give you a new random screen every time you prompt, often off-system, and you can’t tell what changed or why. I wanted the AI to be creative, but inside rules I control. So I built Style Studio: a design system builder, importer and exporter in one.

Try it live

Built
October 2026
My part
Flow, interaction model, hand-drawn wireframes. Built with Claude Code
Building blocks
13 components and design tokens
Reliability
15 checks you can run inside the page
Style Studio’s Explore view: three directions for a Confirm ride screen, A Fare First, B Route Story and C Deep Violet Serif, each with contrast checks under it
Explore: three directions from my current screen, each with its contrast checked.
01In 30 seconds

Creative AI, plain-code guardrails

The problem
AI screens drift off-system, and nothing tells you what changed or why.
What I did
Designed a loop of Explore, Tune and Ask, where every change is measured and every “no” comes with a reason. The rules live in plain code, so they don’t depend on the AI behaving.
What came out
A working tool you can try, 15 of 15 checks passing, and design systems that go in and out as JSON tokens.
02Before any code

Pen on paper first

My first version rated three boards each round with sliders, and the ratings meant nothing. These sketches are what I rebuilt it around: one focus screen, what changed, and a like or pass right next to the phone.

Pen sketch of the start screen: a prompt box, Fetch and example screens
The start screen.
Pen sketch of Explore: three columns A, B and C branching from the previous version, based on style and preference
Explore, where A, B and C branch from the last version.
03Tune

Cards, not sliders

Sliders make you know your answer upfront. Cards let you recognise it. Each card changes one thing, so a like or a pass is never unclear.

  • ♥ keeps going in that direction. ✕ turns back with half the step, so it homes in like an eye test.
  • ★ locks it, so the AI can’t move it later.
  • No AI here. It’s instant and the same every time.
A Tune card showing the Confirm ride screen with sharper corners, and like, lock and pass buttons beside it
A card that only changes the corners.
After the deck, a plain-language description of the style it learned
After 8 cards, it describes my style in plain words.
04Ask for a change

It says what it won’t do, and why

I asked it to make the fare the hero, turn the colour pink and drop the cancellation note, with only Type allowed to change.

  • It made the fare the headline, using type only.
  • No to pink: I’d locked the colours in Tune.
  • No to dropping the note: it’s a required detail.

This is the part I care about most. It doesn’t quietly ignore a request.

The Ask view: what it changed, what it said no to and why, and the dark Confirm ride screen with the fare as a large headline
What changed, measured by the studio, and what it refused.
05Import, re-skin, export

Design systems in, design systems out

Import reads a tokens JSON file, like one from a Figma tokens plugin, and re-skins the screen while the layout and content stay. Pastel Pop fails contrast on purpose, so the studio fixed its secondary text from 1.5:1 to 4.6:1 and flagged it. My own style went out as “Shady Ride”, a JSON file that imports back to the same tokens.

The Confirm ride screen re-skinned with the Pastel Pop system: pastel colours, rounded corners, layout unchanged
Re-skinned with Pastel Pop, contrast fixed and flagged.
06Under the hood

15 of 15 checks pass

Each check feeds it broken input on purpose: a missing fare, an invented discount, two primary buttons, very faint text. Anyone can run them from How it works.

The AI decides

Which components, in what order, and names for each direction.

The code decides

The facts on screen, contrast of 4.5:1 or more, scope and locks, and measuring what changed.

A table of 15 checks, each with the broken input, the expected behaviour and a Pass result
All 15 checks, each one breaking something on purpose.
07Limits and next

Honest limits

One screen at a time, 13 components and 4 example screens. The AI’s output still varies, just only inside the guardrails. Next I’d add live sync with Figma variables, custom screens from a prompt, and applying a tuned style across a whole flow.

Try it yourself