figma_ds_verify
Verifies an extracted design system package's readiness before Figma handoff or push by checking DTCG token parsing, alias resolution, CSS variable use, stories, barrels, and porting status.
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). |