Install any skill in seconds. Free to start, no credit card required.
Get Started Free →nexu-io/token-map
Map an extracted Figma / source-code token bag onto the active OD design system, producing a deterministic mapping the generate stage can consume.
Passed 17 of 20 test cases with the skill, and 9 of 20 without it.
and 11 more in the full report
10 fixed10 passed either way3 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 10 test cases the skill fixed. Same model, same prompt, with and without the skill.
When processing tokens extracted from a legacy React repository at `code/tokens.json`, what value should be assigned to `sourceKind` in `meta.json`?
| Checked | Without skill | With skill |
|---|---|---|
| The sourceKind field in meta.json is set to code. | Missed | Passed |
The instructions your model reads when the skill loads.
Spec §10 / §21.3.1: every figma-migration / code-migration run crosses the same boundary — "the source has its own tokens; the target uses the active OD design system; we need a deterministic mapping". This atom produces that mapping.
figma/tokens.json from figma-extract (figma-migration), ORcode/tokens.json from design-extract (code-migration).project-cwd/
└── token-map/
├── colors.json # { source: '#hex' | 'tokenName', target: '--ds-token' }[]
├── typography.json # font + size + weight pairings
├── spacing.json # spacing scale crosswalk
├── unmatched.json # { source: ..., reason: 'no-target-equivalent' }[]
└── meta.json # { sourceKind: 'figma' | 'code', generatedAt, atomDigest }
unmatched.json is the audit list a human reviews; the agent must
not invent target tokens silently.
Figma often exports anonymous source names such as color-3,
paint/17, or raw #5B8DEF. Do not ask the user to rename those
before mapping. First infer the semantic role from usage evidence:
Primary,
Selected, Link, Error, Focus, Nav, Button, or CTA.test cases passed, vs 9 / 20 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.