figma_ds_verify
Run deterministic fidelity evals on an extracted design-system package to gate handoff or Figma push, validating token parsing, alias resolution, CSS var usage, and component file completeness.
Instructions
Run the deterministic fidelity evals on an extracted design system package — the governance gate before handing off or pushing to Figma. Checks: tokens.json parses as DTCG and every alias resolves (import-ready); no quoted CSS functional expressions in generated token files (kills transitions); every var() consumed in component/preview CSS resolves in the workshop; every component directory has a stories file and index barrel; every portable inventory component has a porting status. Each check encodes a failure class found in real extraction runs. Also reports Figma round-trip readiness with the exact figma_import_tokens call for design-led orgs (ask the user code-led vs design-led). Local Mode only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outDir | Yes | The design-system package dir (same outDir as figma_ds_analyze). |