Order, restored
in one click.

Every design file drifts — detached components, off-system buttons, typography a pixel away. I designed and built a Figma plugin that finds the drift, explains it, and helps designers repair the file safely before handoff.

scanning 1,438 layers…

5approved libraries
6,488component keys bundled
23text styles checked
0network calls
Role
Product design, UX systems, interaction design, AI-assisted implementation
Team
Audible Design Systems
Contribution
Concept, design, build direction, testing, iteration, release
Surface
Figma plugin
  • Built independently with AI assistance
  • Released internally at Amazon
  • Validated in 1:1 sessions with working designers

01The problem

Death by a thousand almost-right buttons.

Mosaic is Audible’s design system; the plugin runs inside Figma and checks files against what Mosaic actually publishes.

On the Design Systems team we kept seeing the same handoffs: detached components, off-library elements, mismatched text styles. Not carelessness — no one can eyeball thousands of possible system references across 1,400 layers and catch a one-pixel deviation.

Each miss was tiny. Together they became churn: engineers building the wrong button, QA flagging inconsistencies, designers hunting through layers for the one detached tile among nine that looked identical.

  • Hoursto clean up one legacy file by hand
  • Several roundsof design QA before a typical handoff
  • Five librariesand every text style to memorize, per designer
  • No toolthat knew what “correct” meant for Mosaic

Can you spot the off-system button?

One of these four isn’t from the library.

 

02The difference

Without, then with.

Observed on real files during rollout.

Legacy file cleanup

BeforeHoursmost of a morning
AfterMinutesa scan and a click

Design QA before handoff

BeforeSeveral review cycles
AfterTypically one

Finding off-library components

BeforeManual checkingevery layer
AfterOne clickone action

03What it knows

Six ways a file drifts. One scan.

Every check traces back to something Mosaic actually publishes.

Is it from an approved library?
Every instance resolves to an exact published key across the five Mosaic libraries — or it’s flagged.
Is it what it says it is?
The layer is compared with what’s published for its key, so renamed and deprecated components surface.
Does the approved component support this configuration?
A swap is checked for variant fit, and warns before anything visually changes.
Does the text match a Mosaic style?
Type is matched by its raw properties against every Mosaic text style; linked fill, stroke and effect styles are verified too.
Is there a better system pattern?
Industry terms map to documented Mosaic equivalents — Modal → Dialog — as information, never as failure.
Can it be fixed without changing intent?
Only when the fix is deterministic; anything else is previewed first.

“Automation where confidence is high. Human judgment where it matters.”

The rule every fix follows

04The product

See the linter at work.

A working recreation of the plugin. The file on the left is fictional, seeded with the real kinds of mistakes; the first scan runs on its own, and everything after it is yours.

Figma — Home · iOS (simulation)

continue listening

The Silent
Library

Pick up where you left off — 4 hrs 12 min remaining in chapter 8.

The Paper
Harbor
A Study of
Rivers
The Glass
Orchard
Browse originals
Mysteries Start free trial

Results sync both ways — select a card, or select a flagged layer

Mosaic Design System Linter

Mosaic Design System Linter

Design system, in check.

Mosaic Design System Linter v1.5.0

Real plugin, real file.

The shipped plugin running inside Figma.

05Product decisions

Six identical problems should read as one.

Real files repeat their mistakes: a copied rogue component shows up six, ten, forty times, and a list that repeats itself trains people to stop reading it. One finding states the rule, the reason and the library once; expand it to review each occurrence, act on instances individually, or ignore them all together.

How it decides what to touch

Auto
Only deterministic fixes — a known key, a known style, a count you can see.
Review
Anything that could change appearance is previewed first, with a warning when variants don’t match.
Control
Every finding is explained, ignorable and undoable.

Severity stays quiet: errors mark risk, warnings ask for review, guidelines teach, and green appears only when something actually changed.

06How it works

How a file gets linted.

All validation runs locally, starts only when requested, and lands on Figma’s native undo stack.

1

Scan

Walk every visible node on the page, yielding to the UI whenever a frame runs long.

2

Diagnose

Check each layer against the five approved libraries by exact published key, then classify it as an error, a warning or a guideline.

3

Group

Consolidate identical findings into one row with an instance count.

4

