gztcode/figma-to-code-parity-agent/region-diff-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 visual differences by Figma node or semantic region. Use after screenshot capture and before repair planning when region bounds are available, so differences can be attributed to title, primary button, card, image, safe area, navigation, or other UI regions instead of only reporting whole-image pixel mismatch.

Install

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

SKILL.md

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

Region Diff Analyzer

区域差异规则见 ../../references/region-diff.md。本 skill 是 visual-diff-analyzer 的增强层。

Input

  • Figma screenshot
  • Local screenshot
  • Figma node bounds 或 semantic region definitions
  • Design analysis
  • Target viewport/device/scale
  • Thresholds

Output

  • Region diff metrics
  • Region severity classification
  • Region-level suspected causes
  • Suggested repair routes
  • Region diff artifacts when possible

Must

  • 优先使用 Figma node bounds 定义 regions。
  • 当 node bounds 不可用时,使用 semantic regions:navigation、title、primary_button、card、image、safe_area、bottom_bar。
  • 对每个 region 输出 mismatch ratio、severity、difference type 和 suggested repair route。
  • 将 region-level findings 合并到 visual-diff-analyzer 的 structured diagnosis。
  • 对 primary controls、navigation、title、critical forms 使用更严格阈值。

Must Not

  • 不允许只用 whole-image mismatch 掩盖 critical region failure。
  • 不允许在 Figma/local screenshots 尺寸或 scale 不一致时做 region attribution。
  • 不允许把 region bounds 当作绝对正确;截图裁切、safe area 或 scale 变化必须先校准。
  • 不允许为缺失 node bounds 伪造精确 region。

Evidence

  • Region definitions
  • Figma/local screenshot paths
  • Region diff metrics
  • Region artifacts
  • Severity and suggested repair route

Failure Mode

出现以下情况时降级为 whole-image diff 并报告原因:

  • Node bounds 不可用。
  • Screenshot scale 不可校准。
  • Region crop 越界。
  • Critical region 无法定位。

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/region-diff-analyzer/badge)](https://verified-skill.com/skills/gztcode/figma-to-code-parity-agent/region-diff-analyzer)

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