Design systems don't fail loudly — they leak: a hardcoded hex here, a detached instance there, a fourth slightly-different Card. This playbook sweeps your libraries and product files for off-token values, detached instances and near-duplicate components, and turns the findings into a prioritized consolidation plan with evidence links.
Workflow area: Design Systems · Tier: Core · Hands-on time: ~35 minutes
Drift is compound interest working against you. Every off-token color is a value the next theme change misses; every detached instance is a component update that will silently not arrive; every near-duplicate is a decision future designers must re-make. None of it is visible in any single file — drift is a population-level problem, which is why manual audits die of tedium halfway through. AI changes the economics of the sweep: the Figma agent and analytics can enumerate the population, and a model can cluster the findings into patterns. What they cannot do is decide which debt is worth paying down first — that is a judgment about roadmap, risk and effort, and it is the audit's actual product. And with your system now feeding AI generation (pb-26, pb-38), drift compounds twice: machines trained on a leaky system generate leaks at machine speed.
Define the scope and pull the instrumentation. Choose the library plus the three to five highest-traffic product files — auditing everything first time out produces a report too big to act on. Pull Figma library analytics for the baseline numbers: component insert and detach counts, and which teams use what. Detach counts are your first drift map — a component with a high detach rate is either broken or missing a variant people need.
Sweep for off-token values. Run the Figma agent (or an audit plugin) over the scoped files with instructions per category: "Find every fill, stroke and text style not bound to a library token or style — list file, layer name, raw value, and frequency." Do the same for spacing and corner radii against your scale. Export the raw findings.
Cluster the raw findings into patterns with a model. Paste the export into Claude:
These are raw drift findings from our design-file audit: off-token
values with file, layer, value, and count. Token scale attached.
1. Cluster them: which off-token values are NEAR-TOKENS (within
rounding of a real token — likely sloppiness) vs. NEW VALUES
(used repeatedly — likely an unmet need) vs. ONE-OFFS?
2. For repeated new values, infer what need the token scale isn't
meeting (e.g. #6B6F76 used 41 times ≈ a missing mid-gray text
token).
3. Rank clusters by blast radius: count × how central the files are.
Output a table. Do not merge distinct values, and keep every count.
This reframing is the audit's pivot: near-tokens are hygiene fixes, but repeated new values are the system telling you what it is missing. Drift is feedback, not just crime.
Hunt the near-duplicates and detachment hotspots. Screenshot suspect component sets side by side and ask the model: "These five card-like components come from our files — describe the actual differences in structure, props and use. Which are genuine variants and which are re-inventions?" Cross-reference with the analytics: a component that was re-invented three times and detaches constantly is one component with a design problem, not four findings.
Write the consolidation plan — prioritized, evidenced, sized. The deliverable is a plan someone can execute:
# FINDING EVIDENCE IMPACT EFFORT ACTION
1 #6B6F76 used 41x in 3 files [links to 5 cases] High Low Add text-secondary
token; migrate
2 Card re-invented 4x [component links] High High Consolidate to 1 +
2 variants; deprecate
3 Button detach rate 22% analytics + cases High Med Add icon-trailing
variant (top detach
reason)
4 Radius 6px in old files [links] Low Low Batch-fix via agent
Every row links to live examples — evidence is what survives the prioritization meeting. Sequence quick wins first; momentum funds the big consolidations.
Product files in the audit scope may contain client work or unreleased features — keep sweeps inside your Figma workspace and organization-approved AI tools, and strip client-identifying screenshots before pasting findings into external models.
Audit drift as feedback, not just failure — the repeated off-token values and detach hotspots are your system's users telling you what it lacks, and the prioritized, evidence-linked plan is how that signal becomes budget instead of guilt.