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
Forms / ToggleSwitchNotificationsToastHintTooltipPopupsDialogPopups / ArrowMenuPopoverContextMenuMenuRow collapse / TitleAccordion / Header
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.
- Unity (Legacy)
- Unity Software Design
- Unity App
- UIToolkit Components
- Web & Dashboard
- Dashboard
- Webviewer
- Website
- Marketing
- Emails
- AVP
- Foundations
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.
- Keep
Icon_ButtonIcon ButtonRename - Keep
Forms / ToggleSwitchNo longer collides with Toggle Button - Keep
Forms / DropdownSelectRename - Keep
Forms / SwatchSwatchFix the typo “Dissabled” - Keep
NotificationsToastA 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 - Merge
Popups / Close buttonIcon Button, Type = CloseSame thing, different name - Merge
Popups / Submenu / ItemMenu / ItemA duplicate concept - Move
Steps / TileApp file: StepsA product idea, not generic UI - Move
Panel / Section / Pivot pointApp file: SettingsA product idea, not generic UI - Move
Popups / 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.
- Use the term the rest of the industry uses. The model already knows what a “Switch” or “Toast” is.
- Platform / Size / Device / State / Style are PROPERTIES, never name prefixes.
- One component per concept. Duplicate concepts are the thing that most confuses an LLM picking a component.
- No feature words in the core file.
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.


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.

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
- Name things in the words the world already uses.
- A platform is a property, not a prefix.
- When an agent picks the wrong component, fix the library, not the prompt.


