一键导入
figma-to-code
Fetches Figma designs via MCP and implements them as React components. Use when asked to build, implement, or code a UI from a Figma link or design.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Fetches Figma designs via MCP and implements them as React components. Use when asked to build, implement, or code a UI from a Figma link or design.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Runs automated code reviews using configurable reviewer agents. Use during or after implementation to check code quality, security, and best practices.
Executes an implementation plan by writing code. Use when ready to implement a plan that has been brainstormed, planned, and approved.
Creates concrete implementation plans from brainstormed ideas. Use when ready to turn an idea into actionable steps — after px-brainstorm, before px-implement.
Automates iOS and Android simulators/emulators for mobile app development and testing. Use when the user needs to interact with a mobile simulator, test a mobile app, tap buttons, swipe, type text, take screenshots, or automate any mobile device interaction.
Facilitates idea exploration through conversation. Use when starting a new project, feature, or exploring solutions — before any planning or implementation.
Reviews completed work to document learnings, mistakes, and patterns for future cycles. Use after implementation is done or when reflecting on past work.
| name | figma-to-code |
| description | Fetches Figma designs via MCP and implements them as React components. Use when asked to build, implement, or code a UI from a Figma link or design. |
Translate Figma designs into React components by fetching design data through the Figma MCP server and generating production-ready code.
Set the FIGMA_API_KEY environment variable with a Figma personal access token before using this skill. The token needs read permissions on File content and Dev resources.
Ask the user for a Figma link if one wasn't provided. Links can point to a file, frame, or group. Prefer links to specific frames or groups over full-file links — smaller selections produce better results.
Call the get_figma_data tool with the Figma link. This returns simplified layout and styling metadata (not a screenshot). The data includes:
Before writing code, check the project for:
src/components/, src/ui/, or app/components/Build the React components following these guidelines:
nav, section, button, input) over generic div wrappers.Frame 427 should become meaningful component and class names like ProductCard or pricing-section.After implementation: