Skill Detail

Figma Design Token Extractor

Extracts design tokens from Figma files using the Figma REST API and style-dictionary. Generates CSS custom properties, Tailwind configs, and Swift/Kotlin theme files from Figma components.

Image & Creative AutomationCursor
Image & Creative Automation Cursor Security Reviewed
Tool match: storybook
INSTALL WITH ANY AGENT
npx skills add agentskillexchange/skills --skill figma-design-token-extractor-3 Copy
Works best when you want a reusable capability, not another fragile one-off prompt.
At a glance
Author
Figma
Last updated
Mar 24, 2026
Quick brief

The Figma Design Token Extractor bridges design and development by pulling design tokens directly from Figma files via the Figma REST API. It uses style-dictionary to transform extracted tokens into platform-specific output formats.

How it works

What this skill actually does

The skill connects to Figma files and retrieves color styles, text styles, effect styles, and component properties. It maps Figma style definitions to W3C Design Token Community Group format, creating a canonical token source that feeds into multiple output targets. Supported outputs include CSS custom properties with light/dark theme variants, Tailwind CSS configuration with extended theme values, Swift asset catalogs and UIColor extensions for iOS, and Kotlin compose theme files for Android.

Token synchronization detects changes between Figma file versions and generates diffs showing added, modified, and removed tokens. The extractor handles complex token hierarchies including composite tokens for typography, shadows, and gradients. It generates Storybook documentation pages showcasing all extracted design tokens with live previews.