What problem does it solve?
It eliminates the manual, error-prone work of translating a Figma token JSON export into the exact DESIGN.md token classes and var(--*) semantic tokens your spec process expects.
Core Features & Use Cases
- Deterministic token mapping: Converts each Figma variable into an exact DESIGN.md destination (either a semantic var like var(--bg-surface) or a generated class like .text-heading-md), without fuzzy matching.
- Theme gap detection: Flags any Figma variable that has no exact equivalent in DESIGN.md as a theme gap and suggests the closest primitive placeholder for follow-up tokenization.
- Workflow-ready outputs: Produces two stdout Markdown tables for token mapping and theme gaps to be directly consumed during component/spec creation.
Quick Start
Use the token-map skill with the JSON blob from figma-discover and the canonical .claude/docs/DESIGN.md to generate the token mapping and theme gaps tables.