Jules BertronBack to the presentation

A design system rebuilt for a reader that is not human

I built JigSpace’s design system from nothing and grew it for years. Then AI agents started building interface from it, and they kept picking the wrong parts, because every name was one I had made up. I rebuilt it with the names they already know.

My part
The system, both times: tokens, components, the audit and the rules
Worked with
The engineers on each platform, and the two designers on my team
Used by
Swift, Unity, the web, and the agents that build from it

1 It grew the way they all do

I added one file per platform as the product reached it. Each one was tidy on the day it was made. Nine years later there were twelve, with the same button drawn in several of them under several names.

2 Tokens came first

The first repair was underneath: one set of named values that every platform reads. It has a core palette and, on top of it, names for what each colour is for. Switch the mode and the same names resolve to other values.

The real tokens, read from the Figma library

114 colour variables, each with a value for Light, Dark and Tenant, the mode a customer’s own brand plugs into.

color-brand-primary
Royal Blue-900#2F4DE4
color-surface-default
White#FFFFFF
color-surface-subtle
Gray-100#FAFAFB
color-text-default
Midnight-900#101B31
color-text-subtle
Midnight-400#525C76
color-border-default
Gray-400#E2E4E8

3 Then I asked a machine to use it

I pointed an AI agent at the component library and asked for a settings panel. It asked for a switch and found “Forms / Toggle” and “Toggle_Button”, and guessed. It wanted a dialog and reached for “Popups / Spin”. Every part it needed was there, named for someone who already knew where it was.

4 The audit: 78 components, one verdict each

Every component set got a line: keep it and give it the name the world uses, merge it into the thing it duplicates, or move it out because it is a product idea and not generic interface. Twelve of the lines, as written.

  • KeepIcon_ButtonIcon ButtonRename
  • KeepForms / ToggleSwitchNo longer collides with Toggle Button
  • KeepForms / DropdownSelectRename
  • KeepForms / SwatchSwatchFix the typo “Dissabled”
  • KeepNotificationsToastA malformed set: repair its properties
  • Merge[Desktop] NavBarNavigation Bar, Platform = DesktopFour nav bars become one
  • Merge[Mobile] NavBarNavigation Bar, Platform = MobileThere were two of these
  • MergePopups / Close buttonIcon Button, Type = CloseSame thing, different name
  • MergePopups / Submenu / ItemMenu / ItemA duplicate concept
  • MoveSteps / TileApp file: StepsA product idea, not generic UI
  • MovePanel / Section / Pivot pointApp file: SettingsA product idea, not generic UI
  • MovePopups / SpinApp file: Object ControlsA product idea, not generic UI

5 Four rules

The audit came down to these, quoted from the spec the rebuild followed.

6 Three layers, in two files

Tokens sit underneath. Above them is a core kit of about forty generic components, each named once, and one app file for the product’s own assemblies, such as the steps and the editor’s panels. A screen is made only of those.

The button components: eight styles, each drawn idle, hovered, pressed and disabled, with the text links below.
Core kit: the buttons, eight styles in four states.
The Workshop editor: settings on the left, the steps above an empty 3D floor, and object properties on the right.
App file: the Workshop editor, assembled from the kit.

7 A board for the most literal reader

Before a component counts as done, every variant goes on one board and someone reads it with no context at all. On this one the green button has lost its icon. Better found here than by an agent that copies it forty times.

A review board on a peach background: every button, link, icon button and icon toggle in every state. The green button is missing its plus icon.

the literal reviewer

  • Zero common sense. If it’s not written, it doesn’t exist.
  • Two possible interpretations = two bugs.
  • What happens at 0? At 1? At the boundary? When two rules conflict?

Breaks stuffGonna ask about thisGapNitpick

The checklist that reader works from, and the four marks they leave.

8 An agent gets a brief, like a junior designer

An agent also needs a brief: a tight scope, the vocabulary spelled out, and my check of what it makes. These lines are from one I gave an agent.

CLAUDE.md

  • A single-page interactive 3D step viewer prototype. This is a UI/UX research prototype.
  • focusStep: the “anchor” step for multi-selection (like active cell in Google Sheets).
  • Everything is contained in index.html.

9 What gets built from it now

With one name per thing, an agent can go from a written rule to a prototype that runs. These three were built that way, and each one opens.

10 What I keep from it

  1. Name things in the words the world already uses.
  2. A platform is a property, not a prefix.
  3. When an agent picks the wrong component, fix the library, not the prompt.