AI YOU
Let’s talk
Case 04Design System · Tokens · LLM-ready

A DS that AI understands

Tokens, primitives, variables, semantics and syntax structured so agents pick the right token and component — instead of guessing values.

CompanyGetnet · Santander Group
RoleDesign Engineer — semantics, naming and descriptions for LLMs
Year2026
StatusThe foundation of every design agent
Ask the DSagent
Problem

AI was already in the flow, but it didn’t understand the DS: it produced loose hex values, random spacing and rebuilt components.

Solution

Restructure tokens into three layers, with intent in the name, a standard syntax and descriptions written for humans and LLMs.

My role

Semantic architecture, naming grammar, descriptions and tests with real questions from designers and agents.

Result

A design system that agents can read — the foundation for handoff, the content agent and the audit.

01Context

AI was already in the flow. The DS wasn’t yet in the AI.

Designers and devs were already using AI every day to generate screens, components and code. The result had a pattern: it worked, but it wasn’t our product. Hex colors, made-up spacing, components rebuilt from scratch.

The design system had been designed for people — visual documentation, examples, best practices. To an AI, "Red/500" and "Primary" were just names. What was missing was saying what each token means and when to use it.

If AI doesn’t understand your design system, it will invent one.— the premise of this project
02Problem

Three gaps between the DS and the machine.

01

Names for humans

"Red/500", "Primary-2", "bg-alt" made sense in a meeting, not to a model.

02

No semantics

The token stated the value, not the intent. AI didn’t know that red means "primary action".

03

No usage rules

When to use, when not to, what to pair it with — none of it was written in a readable way.

03Goals

What an AI-readable DS needs to have.

  • ✓Three explicit layers — primitive → semantic → component.
  • ✓Intent in the name — color.action.primary, not "red".
  • ✓Descriptions for humans and LLMs — usage rules in plain language.
  • ✓Standard syntax — $type, $value and $description in the design tokens format.
04Three layers

From raw value to intent.

Semantic

color.action.primary — the intent. It’s what AI should pick.

Component

button.primary.bg — the specific use. Always points to a semantic token.

button.primary.bg→color.action.primary→red.500→#E10A1E

With an explicit chain, a rebrand changes one primitive and propagates on its own. And an agent that needs "the primary button color" finds the answer by meaning, not by value.

05Before × after

The same request, with the DS before and after.

How AI read the DS
{
  "Red/500": "#E10A1E",
  "Primary": "#E10A1E",
  "bg-alt-2": "#F4F2EE",
  "Spacing/M": 16,
  "radius-btn": 12
}
// no intent, no usage rules
{
  "color.action.primary": {
    "$type": "color",
    "$value": "{red.500}",
    "$description": "Primary action. Use once per screen. Never on text."
  },
  "radius.control": {
    "$type": "dimension",
    "$value": "{radius.300}",
    "$description": "Buttons, inputs and chips."
  }
}
promptGenerate the confirm payment button.
AI · beforebackground: #E10A1E; border-radius: 12px; padding: 14px 20px;

Loose hex and numbers: works today, breaks on the next theme.

AI · after<Button variant="primary"> Confirm payment </Button>

A DS component with color.action.primary and radius.control — it respects theme and accessibility.

06Naming grammar

Each part of the name has a role.

A predictable grammar makes names easy to guess — for people and for models. Click the parts to switch the options.

category
.
role
.
variant
.
state

→ color.action.primary.default ·

07Decisions

What we decided — and what we left out.

✓We decided

  • Intent over value in the name of every semantic token.
  • Mandatory description for every semantic and component token.
  • Aliases always point to the layer below — no shortcuts between layers.

✕We dropped

  • One token per hex: more tokens, zero semantics.
  • Visual-only documentation: great for people, invisible to agents.
  • Letting AI "learn on its own" from the files: it learns the mistakes too.
A good name is one AI gets right without having seen the docs.
08Results

The foundation of every agent.

3

explicit layers: primitive, semantic and component

100%

of semantic tokens with a usage description

−70%

hardcoded values in AI-generated code

3

agents built on this foundation: handoff, content and audit

This work is invisible on screen and decisive in everything that comes after: every design agent got better because it started reading the same system — with the same names, the same rules and the same intents.

09AI in the process

AI helped make itself understood.

With AI

  • Draft descriptions based on real token usage
  • Auditing inconsistent names across files
  • Tests with real questions from designers and agents

With people

  • Defining intents and layers
  • Approving the naming and the grammar
  • Governance of DS changes
10Next steps

A DS that talks to any agent.

  1. Agent-readable changelog — every token change explained and versioned.
  2. Standardized DS access for any agent on the team, from the same source of truth.
  3. Automatic Figma ↔ code sync, with the DS Maturity Audit as the guard.
Fact sheetInspect
Company
Getnet · Santander Group
Year
2026
Role
Design Engineer — semantics, names and descriptions
Team
Me + Design System team
Stack
Figma Variables · design tokens (JSON) · LLMs
Status
The foundation of every design agent
Next case · 05 Research Hub

C-SAT and surveys inside the apps — a home-grown "Hotjar".

See all cases