code-connect-best-practice

Official

Master Figma Code Connect mappings.

Authorcoinbase
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides clear guidelines and best practices for writing effective property mappings in Figma Code Connect, ensuring seamless integration between design and development.

Core Features & Use Cases

  • Property Mapping Guidance: Learn how to use figma.enum(), figma.boolean(), figma.string(), figma.textContent(), figma.instance(), figma.children(), and figma.nestedProps() correctly.
  • Nested Property Understanding: Differentiate between direct and nested properties in Figma and how to map them accurately.
  • Common Mistakes: Avoid pitfalls like misusing figma.string() for text layers or incorrect property name formatting.
  • Use Case: When developing a new component, use this Skill to ensure your Figma Code Connect mappings are robust and correctly reflect the component's properties and structure.

Quick Start

Consult the documentation for guidance on mapping Figma properties to your React component.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: code-connect-best-practice
Download link: https://github.com/coinbase/cds/archive/main.zip#code-connect-best-practice

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.