Skip to content

BENDS: Taking a Design System from Figma to the AI Age

Summary

BENDS is Revyse's design system — named for Bend, Oregon (where Revyse was founded). As Revyse scaled from a handful of employees to hundreds, AI-assisted development outpaced the design process, producing visible UI inconsistency, degraded performance, and rising support volume. This case study covers how I diagnosed the cause as "AI Drift," rejected Figma- and Zeroheight-centric documentation as insufficient for agentic workflows, and instead architected a version-controlled, markdown-based documentation repo that fed directly into engineering's existing AI "consumption layer" — turning design system compliance from a suggestion into a build-blocking rule.


BENDS logo, a lockup of the word and the Revyse secondary logo, a paper plane. The letters BEN use a brand blue, S uses a brand vermilion, and the D uses the Get Covered brand Purple, to symbolize the merging of two companies.

BENDS logo, a lockup of the word and the Revyse secondary logo, a paper plane. The letters BEN use a brand blue, S uses a brand vermilion, and the D uses the Get Covered brand Purple, to symbolize the merging of two companies.

The Problem: AI Drift

Revyse ships two apps — one for property management companies, one for the vendors serving them. As headcount grew and engineers across time zones began shipping AI-assisted code, quality control that had relied on informal Slack conversations stopped scaling. The result was AI Drift: agentic output that's directionally correct but misses detail and context, compounding with each iteration into a steady deviation from the intended design.

Design systems are the traditional guardrail against this, but the failure mode was familiar even before AI entered the picture — engineers under ticket pressure would pull specs from a delivered file rather than cross-reference the design system, and drift set in. AI-assisted development didn't create this problem; it multiplied its rate.

drift diagram


Constraint: AI Agents Need Explicit, Structured Direction

Illustration of the gap between Figma's MCP and most AI Agent needs

Working at an AI-forward company surfaced a sharper version of a familiar UX complaint: AI design tools produce results proportional to the specificity of their input, and reviewing that output for a detail-oriented practitioner is its own labor. The working analogy — an overconfident junior collaborator who needs exhaustive, explicit instruction — reframed the design system's job. It wasn't just a reference for humans anymore; it needed to function as direct operating instructions for a non-human collaborator.

The first assumption to test: if BENDS was already well-documented, could an agent just be pointed at the Figma file?


Discovery: Where the Existing Tooling Broke Down

Figma is well-suited to defining tokens and components, but poorly suited to communicating the logic behind them — the do's, don'ts, and edge cases that in a human-run process live in tribal knowledge or a design lead's head. Even with Figma's MCP integration, agents struggled to consistently reference tokens and components living in library files. Font-dependent elements (icon sets, for example) failed outright: agents would ignore direct file access and defer to public documentation about licensing tiers instead.

A purpose-built style guide tool (Zeroheight) was evaluated next and rejected for a different reason: authoring was still manual point-and-click work, and its own MCP server had the same referencing limitations.

Tradeoffs considered at this stage:

Approach Strength Failure mode
Figma + MCP Native source of truth for tokens/components Agents inconsistently resolve references; no room for explicit logic/rules
Zeroheight Purpose-built for style guide publishing Manual authoring overhead; MCP limitations mirrored Figma's
Markdown docs repo Plain text, agent- and human-readable, version-controlled Requires new authoring discipline; risk of file bloat

The Insight: Ask the Consumer What It Needs

A screenshot of the repo file structure in an IDE

The design system repository structure

Rather than continuing to retrofit human-facing tools for agent consumption, I inverted the question and asked the agents directly what format would serve them best — and tested a design.md-style approach (the pattern Google has floated for AI design tooling) against a full documentation repository.

A single design.md file works at project scope but doesn't hold up at design-system scope; early drafts became unwieldy and hard to version. The repository structure — plain markdown files, YAML frontmatter for token metadata, organized the way an open-source project's /docs directory is organized — turned out to be easier for agents to parse than a single file, not harder. It also solved a problem I hadn't been optimizing for: distribution. Git version control meant there was no longer a "which version of the file is everyone using" problem.

This also required unlearning a core UX-writing instinct — brevity for humans who don't read long-form docs. LLMs consume detail differently; the repo needed to be verbose, example-rich, and exhaustive in a way that would read as bloated to a human-first audience but was exactly what improved agent output.


Closing the Loop: Drift Detection

The repo also let me automate the comparison it was meant to prevent. Working with Claude, I built a scheduled cross-reference between the documented token values in the repo and the live values in the Figma libraries, producing a drift report — a way for human review to catch and correct divergence between the source of truth and the design tool, rather than discovering it downstream in shipped code.


The Adoption Gap: Documentation Isn't Enough

A diagram that AI generated with far too much detail that has little to do with anything other than the general concept

Yes, AI generated this diagram, and yes, most of the details are nonsense.

A discoverable, well-structured repo didn't guarantee anyone — human or otherwise — actually referenced it before writing code. The same disconnect that had undermined the original Figma-based design system re-emerged: rules that live outside the engineer's workflow get skipped under ticket pressure, regardless of format.

The unlock was discovering that engineering had already solved an analogous problem for code quality: a consumption layer already existed in the app's code repository — ai-tooling/skills/* principle packs, a skill index routing file patterns to the correct pack, an always-apply rule set, and an automated PR-reviewer agent enforcing those rules on every pull request. A revyse-styling-and-ui pack was already being routed to UI work; it just didn't yet contain BENDS' rules.


Execution: Writing the Proposal, Then the Code

I brought the app's code repo into Claude and used it to work through what it would take to extend the existing consumption layer with BENDS' rules, a shared glossary, and reviewer checks. The resulting proposal:

BENDS adoption = fill the consumption layer with concrete BENDS rules + a shared glossary + reviewer checks, plus a couple of token diffs. New code stops drifting; existing code migrates opportunistically.

Rather than hand this off and wait, I used Claude Code to turn the proposal directly into a pull request myself — re-engaging technical skills that had been dormant since choosing a design-track career path over a hybrid design/engineering one years earlier. Version control lowered the risk enough to make the attempt; the PR went through normal review and the standing agentic code-review process, came back with corrections and improvements from lead engineers, and was handed off to them to finalize and merge.


An example of a code error when using random hexadecimal values instead of design tokens

An example of a code error when using random hexadecimal values instead of design tokens

Outcome

Within weeks, engineering rolled the checks out in two stages:

  1. Warnings in-IDE when code violated BENDS rules (hardcoded colors, non-token values, etc.)
  2. Build-blocking errors — a change engineering leadership made on their own initiative once they saw how easily warnings got ignored

The design system had gone from a reference document with variable adoption to an enforced constraint in the build pipeline. Ongoing maintenance is now a matter of updating the Figma libraries and the docs repo; the propagation into engineering practice happens automatically through the consumption layer rather than requiring repeated advocacy.


Reflection

The core lesson wasn't about AI tooling specifically — it was that a design system's format should be dictated by how it's actually consumed, not by convention. Figma and Zeroheight are optimized for a human clicking through a library; neither was built to be read the way an LLM reads context. Treating the documentation format itself as a design problem — asking who or what actually consumes it, human or agent — was what unlocked adoption that years of advocacy for the human-facing version hadn't achieved.

Where I'd apply this differently next time:

  • Build the drift-detection automation earlier — it was valuable enough as a QA layer that it shouldn't have been a late addition.
  • Establish authoring conventions for the markdown repo before scale hit, rather than iterating through several bloated design.md drafts first.

Screenshot of the actual design.MD file