figma-implement-design 是什么?
读取Figma指定节点的布局、样式和截图,将设计实现为当前仓库中的产品代码。它优先复用项目已有组件与token,把Figma输出当设计表示而非强制代码风格;交付位置是代码仓库。
中文说明由本站依据来源整理;英文原文保留在页面下方。
适合用在
- 有具体 Figma 节点或设计链接,需要在现有仓库按项目组件、样式和路由约定实现界面代码。
这些情况不适合
- 只要 Figma 画布上的屏幕或组件映射;来源分别将这两类交付物交给 generate-design、code-connect 或 Figma-use 流程。
怎么接入你的 Agent?
- 定位完整 Skill 目录
打开本项目来源,核对
SKILL.md及其引用的脚本和资料。 - 交给你正在用的 Agent
在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。
- 确认识别,再做具体任务
让 Agent 回报安装目录和识别到的名称
figma-implement-design,然后按本页使用示例提供材料。
展开并复制给 Codex 的安装指令
安装并检查 figma-implement-design
请在 Codex 的当前工作环境中安装并检查 figma-implement-design 这个 Skill。
项目身份:openai/skills / figma-implement-design
来源:https://github.com/openai/skills/blob/49f948faa9258a0c61caceaf225e179651397431/skills/.curated/figma-implement-design/SKILL.md
已定位的源文件:skills/.curated/figma-implement-design/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Claude Code 的安装指令
安装并检查 figma-implement-design
请在 Claude Code 的当前工作环境中安装并检查 figma-implement-design 这个 Skill。
项目身份:openai/skills / figma-implement-design
来源:https://github.com/openai/skills/blob/49f948faa9258a0c61caceaf225e179651397431/skills/.curated/figma-implement-design/SKILL.md
已定位的源文件:skills/.curated/figma-implement-design/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Cursor 的安装指令
安装并检查 figma-implement-design
请在 Cursor Agent 的当前工作环境中安装并检查 figma-implement-design 这个 Skill。
项目身份:openai/skills / figma-implement-design
来源:https://github.com/openai/skills/blob/49f948faa9258a0c61caceaf225e179651397431/skills/.curated/figma-implement-design/SKILL.md
已定位的源文件:skills/.curated/figma-implement-design/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 当前 Agent 的安装指令
安装并检查 figma-implement-design
请在 当前 Agent 的当前工作环境中安装并检查 figma-implement-design 这个 Skill。
项目身份:openai/skills / figma-implement-design
来源:https://github.com/openai/skills/blob/49f948faa9258a0c61caceaf225e179651397431/skills/.curated/figma-implement-design/SKILL.md
已定位的源文件:skills/.curated/figma-implement-design/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。装好以后,具体怎么用?
准备哪些材料
- Figma MCP、可访问的含node-id链接或桌面选中节点,以及目标代码库和设计系统。
会得到什么
- 仓库内实现、使用的资产与token映射,以及实际视觉/交互检查结果。
实际使用顺序
- 解析实际文件和节点,读取get_design_context及同节点截图;结果过大时先取metadata再按子节点获取。
- 读取项目组件、样式与路由约定,获取来源资产并复用已有控件,映射token而不是直接贴React/Tailwind输出。
- 对照设计截图检查排版、状态、响应式和资产;设计与项目约定冲突时说明偏离及原因。
从一个具体任务开始
本站根据源文件编写的使用示例,未在本站实际运行。示例中的文件由你提供。
复制一个具体任务
教学示例:用figma-implement-design将我提供链接中的登录表单实现到现有React项目。先读取节点上下文与截图、项目Button/Input与样式token,只做界面不接认证接口;复用已有组件并核对窄屏。不要修改Figma画布,也不创建Code Connect映射。预期得到项目代码和设计对照记录;本站未运行该实现。
使用条件与边界
- 1:1是来源的实现目标,不是本站对自动结果的保证;仍需对照真实截图检查。
常见问题
会直接改Figma设计稿吗?
不会,这是设计转代码流程。画布修改属于figma-use或figma-generate-design等来源。
没有URL能用吗?
桌面MCP支持当前选中节点;远程服务需要可定位的文件和节点链接,不能凭设计名称猜节点。
来源原文与资料状态
- 源文件
- 已保存 SKILL.md,抓取于 2026-11-16T12:36:35.145Z
- 中文使用说明
- 已针对下方源文件版本整理用途、用法和常见问题
- 安装与任务测试
- 本站未执行安装或任务测试
- 来源复核
- 本页中文用法已对照保存版本的完整 SKILL.md 阅读整理
展开 SKILL.md 原文、章节与历史收录资料
skills/.curated/figma-implement-design/SKILL.md · 抓取时间 2026-11-16T12:36:35.145Z
以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。
抓取成功不代表已完成安装或任务测试。
Translates Figma designs into production-ready application code with 1:1 visual fidelity. Use when implementing UI code from Figma files, when user mentions "implement design", "generate code", "implement component", provides Figma URLs, or asks to build components matching Figma specs. For Figma canvas writes via `use_figma`, use `figma-use`.
查看源文件章节 / Source sections
- 原文:Implement Design
- 原文:Overview
- 原文:Skill Boundaries
- 前置条件 / Prerequisites
- 原文:Required Workflow
- 原文:Step 1: Get Node ID
- 原文:Option A: Parse from Figma URL
- 原文:Option B: Use Current Selection from Figma Desktop App (figma-desktop MCP only)
- 原文:Step 2: Fetch Design Context
- 原文:Step 3: Capture Visual Reference
- 原文:Step 4: Download Required Assets
- 原文:Step 5: Translate to Project Conventions
- 原文:Step 6: Achieve 1:1 Visual Parity
- 原文:Step 7: Validate Against Figma
- 原文:Implementation Rules
- 原文:Component Organization
- 原文:Design System Integration
- 原文:Code Quality
- 示例 / Examples
- 原文:Example 1: Implementing a Button Component
- 原文:Example 2: Building a Dashboard Layout
- 原文:Best Practices
- 原文:Always Start with Context
- 原文:Incremental Validation
- 原文:Document Deviations
- 原文:Reuse Over Recreation
- 原文:Design System First
- 原文:Common Issues and Solutions
- 原文:Issue: Figma output is truncated
- 原文:Issue: Design doesn't match after implementation
原文:Overview
This skill provides a structured workflow for translating Figma designs into production-ready code with pixel-perfect accuracy. It ensures consistent integration with the Figma MCP server, proper use of design tokens, and 1:1 visual parity with designs.
原文:Skill Boundaries
- Use this skill when the deliverable is code in the user's repository. - If the user asks to create/edit/delete nodes inside Figma itself, switch to [figma-use](../figma-use/SKILL.md). - If the user asks to build or update a full-page screen in Figma from code or a description, switch to [figma-generate-design](../figma-generate-design/SKILL.md). - If the user asks only for Code Connect mappings, switch to [figma-code-connect-components](../figma-code-connect-components/SKILL.md). - If the user asks to author reusable agent rules (`CLAUDE.md`/`AGENTS.md`), switch to [figma-create-design-system-rules](../figma-create-design-system-rules/SKILL.md).
前置条件 / Prerequisites
- Figma MCP server must be connected and accessible - User must provide a Figma URL in the format: `https://figma.com/design/:fileKey/:fileName?node-id=1-2` - `:fileKey` is the file key - `1-2` is the node ID (the specific component or frame to implement) - **OR** when using `figma-desktop` MCP: User can select a node directly in the Figma desktop app (no URL required) - Project should have an established design system or component library (preferred)
原文:Required Workflow
**Follow these steps in order. Do not skip steps.**
原文:Option A: Parse from Figma URL
When the user provides a Figma URL, extract the file key and node ID to pass as arguments to MCP tools. **URL format:** `https://figma.com/design/:fileKey/:fileName?node-id=1-2` **Extract:** - **File key:** `:fileKey` (the segment after `/design/`) - **Node ID:** `1-2` (the value of the `node-id` query parameter) **Note:** When using the local desktop MCP (`figma-desktop`), `fileKey` is not passed as a parameter to tool calls. The server automatically uses the currently open file, so only `nodeId` is needed. **Example:** - URL: `https://figma.com/design/kL9xQn2VwM8pYrTb4ZcHjF/DesignSystem?node-id=42-15` - File key: `kL9xQn2VwM8pYrTb4ZcHjF` - Node ID: `42-15`
原文:Option B: Use Current Selection from Figma Desktop App (figma-desktop MCP only)
When using the `figma-desktop` MCP and the user has NOT provided a URL, the tools automatically use the currently selected node from the open Figma file in the desktop app. **Note:** Selection-based prompting only works with the `figma-desktop` MCP server. The remote server requires a link to a frame or layer to extract context. The user must have the Figma desktop app open with a node selected.
文件 SHA256:63f3d12d444547bbf68c10a12982b1f42e0f6e26fc074324564a13184d4b15ad
仓库许可证记录:未提供;not-established,查看来源。
Translates Figma designs into production-ready application code with 1:1 visual fidelity. Use when implementing UI code from Figma files, when user mentions "implement design", "generate code", "implement component", provides Figma URLs, or asks to build components matching Figma specs. For Figma canvas writes via `use_figma`, use `figma-use`.
历史收录数据
| 来源仓库 | openai/skills |
|---|---|
| Skill源路径 | skills/.curated/figma-implement-design/SKILL.md |
安装前请让使用的Agent先读取这个SKILL.md及其所在目录,确认依赖和所需权限。此页不生成未经来源验证的安装命令。
