What problem does it solve?
This Skill helps you create and maintain Figma Code Connect templates that accurately link published Figma components to real code components, reducing manual mapping work and keeping design-to-code documentation in sync.
Core Features & Use Cases
- Figma URL parsing: Extracts the file key and node ID from a Figma selection link so the correct design target can be mapped.
- Component discovery: Uses Figma MCP tools to find published, unmapped components inside a selection and stops early when nothing is eligible.
- Property-to-prop mapping: Reads component properties such as text, booleans, variants, instance swaps, and slots, then translates them into valid template code.
- Nested component handling: Dynamically resolves child instances and connected templates so composed components render correctly without hardcoding.
- Validation workflow: Checks coverage, typing, interpolation rules, and nesting behavior to prevent broken or incomplete Code Connect templates.
- Use case: A designer shares a Figma component frame and you turn it into a correctly wired .figma.ts template for a matching Button, Card, or Input component in the codebase.
Quick Start
Give me the Figma component link, identify the matching code component, and generate the Code Connect template file with correct property mappings.