将 Figma 设计组件与代码组件建立映射,便于设计与实现保持一致。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "figma-code-connect-components" 技能: 1. 下载 https://raw.githubusercontent.com/openai/skills/main/skills/.curated/figma-code-connect-components/SKILL.md 2. 保存为 ~/.claude/skills/figma-code-connect-components/SKILL.md 3. 装好后重载技能,告诉我可以用了
This skill helps you connect Figma design components to their corresponding code implementations using Figma's Code Connect feature. It analyzes the Figma design structure, searches your codebase for matching components, and establishes mappings that maintain design-code consistency.
get_code_connect_suggestions + send_code_connect_mappings workflows.https://figma.com/design/:fileKey/:fileName?node-id=1-2
node-id parameter. Code Connect mapping will fail without it.figma-desktop MCP: User can select a node directly in the Figma desktop app (no URL required)Follow these steps in order. Do not skip steps.
Call get_code_connect_suggestions to identify all unmapped components in a single operation. This tool automatically:
figma-desktop MCP (no URL provided)If the figma-desktop MCP server is connected and the user has NOT provided a Figma URL, immediately call get_code_connect_suggestions. No URL parsing is needed — the desktop MCP server automatically uses the currently selected node from the open Figma file.
Note: The user must have the Figma desktop app open with a node selected. fileKey is not passed as a parameter — the server uses the currently open file.
Parse the URL to extract fileKey and nodeId, then call get_code_connect_suggestions.
IMPORTANT: When extracting the node ID from a Figma URL, convert the format:
node-id=1-2nodeId=1:2Parse the Figma URL:
https://figma.com/design/:fileKey/:fileName?node-id=1-2:fileKey (segment after /design/)1-2 from URL, then convert to 1:2 for the toolget_code_connect_suggestions(fileKey=":fileKey", nodeId="1:2")
Handle the response:
For each unmapped component returned by get_code_connect_suggestions, search the codebase for a matching code component.
What to look for:
…
用于构建、脚手架生成、重构并排查 ChatGPT Apps SDK 应用问题。
帮助你基于接口文档或脚本快速生成可组合的命令行工具
帮助你将应用与基础设施部署、发布并托管到 Cloudflare 平台。
帮助用户把模糊想法转成具体、可衡量的目标与成功标准。
为项目代码库生成定制化设计系统规则,统一 Figma 到代码协作规范。
帮助你构建、评审与重构 ASP.NET Core Web 应用及架构方案
将 Figma 设计稿高保真转换为可直接落地的前端界面代码
根据代码库在 Figma 中创建或更新专业级设计系统与组件库
将代码或页面描述转成Figma完整界面,并按设计系统逐段搭建设计稿
连接 Figma 获取设计上下文与资源,并将节点高效转换为生产代码。
读取 Figma 设计稿并辅助将界面结构快速转换为代码实现
一键创建新的 Figma 设计或 FigJam 空白文件,便于快速开始协作创作。