gztcode/figma-to-code-parity-agent/asset-extractor

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.

Audit, map, export, and place Figma assets and fonts for high-fidelity implementation. Use for icons, images, complex vectors, masks, gradients, illustrations, backgrounds, custom fonts, font availability checks, and other visuals that should not be approximated in platform code.

Install

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

SKILL.md

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

Asset Extractor

本 skill 同时承担 asset-font-audit 职责。它不只负责导出图片,也负责判断 icon/image/vector/font 是否能映射到目标平台资源。iOS 资源规则见 ../../references/ios-baseline-assets-scaling.md 和 ../../references/ios-ui-guardrails.md。

Input

  • Figma design analysis
  • Figma asset URLs 或 export handles
  • Target platform
  • Project profile
  • Project asset directories
  • Platform font files 或 font registration config
  • Device scale requirements

Output

  • Asset inventory
  • Asset mapping table
  • Font availability report
  • Export plan
  • Missing asset/font blocker list
  • Placed asset files
  • Asset usage mapping

Must

  • 识别应该 export 而不是 recreated 的 assets。
  • 区分业务 icon、系统 icon、真实图片、placeholder、复杂矢量和动态资源。
  • 审计 fonts,并标记 missing fonts、fallback risk 和平台可用性。
  • 将 required asset/font blockers 交给 implementation-gate 判定。
  • 检查 iOS Asset Catalog、Android drawable/font resources 或目标平台等效目录。
  • 优先使用 project profile 中记录的 asset/font conventions。
  • 区分 system icons 和 custom assets;只有明确映射时才允许使用 SF Symbols 或 Material Icons。
  • 记录 raster density、vector format、dark mode asset 和 clipping/crop 需求。
  • 对 iOS 本地 raster assets,要求 @2x / @3x,除非使用 PDF/vector 或 remote image。
  • 对 remote image,记录 ratio、placeholder、contentMode 和 crop strategy。
  • 当 Figma tool 指示使用 localhost 或 MCP asset URLs 时,必须保留这些引用。
  • 导出平台合适的格式:支持时使用 PDF/SVG/vector,raster 使用 PNG/WebP,需要时提供 density variants。
  • 将 assets 放入目标项目已有 asset structure。
  • 记录 asset names、source nodes、target paths 和 scale。
  • 检查 assets 是否能在 local implementation 中正常 render。

Must Not

  • 当 Figma 提供 exportable assets 时,不允许创建 placeholder assets。
  • 不允许伪造 missing fonts、missing assets 或 missing screenshots。
  • 当 export 可用时,不允许重画 complex icons、illustrations、masks 或 image treatments。
  • 没有匹配 Figma frame,不允许 downscale 或 crop assets。
  • 不允许因为某个 icon 像 common symbol 就引入新的 icon package。
  • 不允许用 SF Symbols 或 Material Icons 替代 custom Figma icon,除非有明确 mapping。
  • 不允许在关键 font 缺失时声称 typography parity。
  • 不允许 iOS raster image 只提供 1x 用于 iPhone UI。
  • 不允许把低清截图当作正式 asset。
  • 不允许忽略 opacity、tint、blend mode 或 clipping behavior。
  • 不允许用隐藏 source 或 usage 的方式重命名 assets。

Evidence

  • Asset inventory table
  • Source node 或 MCP asset URL
  • Target file path
  • Format 和 scale
  • iOS @2x / @3x coverage 或 vector/remote exception
  • Font availability report
  • Missing asset/font blocker list
  • Local render confirmation

Failure Mode

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

  • Required assets 无法导出。
  • Required fonts 不存在或无法注册。
  • Licensing 或 source ownership 不清楚。
  • Target platform 无法高保真渲染该 asset format。
  • Asset 是 dynamic,需要 implementation logic,而不是 static export。

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

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