discover-and-convert

Identify and convert Figma layers into reusable components with saved specs.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/ThanapatJutha/th_gene2-figma-mcp --skill discover-and-convert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: discover-and-convert
Source: https://github.com/ThanapatJutha/th_gene2-figma-mcp/tree/main/packages/gene2-figma-mcp/skills/discover-and-convert
Command: npx skills add https://github.com/ThanapatJutha/th_gene2-figma-mcp --skill discover-and-convert

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the identification and conversion of Figma page content into reusable components to streamline design-to-code handoffs.

Core Features & Use Cases

  • Identify potential component candidates by scanning the page (frames, groups, and shapes).
  • Convert eligible nodes into components and preserve dimensions and mappings.
  • Save component specs and mappings to the project's figma sync directory for consistent code-generation.

Quick Start

Open a Figma page, confirm the candidate components, and run the convert command to generate component specs and mappings.

Frequently Asked Questions about discover-and-convert

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

FAQPage Schema
How do I convert Figma layers into reusable components automatically?

To convert Figma layers into reusable components, this Skill scans your page to identify candidate frames, groups, and shapes, then promotes eligible nodes into components while preserving dimensions and saving mappings to your sync directory.

What is Figma component discovery and how does it streamline design-to-code handoffs?

Figma component discovery is the automated process of scanning a page to identify potential component candidates. It streamlines handoffs by converting eligible layers into reusable components and saving component specs for consistent code-generation.

How do I map Figma design system components for code generation?

You map Figma design system components by running the conversion process to promote candidate nodes, which saves component specs and mappings directly to the project's figma sync directory to guide consistent code generation.

Do I need specific Figma plugins to identify and promote component candidates?

You need bridge tools that support listing layers, creating components, saving specs, and saving connections. These allow the Skill to reliably identify candidate nodes, promote them, and preserve dimensions without manual setup.

Can I preserve Figma layer dimensions when converting shapes to components?

Yes, dimension preservation checks are applied during the conversion of Figma layers. This ensures that when eligible nodes are promoted into reusable components, their original dimensions and mappings are accurately maintained.

What are the limitations of automating Figma component creation from page content?

Automating Figma component creation relies on scanning frames, groups, and shapes to find candidates, but requires specific bridge functions for reliable operation. Complex design structures may need manual review before final mapping and spec saving.