Export tokens
Export design tokens from a Figma file to CSS, Tailwind, or JSON formatFrom its SKILL.md
npx -y skills add bromso/metapowers --skill export-tokensAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
0.9 KB, 216 tokens by cl100k_base, as published. Nobody here has run it
Export Tokens
Export design tokens from the Figma design system to a code-ready format.
Process
-
Identify the Figma file. The user should provide a Figma file key or URL. Extract the file key from the URL if needed (the key is the string between
/design/or/file/and the next/). -
Fetch design tokens:
- Call
figma_get_variableswith the file key - If the user specified a format, pass
exportFormatas "css", "tailwind", or "json" - Default to "css" if no format is specified
- Call
-
Present the exported tokens to the user.
-
Optionally save to file. If the user requests, write the output to a file:
- CSS:
tokens.css - Tailwind:
tailwind.tokens.json - JSON:
tokens.json
- CSS:
Output
The exported tokens displayed to the user and optionally saved to a file.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.