figma-core-workflow-a
Installation
SKILL.md
Figma Core Workflow A -- Design Token Extraction
Overview
The primary workflow for Figma API integrations: extracting design tokens (colors, typography, spacing) from a Figma file and converting them to CSS custom properties, JSON tokens, or Tailwind config.
Prerequisites
- Completed
figma-install-authsetup - A Figma file with published styles or variables
FIGMA_PATandFIGMA_FILE_KEYenv vars set
Instructions
Step 1: Fetch Styles from a File
import { FigmaClient } from './figma-client';