Resolve

Fix deterministic issues automatically; preview anything that could change appearance.

5

Rescan

Verify, and repeat until the file reports No issues found.

Trust keys, not names

Figma has no API to list a team library’s components, and names change. The registry began as 46 keys collected by hand from Figma’s console; today a maintainer tool snapshots every published key from the five approved libraries into the plugin at release, so provenance is exact and the runtime needs no credentials.

// Five approved libraries, bundled at release
const BUNDLED_LIBRARIES = [
  'ui', 'mobile', 'beta', 'icons', 'styles'
];

// 6,488 exact component keys → library
const COMPONENT_KEY_TO_LIBRARY = new Map([
  ['9684d18f…', 'mobile'], /* …6,487 more */
]);
Never block the canvas
The scan yields on elapsed time rather than pausing every N nodes, so the window can be moved, resized or closed mid-scan — even on the largest files in the org.
Match type by properties
Text is compared by raw size, weight and line-height against every Mosaic style in one lookup, so manually typed “almost right” text is caught — not just unlinked styles.

A designer, an AI, and 31 saved builds.

I’m a UX designer, not a software engineer. The plugin was built through AI-assisted development: I described intent in plain language, tested the generated code on real Figma files, and iterated.

I owned the product definition, the UX decisions, the interaction model, the testing, the quality bar and the release calls. AI accelerated the implementation.

  1. Describe“Flag any component that isn’t from these two libraries.”
  2. GenerateThe implementation is written from that intent.
  3. Test in FigmaOn real files, against real mess.
  4. ListenSit with the designers who use it.

How it evolved

  1. Prove it

    Dec 2025Detection

    One evening. One Button rule. The idea worked.

  2. Make it a product

    Jan 2026Remediation

    The full validation engine, the exact-key architecture, component swaps with undo, and a first usable interface.

  3. Ship and listen

    Feb 2026Guidance

    Released internally at Amazon — then patched twice in 24 hours when a Figma permission change froze it at launch. Six 1:1 sessions drove Preview swap, the summary bar, loading states and safer remediation: six versions in seven days.

  4. Scale the system

    Mar 2026 → nowScale

    A 6,488-key registry across five libraries, 23 text styles, grouped findings, multi-library scoping, and scans that stay responsive on thousand-component files.

07Designed with designers

They said. We shipped.

Every feature was pressure-tested in 1:1 sessions with working designers.

“I’m scared of clicking it — what is it going to fix?”

Product designer
“Fix” became “Preview swap”

Same function; a preview of the correct component now loads before anything changes.

“I can’t move the window while it’s working.”

Product designer
Scanning never blocks

The scan yields to the UI, so the window can be moved, resized or closed mid-scan.

“It doesn’t say why it’s wrong.”

Design-systems partner
Explain-first findings

Every card states the reason in plain language, then which fix applies and what it will do.

Every session ended on the same principle: the tool should assist, not judge.

08Results

From side project to shared infrastructure.

Released internally at Amazon and distributed across the design organization with no install steps and no onboarding docs: open Figma, run the linter.

Cleanup
Hours of manual work became a scan and a click.
Design QA
Several review rounds became typically one — issues are caught before engineering sees the file.
Coverage
All five approved libraries, checked entirely locally.
Trust
Nothing it does is irreversible — which is why people let it run.

The linter turned design-system compliance from a policing conversation into a self-serve habit, and gave the Design Systems team its first real view of on-system versus custom usage.

Next

Token validation
Design systems are moving to tokens; the linter is being extended to check token usage alongside components, in the same pass.
Override preservation
Swaps can still lose custom text and colors when layers don’t map one to one — the most-requested fix, and the hardest.
Rule intelligence exploratory
Live documentation integration and property-level validation — directions, not promises.

What it taught me

AI changed who gets to build.
The person closest to the problem could ship the solution directly. The judgment stayed mine; the syntax became a conversation.
Fast and calm are product features.
A scan that never blocks was the first request from every designer. A tool that hesitates gets closed.
Assist, don’t judge.
Adoption came from tone: ignorable findings, visible reasons, universal undo.

A design system only holds if it’s easy to stay inside it. This started as a way to stop losing hours to almost-right buttons; it ended up making the right thing the fastest thing to do.