What problem does it solve? Design tokens in a monorepo drift out of sync with the Figma source of truth, causing inconsistent colors, spacing, and typography across components. This Skill automates the comparison, update, validation, and compilation of token JSON files so the design system always reflects the latest design decisions. ## Core Features & Use Cases - Figma-to-Repo Sync: Reads variables from Figma (via the optional figma-developer-mcp MCP server or an exported JSON) and updates packages/tokens/src/*.json files accordingly. - Validation & Compilation: Validates JSON syntax with Prettier and Node.js parsing, then compiles tokens with pnpm build:tokens (Style Dictionary) and verifies the React theme build. - Breaking-Change Detection: Flags deleted or renamed semantic tokens in active use and never removes tokens without explicit human confirmation. - Use Case: A designer changes the primary brand color in Figma. You ask the agent to sync the tokens; it updates colors.json and semantico.json, compiles the tokens, and writes a structured diff report to .agents/tokens/token-sync-report.md. ## Quick Start Ask the agent to sync the design tokens from Figma and update the token JSON files in the design-system monorepo.