跳到正文
cccskills
免费在 GitHub 公开

figma

Turn a linked Figma frame or layer into application code using the Figma MCP server, a connection for accessing design data. Retrieve design details, screenshots, and assets, reuse existing project components, and compare the implementation with the design.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Use the Figma MCP server to fetch design context, screenshots, variables, and assets from Figma, and to translate Figma nodes into production code. Trigger when a task involves Figma URLs, node IDs, design-to-code implementation, or Figma MCP setup and troubleshooting.

集成工具Figma
查看安装方法

适用场景

  • Implementing a screen from a Figma frame link
  • Retrieving images and SVG assets from a design
  • Adapting a design to existing project components
  • Troubleshooting a Figma MCP connection

包含的文件(8)

  • SKILL.md3.1 KB
  • agents/openai.yaml457 B
  • assets/figma-small.svg810 B
  • assets/figma.png1.6 KB
  • assets/icon.svg964 B
  • LICENSE.txt440 B
  • references/figma-mcp-config.md2.4 KB
  • references/figma-tools-and-prompts.md2.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Figma MCP

Use the Figma MCP server for Figma-driven implementation. For setup and debugging details (env vars, config, verification), see references/figma-mcp-config.md.

Figma MCP Integration Rules

These rules define how to translate Figma inputs into code for this project and must be followed for every Figma-driven change.

Required flow (do not skip)

  1. Run get_design_context first to fetch the structured representation for the exact node(s).
  2. If the response is too large or truncated, run get_metadata to get the high-level node map and then re-fetch only the required node(s) with get_design_context.
  3. Run get_screenshot for a visual reference of the node variant being implemented.
  4. Only after you have both get_design_context and get_screenshot, download any assets needed and start implementation.
  5. Translate the output (usually React + Tailwind) into this project's conventions, styles and framework. Reuse the project's color tokens, components, and typography wherever possible.
  6. Validate against Figma for 1:1 look and behavior before marking complete.

Implementation rules

  • Treat the Figma MCP output (React + Tailwind) as a representation of design and behavior, not as final code style.
  • Replace Tailwind utility classes with the project's preferred utilities/design-system tokens when applicable.
  • Reuse existing components (e.g., buttons, inputs, typography, icon wrappers) instead of duplicating functionality.
  • Use the project's color system, typography scale, and spacing tokens consistently.
  • Respect existing routing, state management, and data-fetch patterns already adopted in the repo.
  • Strive for 1:1 visual parity with the Figma design. When conflicts arise, prefer design-system tokens and adjust spacing or sizes minimally to match visuals.
  • Validate the final UI against the Figma screenshot for both look and behavior.

Asset handling

  • The Figma MCP Server provides an assets endpoint which can serve image and SVG assets.
  • IMPORTANT: If the Figma MCP Server returns a localhost source for an image or an SVG, use that image or SVG source directly.
  • IMPORTANT: DO NOT import/add new icon packages, all the assets should be in the Figma payload.
  • IMPORTANT: do NOT use or create placeholders if a localhost source is provided.

Link-based prompting

  • The server is link-based: copy the Figma frame/layer link and give that URL to the MCP client when asking for implementation help.
  • The client cannot browse the URL but extracts the node ID from the link; always ensure the link points to the exact node/variant you want.

References

  • references/figma-mcp-config.md — setup, verification, troubleshooting, and link-based usage reminders.
  • references/figma-tools-and-prompts.md — tool catalog and prompt patterns for selecting frameworks/components and fetching metadata.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Build, review, and refactor ASP.NET Core web applications using official guidance. Helps choose application structure, implement pages and APIs, configure authentication and services, and plan testing, performance improvements, deployment, and version upgrades.

中文简介正在准备中。当前显示英语简介。

  • Choose an application model for a new project
  • Build pages and HTTP APIs
  • Review authentication and application configuration
openai/skills2.8万2026年9月9日 更新

Build and troubleshoot ChatGPT apps with an MCP server that exposes tools and an optional interactive widget. Use current official documentation and examples to create scaffolds, configure security settings, and guide local validation and deployment when requested.

中文简介正在准备中。当前显示英语简介。

  • Create a ChatGPT app scaffold from an official example
  • Design tools and connect an MCP server to a widget
  • Refactor or troubleshoot an existing Apps SDK app
openai/skills2.8万2026年9月9日 更新

Turn API documentation or existing scripts into reusable command-line tools that Codex can run from any folder. Builds focused read and write commands, consistent JSON output, authentication handling, installation instructions, and a companion skill.

中文简介正在准备中。当前显示英语简介。

  • Turn an API into reusable commands
  • Make an internal script available from any folder
  • Build a tool for downloading and searching logs
openai/skills2.8万2026年9月9日 更新

Deploy applications and infrastructure on Cloudflare by matching project needs to services such as Workers and Pages. Guides service selection and authentication checks, with references covering storage, AI, networking, security, and infrastructure configuration.

中文简介正在准备中。当前显示英语简介。

  • Publish a website or application on Cloudflare
  • Deploy serverless functions with Workers
  • Choose storage for databases and files
openai/skills2.8万2026年9月9日 更新

Turn a vague intention into a concrete goal with clear scope, measurable success criteria, and evidence of completion. Check existing goals before creating one, so the agent has a specific outcome to pursue without duplicating active work.

中文简介正在准备中。当前显示英语简介。

  • Turn a vague intention into a measurable goal
  • Define completion criteria for a bug fix
  • Set performance targets and measurement methods
openai/skills2.8万2026年9月9日 更新

Find code components that match Figma design components by comparing names, structure, and settings. Presents candidates for approval, then creates Code Connect mappings, explicit links between design components and their implementations.

中文简介正在准备中。当前显示英语简介。

  • Link a Figma button to its code component
  • Find unconnected components within a frame
  • Compare similar implementation candidates
openai/skills2.8万2026年9月9日 更新

查看 openai 的全部技能

报告此技能的问题