From figma2flutter
Visual verification of Flutter output against Figma reference screenshots using Claude Vision
How this skill is triggered — by the user, by Claude, or both
Slash command
/figma2flutter:visual-verifyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Compare Figma reference screenshots with Flutter golden test outputs to ensure pixel-level design fidelity.
Compare Figma reference screenshots with Flutter golden test outputs to ensure pixel-level design fidelity.
Find the corresponding files:
test/goldens/figma_ref/{widget_name}_figma_ref.pngtest/goldens/ci/{widget_name}.png or run golden tests to generateoutput/ir/{widget_name}.ir.json or test/fixtures/{widget_name}.ir.json# Basic comparison
node dist/verify-visual.js test/goldens/figma_ref/card_figma_ref.png test/goldens/ci/card.png
# With IR context for better analysis
node dist/verify-visual.js ref.png golden.png --ir design.ir.json
# JSON output for CI integration
node dist/verify-visual.js ref.png golden.png --json
The verification produces:
Common fixes by category:
figma2flutter.config.json and src/compiler/emitters/container-emitter.tssrc/compiler/emitters/flex-emitter.tssrc/compiler/emitters/text-emitter.tssrc/compiler/flutter-compiler.tsRequires ANTHROPIC_API_KEY environment variable.
export ANTHROPIC_API_KEY=your-key-here
npx claudepluginhub clearclown/figma2flutterBuilds pixel-faithful Flutter UI from Figma MCP or image input by scanning the project's design tokens, existing components, and naming conventions before generating code.
Enforces running Flutter verification commands (analyze, test, build) before claiming work is complete or fixed.
Use when a backpressured loop has a front-end/UI change and needs to compare the rendered result against its design reference (a Figma frame or images on a Linear ticket) — catching layout, spacing, contrast, and visual-consistency defects automated tests and happy-path clicking miss.