Tony GorbProduct Designer & Builder

Tokens to Figma

Push a codebase's design tokens into Figma as variables and modes.

Install for
$ npx skills add tonygorb/skills --skill tokens-to-figma

Pick your agents from a list.

Your agent uses it when you say

  • “sync tokens to Figma”
  • “create Figma variables from code”
  • “push design tokens to Figma”

What it does

Mirror the code's tokens in a Figma file as variables: primitives as raw values, semantic tokens as aliases with a Light and a Dark mode. Code stays the source of truth. Figma follows it, by name, and every write is checked by reading it back.

How it works

  1. 1Read the tokens from code
  2. 2Build the name map
  3. 3Inspect the file
  4. 4Plan the collections
  5. 5Write, one collection per call
  6. 6Read back after every call
  7. 7Styles, only if asked
  8. 8Report