gztcode/figma-to-code-parity-agent/figma-analyzer

Claude Code and agent skill by gztcode/figma-to-code-parity-agent

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Analyze Figma design context and screenshot for UI parity implementation. Use after intake to extract structure, typography, colors, spacing, layout, states, assets, and platform-relevant constraints from the exact Figma node.

Install

npx vskill@latest install gztcode/figma-to-code-parity-agent/figma-analyzer

SKILL.md

The same SKILL.md was published earlier as gztcode/figma-to-code-parity-agent/figma-analyzer.

Figma Analyzer

Input

  • Normalized Figma file key 和 node id
  • Figma design context output
  • Figma screenshot
  • Target platform 和 viewport

Output

  • Design analysis summary
  • Layer 和 layout hierarchy notes
  • Typography inventory
  • Color 和 effect inventory
  • Spacing 和 sizing inventory
  • State 和 variant inventory
  • Asset candidate list

Must

  • 必须获取或消费 exact node 的 design context。
  • 必须获取或消费 exact node 和 state 的 screenshot。
  • 识别 layout model:Auto Layout、constraints、fixed positions、overlays 或 masks。
  • 将 Auto Layout、hug/fill、fixed size、aspect ratio、pinned bottom 等布局意图单独记录。
  • 提取 typography details:family、size、weight、line height、letter spacing、color、alignment、truncation。
  • 提取 critical regions 的 spacing 和 geometry details。
  • 识别 visible assets、icons、images、masks、gradients、shadows 和 blur effects。
  • 标记 unsupported 或 platform-sensitive effects。

Must Not

  • 当 structured values 可用时,不允许从外观反推 exact spacing 或 typography。
  • 不允许把所有 layers 压平成 implementation requirements;必须区分 semantic UI 和 visual decoration。
  • 如果请求的 component 包含 hidden、variant、hover、pressed、disabled、loading 或 error states,不允许忽略。
  • 当 structured context 不完整时,不允许丢弃 screenshot evidence。
  • 不允许假设 web CSS semantics 可以原封不动套到 SwiftUI 或 Compose。

Evidence

  • Figma design context reference
  • Figma screenshot path
  • typography、colors、spacing 和 assets 的 inventory tables 或 bullet lists
  • unknowns 或 platform-sensitive effects 列表

Failure Mode

出现以下情况时,报告 blocker 或 degraded mode:

  • Design context 不可用或被截断。
  • Screenshot 无法捕获。
  • Figma node 看起来是 wrong state、wrong breakpoint 或 wrong component variant。
  • Critical values 缺失,且无法可靠测量。

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/gztcode/figma-to-code-parity-agent/figma-analyzer/badge)](https://verified-skill.com/skills/gztcode/figma-to-code-parity-agent/figma-analyzer)

Something wrong with this skill or its page? Tell us.