southleft/figma-console-mcp-skills/figma-analyze-component-set
Analyze a Figma COMPONENT_SET as a state machine for code generation — extract variant axes (state/size/etc.), map state variants to CSS pseudo-classes (hover→:hover, focus→:focus-visible, disabled→:disabled, error→[aria-invalid]), and compute per-variant visual diffs (only what changes per state). Use when generating an interactive component from a Figma variant set — triggers: 'analyze this component set', 'turn these variants into CSS states', 'generate a button/input/checkbox from Figma vari
Agent skill · version 0.0.0-main.1795925287.g807fcc1 · from southleft/figma-console-mcp-skills
Install
npx yarkr-cli add skill:southleft/figma-console-mcp-skills/figma-analyze-component-setWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:southleft/figma-console-mcp-skills/figma-analyze-component-set
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:southleft/figma-console-mcp-skills/figma-analyze-component-setOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:southleft/figma-console-mcp-skills/figma-analyze-component-setWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.