match-design

Installation
SKILL.md

Match a Prototype to a Visual Reference

Close the loop between what you built and the design you were given. Build → screenshot the running prototype → compare against the reference → refine → repeat, until a human would perceive the two as the same design.

The goal is human-perceived equivalence, not pixel-perfection. Implementations are usually responsive while a Figma frame is fixed-width, so exact dimensions will differ — that is expected and fine. The question is always "would a designer call this the same design?", never "do these overlap pixel-for-pixel?"

Step 0 — Gate: is there a visual reference?

This loop only makes sense when there is something to diff against.

  • Figma URL, or a screenshot/image → proceed.
  • Text description only, no image → stop. Tell the user this loop needs a Figma link or a screenshot to compare against, and that you'll build to the description instead. Do not fabricate a reference.

Step 1 — Get the reference image

  • Figma URL: if the Figma plugin/MCP is available, use it (get_screenshot for the visual, get_design_context / get_variable_defs for exact colors, sizes, and layout). Capture the specific frame the user pointed at, not the whole file. If Figma isn't connected, ask the user for a screenshot of the frame instead.
  • Screenshot / pasted image: use it directly.

Note the reference's approximate width (e.g. a ~1440px desktop frame, a ~520px modal, a ~375px mobile screen). You'll render the prototype at roughly this width so you're not comparing a wide design against a narrow render. Approximate is enough — don't fuss over exact pixels.

Installs
2
GitHub Stars
14
First Seen
Aug 5, 2026