Design System Drift Auditor

Points at a Figma component library and its coded implementation, and classifies every difference as drift, an orphaned concept, or noise, not a plain text diff.

Designer, builder

Solo, with Claude Code

Sep 2026, v1 pipeline

  • Figma MCP
  • Node / Babel AST
  • Claude
Design System Drift Report, top of page, showing the Button component's classified findings with severity badges
Figma libraries and the coded components built from them drift apart, and a plain diff can't tell drift from naming differences and noise.
A click-to-run tool that reads the Figma library and the parsed code, then uses the Anthropic API to classify every mismatch with a severity and a reason.
A live tool that turned two components into 15 classified findings, each with its own severity and reasoning, and caught a bug on its first live run.

It came up while scoping my next project, near a design-systems screening call.

I built it for the portfolio, not the call, and didn't rush it.

Docs came first: a brief, classification rules, and an architecture doc.

The demo pairs a community Figma recreation of shadcn/ui with the original source code.

The recreation may never have matched exactly, so the tool only classifies what's mismatched now.

A hand-written mapping file stands in for Code Connect, which needs a paid seat.

The Figma MCP pulls variant data, and a Babel parser reads the code.

A mechanical diff lists every mismatch, with no judgment.

A classifier sorts each one: drift, orphaned concept, naming difference, or not drift.

Classification runs through the Anthropic API, so every run is a fresh judgment.

One Run Audit button replaced three terminal commands.

The first live run caught a rendering bug, fixed the same session.

It's still tied to one Figma file and one codebase, from a snapshot, not a live fetch.

The parser only reads shadcn/ui's cva() pattern; other styling needs a new adapter.

2
Components audited (Button, Input)
15
Findings, live-classified via API
1
Click to run the full pipeline
1
Bug caught and fixed on first live run

A live, one-click tool that separates fidelity gaps from noise.

It tests a third-party recreation against its source, not a production team's library, and says so.

  • Figma MCP
  • AST Parsing
  • LLM Classification
  • Proof of Concept