Domain

/figma-loop

Iterative Figma-to-implementation pixel-perfect verification loop. Use when implementing or refining UI from Figma designs. Drills on screenshots, comparing Figma vs implementation, fixing one thing at a time until 3 consecutive checks pass. Covers figma iteration, pixel perfect, design verification, ui drilling, figma comparison. NOT for: fetching Figma specs only (use figma-workflow docs), creating new components from scratch without a reference design.

$ golems-cli skills install figma-loop
Experimental
77% best pass rate
13 assertions
3 evals
3 workflows

Updated 2 weeks ago

Drill on Figma designs until pixel-perfect. Compare screenshots, fix one thing at a time, repeat until 3 consecutive checks pass with no changes needed.

When to Use

  • Implementing UI from Figma designs
  • Refining existing UI to match Figma
  • Verifying a component matches its design spec
  • User says "make it match Figma" or "pixel-perfect"

Prerequisites

At least one of these Figma MCP tools must be available:

ToolWhen Available
mcp__figma__get_screenshotFigma desktop app is open
mcp__figma-remote__get_screenshotAlways (uses API with fileKey)

Plus browser automation for implementation screenshots:

ToolPurpose
mcp__claude-in-chrome__computerScreenshot of running app
mcp__claude-in-chrome__navigateNavigate to the right page
mcp__claude-in-chrome__resize_windowMatch Figma viewport size

Or for React Native:

ToolPurpose
Simulator screenshotxcrun simctl io booted screenshot /tmp/screen.png
Device buildnpx expo run:ios --device

CLI Helper

Track iteration progress with check.sh:

SCRIPT="~/.claude/commands/golem-powers/figma-loop/scripts/check.sh"
 
$SCRIPT init "WelcomeScreen" "95:72"   # Start session
$SCRIPT pass                            # Record passing check (increments counter)
$SCRIPT fail "spacing off by 8px"       # Record fail (resets counter to 0)
$SCRIPT status                          # Show progress (X/3 passes)

Workflows

/figma-loop:setup/figma-loop:check/figma-loop:iterate