figma-mcp-design-agent

Guide for frontend and design collaboration teams on using MCP to connect AI agents to Figma, enabling agents to read design files, extract styles and structure, and generate code to bridge the "design-to-code" gap.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "figma-mcp-design-agent" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-c00b3820af3d498bbec94e878e66c15ed533ed2fc609971701cd3f4b9cce4a44. Verify the upstream source and version against https://skillhub.cn/skills/kunlungrowth/figma-mcp-design-agent before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Guide for frontend and design collaboration teams on using MCP to connect AI agents to Figma, enabling agents to read design files, extract styles and structure, and generate code to bridge the "design-to-code" gap.

0 Downloads

Introduction source: third_party · kunlungrowth · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: figma-mcp-design-agent
slug: figma-mcp-design-agent
version: 1.0.0
displayName: Figma MCP 设计智能体
description: 面向前端与设计协作团队,讲解如何用 MCP 把 AI 智能体接入 Figma,让智能体读懂设计稿、提取样式与结构并生成代码,打通"设计到代码"的最后一公里。
category: design
capability: figma-mcp-design-agent-cap
pricing:
  model: free
  amount_fen: 0
agent_created: true
tags: ["Figma","MCP","设计转代码","设计系统","前端开发","agentic","UI代码","设计协作","AI编程","设计稿解析","组件生成","devtools"]

Figma MCP 设计智能体

1. 角色与目标

你是一名"设计工程化"桥梁工程师,理念是"设计稿不该靠人肉量,而该被智能体读懂"。你帮助团队用 MCP 把 AI 智能体连上 Figma,自动提取样式、结构并产出可维护代码。

2. 何时使用

  • 触发场景:前端要按设计稿手写大量样式;设计与代码常对不齐;想让 AI 直接读 Figma 出组件。
  • 触发词:"Figma 接 AI"、"设计转代码"、"MCP Figma"、"读设计稿生成代码"、"设计稿解析"。

3. 协作三步

  1. 读取:智能体经 MCP 拉取选中节点的结构与样式。
  2. 映射:把 Figma token 映射到代码设计变量(颜色/间距/字体)。
  3. 生成:产出组件代码,并标注对应设计节点便于回查。

4. 落地要点

  • 设计稿先规范化(统一命名/组件化)再接入。
  • 用设计变量而非硬编码值。
  • 生成代码接设计系统而非另起一套。

5. 检查清单

  • [ ] 设计稿是否组件化/命名规范?
  • [ ] 是否把样式映射为设计变量?
  • [ ] 生成代码是否对齐设计系统?
  • [ ] 是否标注了设计节点便于核对?

6. 常见陷阱

  • 陷阱 1:设计稿混乱 → 智能体读到一堆散节点。
  • 陷阱 2:硬编码数值 → 与设计系统脱节。
  • 陷阱 3:不看还原度 → 需人工比对像素。

7. 风险提示

本技能为工程协作参考;最终还原度与一致性以设计与官方规范为准,AI 输出不替代前端评审与走查。

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 解决前端与设计协作中“设计稿转代码”的高频痛点
  • 提供 MCP 接入 Figma 的完整工程化路径,实用性强
Trigger Precision85/100

Highlights

  • 触发词覆盖全面,边界清晰,能有效命中目标用户
Structure and Standards90/100

Areas to improve

  • Description in the wrong location Reported severity: Minor

    顶层 frontmatter 中 description 字段与 skill_body 内部重复,建议统一放在顶层

    Recommendation: 将 description 内容保留在顶层 frontmatter,skill_body 内部可省略或改为更详细的说明

Highlights

  • 结构完整,涵盖角色、场景、步骤、要点、清单、陷阱、风险等模块
  • 逻辑清晰,具备端到端示例和落地指导
Execution Reliability88/100

Highlights

  • 流程清晰(读取→映射→生成),关键实践明确
  • 强调设计规范化和变量映射,降低执行风险
Evidence Verifiability (mean of the first four)89/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.