Summary

When layoffs shrank our engineering team, we rebuilt our design system for AI coding agents

Role

Role

Product Designer & AI Researcher

Product Designer & AI Researcher

Team

Team

Clearlink Product Design, Web Engineering

Clearlink Product Design, Web Engineering

Tools

Tools

Figma (& Figma Make), Claude (& Claude Code), CSS stylesheets

Figma (& Figma Make), Claude (& Claude Code), CSS stylesheets

Problem

Problem

In May 2025, Clearlink's engineering team went from 17 to 4. AI coding tools became essential overnight, but they didn't work with our existing design system. Token names like "primary-darkest" and "grays-lighter" meant nothing to an AI agent. It would guess, get it wrong, and engineers would spend time fixing styling instead of building product.

Approach

We proposed a two-tier token system called PUMA. A primitives library holds the raw values, and the semantic library tells AI what each token actually does. Instead of "primary-default", it's "color-border-input-active", which AI can understand and apply. This isn't a new setup, but it's the first part of the system that makes PUMA work.

First Version

Our first version shipped in three weeks. It worked, but it had gaps, mostly small things we hadn't accounted for. AI would hit a missing token and just create a new class instead of using what existed, or sometimes just forget to use them altogether (this happened more when we built bigger things; components worked better than pages).

Second Version

To address the first version's spotty memory issue, we added an instruction layer: a CSS stylesheet preloaded into each AI agent, spelling out which classes existed and how to apply them when it encounters them in Figma. When the agent saw the semantic variable name, it applied the correct CSS far more often.

Results

The second version landed two months after kickoff. Our engineers now point a Claude Code agent at a Figma file, preloaded with that brand's stylesheet and custom instructions, and get 80%+ correct UI on the first pass. Their job shifted from building UI to reviewing it. And because PUMA scales per brand, 4 engineers now support 7 brands with individual AI coding agents tuned to each one.

What's Next

PUMA is still evolving. I'm currently exploring Design.md, an open-source standard from Google that gives AI models explicit formatting and design rules as a markdown file. Combined with our semantic tokens and CSS instruction layer, it could close the remaining gaps in AI accuracy and extend beyond engineering into broader product workflows. Read about it here

What I Did

What I Did

I championed semantic naming as the way to make AI understand our system, not just read it. I researched what AI could actually parse from Figma (exploring MCP and Code Connect), presented the Design.md standard, and led the work on edge cases that shaped the instruction layer. Ryan, a Senior designer, owned the naming conventions and token architecture, and the full team built and rolled out PUMA across all 7 brands.

Explore MCP & Code Connect

Figma released Code Connect over a year ago, an official integration with LLMs like Claude or ChatGPT to read code output. However, the official integration didn't allow access to certain parts of the system, so I explored an unofficial MCP access with a more manual setup. It allowed Claude to take action within the Figma canvas and access tokens, essential for PUMA.

Design.md Research

When Design.md was open-sourced from Google, I saw the announcement but didn't understand the significance. After some research into how it was being used, I recognized the additional context it provided AI design tools as the largest remaining flaw with our PUMA design system, and presented it to our design leadership as the missing piece.

I create exceptional digital experiences & must-have products that increase value and revenue.

© 2026 Wyatt Thacker. All rights reserved.

I create exceptional digital experiences & must-have products that increase value and revenue.

© 2026 Wyatt Thacker. All rights reserved.

I create exceptional digital experiences & must-have products that increase value and revenue.

© 2026 Wyatt Thacker. All rights reserved.