A design system is only useful if people trust it. Developers trust it when they can check it. I am a designer, not an engineer, so I cannot read every line of code to see if it matches Figma. I need checks that tell me, in plain words, that it does.

Calipers measuring three blocks that carry the same pattern.

The four checks

Give every component a metadata file

Drift only works if the code remembers what Figma said. So each component gets a small metadata file next to it. It records the Figma component set IDs, how each variant property maps to a prop, the invalid combinations, the tokens it uses and any values that are not yet tied to a token.

When Figma changes, the check can read that file and tell me exactly what moved.

Questions the checks must answer

Where it goes wrong

Passing tests do not prove the screen looks right, so I still look at the preview next to Figma. Values that are not tied to a token hide inside components, which is why the metadata lists them. And accessibility sizes get forgotten, so I test the largest text size on purpose.

How to start

The prompt in the Figma and code article sets all of this up, one component at a time, and ends with a quality bar made of the questions above.

Next · MethodPrompting Figma's AI agent for exact screensAll writing