migrate-component-docs-from-figma
Installation
SKILL.md
Migrate Docs from Figma
Extract content from Figma documentation layers and produce SEED Design component guideline MDX files.
Inputs
Two inputs are required:
- Figma node URL(s): The URL(s) of the Figma layer(s) to document. Ask the user if not provided.
- File name: The MDX file name (e.g.,
radio,action-button).
Target file: docs/content/components/{file-name}.mdx — the directory is flat and listed
alphabetically (category subfolders were removed in #1712).
Step 1: Extract content from Figma
Call get_node_info on each provided Figma node URL to retrieve text content.