gztcode/figma-to-code-parity-agent/android-compose-builder

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.

Implement Figma designs as native Android Jetpack Compose code with visual parity constraints. Use when the target platform is Android Compose and the task requires preserving Figma typography, spacing, assets, components, system bars, density, and screenshot-verifiable fidelity.

Install

npx vskill@latest install gztcode/figma-to-code-parity-agent/android-compose-builder

SKILL.md

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

Android Compose Builder

Input

  • Design analysis
  • Token mapping
  • Component mapping
  • Asset mapping
  • Implementation gate result
  • Target Android project path
  • Target composable path
  • Device/viewport/density

Output

  • Compose code changes
  • 需要时的 resource changes
  • Preview、emulator 或 screenshot-test plan
  • 给 visual QA 的 notes

Must

  • 复用 existing composables、modifiers、Material theme values 和 app design tokens。
  • 只在 implementation-gate 为 pass 或已批准 degraded 时写代码。
  • 遵守 implementation gate 中的 allowed implementation scope。
  • 将 typography 映射到 TextStyle、font family、weight、size 和 line height。
  • 一致使用 dp/sp,并考虑 density。
  • 尊重 status bars、navigation bars、insets 和 IME behavior。
  • 根据 project conventions 使用 vector drawables 或 raster density assets。
  • 当 Figma design 包含 component states 和 variants 时,必须保留。
  • 在 visual QA 前,可用时运行 Compose preview、emulator 或 build/screenshot test。

Must Not

  • 不允许把 Figma layer dump 实现成没有 semantic structure 的任意嵌套 Box trees。
  • 当 matching tokens 存在时,不允许用 hardcoded colors 和 dimensions 绕过 app theme。
  • 不允许用 Material defaults 替代 Figma typography、shape 或 spacing 而不报告。
  • 不允许错误混用 px、dp、sp。
  • 当 theme tokens 存在时,不允许 hardcode colors、typography、spacing、radius 或 elevation。
  • 除非设计明确使用 Material Icons,否则不允许用 Material Icons 替换 custom Figma icons。
  • 不允许忽略 Android font rendering、density 和 system inset differences。
  • 不允许修改 unrelated navigation、dependency injection、data layer 或 app architecture。
  • 不允许在 gate 未通过时自行补 token、补组件或伪造 asset。
  • 不允许未经批准替换 Material theme 或 app design token system。

Evidence

  • Changed Kotlin/resource files
  • Reused composables 和 theme tokens
  • 使用过的 asset mapping
  • Build/preview/emulator command 和 result
  • 给 QA 的 local screenshot path

Failure Mode

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

  • Android project 因与当前任务无关的原因无法 build 或 preview。
  • Required fonts 在 Android 上不可用。
  • 某个 Figma effect 如果没有 custom drawing 就无法在 Compose 中高保真表达。
  • Existing composables 无法表达 required variant,除非修改 design system。

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

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