figma.create-connect

Generate Figma Code Connect mapping files for React components.

493|101|Updated Nov 8, 2024
One-click install
npx skills add https://github.com/coinbase/cds --skill figma-create-connect
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: figma.create-connect
Source: https://github.com/coinbase/cds/tree/main/.claude/skills/figma.create-connect
Command: npx skills add https://github.com/coinbase/cds --skill figma-create-connect

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of Figma Code Connect mapping files, streamlining the process of connecting design components to their code implementations.

Core Features & Use Cases

  • Automated Mapping File Generation: Creates *.figma.tsx files based on Figma component properties and React component source code.
  • Code Connect Integration: Facilitates seamless integration between Figma designs and React components using the Code Connect API.
  • Use Case: A designer needs to connect a new button component in Figma to its React implementation. This Skill can generate the necessary mapping file, saving developer time and ensuring consistency.

Quick Start

Use the figma.create-connect skill to generate a Code Connect mapping file for the Button component using the provided Figma URL.

Frequently Asked Questions about figma.create-connect

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Figma Code Connect mapping files for React components?

To generate Figma Code Connect mapping files, analyze Figma component properties and React source code to create *.figma.tsx files, ensuring accurate integration between design and development.

What is Figma Code Connect used for in a design system?

Figma Code Connect is used to connect design components to their code implementations by generating mapping files that link Figma properties directly to React component variants and props.

Do I need Figma MCP tools to create React component mappings?

Yes, generating Code Connect mapping files requires access to Figma MCP tools to analyze Figma component properties and adhere to best practices for mapping component props and variants.

Can I automate connecting Figma designs to React source code?

You can automate connecting Figma designs to React source code by using a skill that analyzes component properties and generates the necessary *.figma.tsx files, saving developer time and ensuring consistency.

How do I map Figma component variants to React props?

Map Figma component variants to React props by analyzing both the Figma component properties and the React component source code, then generating a *.figma.tsx file that adheres to Code Connect best practices.