figma avatar

Figma Code Connect Components

This skill writes and maintains Figma Code Connect template files that map your published Figma components to actual code snippets in your codebase. It parses Figma URLs, discovers unmapped components through the Figma MCP server, fetches component properties like variants and boolean toggles, then generates the .figma.ts template files with the correct property mapping syntax. The workflow is methodical: it'll search your component directories to find matching React components by comparing prop interfaces, confirm the match with you, then output a template that uses figma.getString(), figma.getEnum(), and friends to translate design properties into JSX. Requires an Enterprise plan and the Figma MCP server running. Useful if you're keeping design tokens and component APIs in sync without writing boilerplate by hand.

skills.sh installs
330
GitHub stars
2.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add figma/mcp-server-guide --skill figma-code-connect-components --agent claude-code

Installs into .claude/skills of the current project.

Files

This skill writes and maintains Figma Code Connect template files that map your published Figma components to actual code snippets in your codebase. It parses Figma URLs, discovers unmapped components through the Figma MCP server, fetches component properties like variants and boolean toggles, then generates the .figma.ts template files with the correct property mapping syntax. The workflow is methodical: it'll search your component directories to find matching React components by comparing prop interfaces, confirm the match with you, then output a template that uses figma.getString(), figma.getEnum(), and friends to translate design properties into JSX. Requires an Enterprise plan and the Figma MCP server running. Useful if you're keeping design tokens and component APIs in sync without writing boilerplate by hand.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/figma/mcp-server-guide
Categories
Frontend Development, Backend & APIs, Documentation, AI & Agent Building, Design & UI/UX
First seen
Jun 3, 2026

More from figma/mcp-server-guide

All 14
1patricio0312rev avatarstorybook-setuppatricio0312rev/skillsSets up Storybook for component documentation with controls, actions, accessibility testing, and visual regression. Use when users request "Storybook setup", "c330skills.sh installs
2patricio0312rev avatarcore-web-vitals-tunerpatricio0312rev/skillsSystematically improves Largest Contentful Paint (LCP), Interaction to Next Paint (INP), and Cumulative Layout Shift (CLS) with prioritized fixes and verificati319skills.sh installs
3pproenca avatarios-design-systempproenca/dot-skillsClinic-architecture-aligned iOS design system engineering for SwiftUI (iOS 26 / Swift 6.2) covering token architecture, color/typography/spacing systems, compon319skills.sh installs
4borghei avatarsenior-fullstackborghei/claude-skillsFullstack development toolkit with project scaffolding for Next.js/FastAPI/MERN/Django stacks and code quality analysis. Use when scaffolding new projects, anal318skills.sh installs
5onewave-ai avatardesign-system-generatoronewave-ai/claude-skillsCreate design systems with tokens, components, and documentation. Use when building design systems, creating component libraries, or establishing design tokens.317skills.sh installs
6onewave-ai avatarerror-boundary-creatoronewave-ai/claude-skillsCreate error boundaries, error handling, and fallback UIs for React applications. Use when implementing error handling, creating fallback components, or setting311skills.sh installs