一键导入
figma-audit
Accepts a Figma frame URL, checks whether the structure is easy for AI to understand across 4 dimensions, and outputs an improvement report.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Accepts a Figma frame URL, checks whether the structure is easy for AI to understand across 4 dimensions, and outputs an improvement report.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | figma-audit |
| description | Accepts a Figma frame URL, checks whether the structure is easy for AI to understand across 4 dimensions, and outputs an improvement report. |
| argument-hint | <figma-url> |
| allowed-tools | mcp__plugin_figma_figma__get_design_context, mcp__plugin_figma_figma__get_metadata |
Analyze the Figma frame URL provided in $ARGUMENTS and evaluate whether it is structured in a way that allows AI to implement it accurately.
Output language: Respond in the same language the user is using in this conversation.
Extract from $ARGUMENTS:
figma.com/design/:fileKey/...?node-id=X-Y → fileKey and nodeId (convert X-Y to X:Y)Call get_design_context and get_metadata in parallel:
get_design_context: retrieves generated code, screenshot, annotations, and style infoget_metadata: retrieves layer hierarchy and node ID structureParameters for get_design_context:
disableCodeConnect: trueclientLanguages: "unknown"clientFrameworks: "unknown"Good naming criteria:
Hero, CardBase, Footer)HeroHeading, CTA, Button)Problem patterns (checklist):
Frame 123, Group 456)CardBase instances with identical names)Images, Text, Icon)Good state criteria:
Problem patterns (checklist):
Good state criteria:
var(--name))heading/level_1)Problem patterns (checklist):
#294779) with no var(--*) in generated codevar(--size-*))Good state criteria:
Problem patterns (checklist):
frame instead of instance for repeated identical structuresUse the following format:
File: [file name]
Target node: [node name] (nodeId)
Screenshot: [display the screenshot]
| Dimension | Score | Rating |
|---|---|---|
| A. Layer naming | X / 5 | 🟢 Good / 🟡 Room for improvement / 🔴 Needs fixing |
| B. Auto-layout | X / 5 | 〃 |
| C. Variables & tokens | X / 5 | 〃 |
| D. Component structure | X / 5 | 〃 |
Scoring criteria (5 points each):
(List notable practices in this file that others can learn from)
For each issue:
(1–2 sentences on the overall impression and the highest-priority improvement)
get_design_context or get_metadata returns an error: report the error and ask the user to check access permissions for the Figma file