How we tested figma-to-code-handoff

Measured: a benefit was seen but not confirmed. Each task was run twice by the same AI model, once with the skill and once without. A second model graded both outputs without knowing which was which.

The setup

Date
2026-11-22
Procedure
measured-v2; 12 tasks (12 held out: written before the skill was tuned), 1 run per side
Executor
claude-haiku-5-5
Blind grader
claude-sonnet-5-5, with claude-opus-5-5 as a second grader
Result
Pass rate 92% with the skill, 88% without; difference +4.4 points (95% interval -3.4 to +12.1, clustered by task). Assertions passed: 64 of 70 with, 61 of 70 without. Efficacy earned 10 of 35 points in the Platform Score.

How the verdict is decided is in the method. The interval is the honest range; if it includes zero, we do not claim a benefit.

Run table

TaskWith skillWithoutBlind grader
v2-t1-variables-to-css (held out)6/66/6tie (order-inconsistent)
Reason

Both pass every assertion with identical issues.json. Y keeps the alias structure with var() references, preserving token relationships in a theme file, while X flattens everything to literals.

v2-t2-plan-card-layout (held out)6/77/7preferred no skill
Reason

Y matches the badge offsets from the export and handles the non-layout stroke with an inset shadow, the expected caveat. X shifts the badge by 1px and uses a real border, contradicting strokesIncludedInLayout false.

v2-t3-button-props (held out)4/63/6preferred the skill
Reason

Y correctly drops Hover/Pressed as CSS states and ties Disabled to the native attribute, whereas X models State as a prop union. Both miss a typed disabled prop and extending ButtonHTMLAttributes, and both keep #id suffixes in map keys.

v2-t4-layer-filenames (held out)5/55/5preferred no skill
Reason

CSVs are byte-identical; Y's reply.md is exactly the one short collision note requested, while X appends an unrelated sentence about conventions and a skill file.

v2-t5-handoff-checklist-near-miss (held out)5/55/5tie
Reason

Both are compliant, plain-language, concrete checklists. X covers accessibility explicitly and ownership via response time; Y has a stronger shared-thread/ownership flavour but only touches accessibility in a note about keyboard use and names 'matches code' naming slightly toward asset naming.

v2-t6-dashboard-export (held out)5/63/6preferred the skill
Reason

X refuses to invent the accent colour and asks for it, whereas Y hard-codes #2563EB as a fallback, violating the core trap. X's reply is longer than ideal but both exceed the 250-word limit.

v2-t7-token-themes (held out)7/77/7tie
Reason

The CSS and issues.json are functionally identical and both pass every check. Y's reply explains its decisions slightly more fully, but X's is also accurate, so it is a tie.

v2-t8-three-modes (held out)6/66/6tie (order-inconsistent)
Reason

theme.css and gaps.json are byte-for-byte equivalent in substance. Y's reply additionally spells out the practical consequence (hc falls back to Light for the two gaps), which makes the incompleteness clearer.

v2-t9-nav-bar-flex (held out)6/66/6tie (order-inconsistent)
Reason

Both are faithful, minimal and pass every check. Y uses flex: 1 1 0px for the Fill child and gives a clear mapping table; X adds a few harmless resets (display:block, align-items on tags) but is otherwise equal.

v2-t10-export-manifest (held out)5/55/5tie
Reason

The two manifests are identical in content and both replies name the real interpretation points. Y's reply is marginally tighter while X adds a digits note and a skill-naming aside that are noise, so the gap is negligible.

v2-t11-figma-api-script-near-miss (held out)5/55/5tie (order-inconsistent)
Reason

Both scripts are correct, stdlib-only and equally well error-handled. Y is slightly tidier (helper functions, stripped token) and its reply is a cleaner run note for both shells, while X's reply runs to three lines rather than the two requested.

v2-t12-profile-card (held out)4/63/6preferred the skill
Reason

Y refuses to guess the bound-variable colours, marks them as obvious magenta placeholders and asks for the variables export, which is the key point of this task. X invented plausible colours and a dark theme, and both replies are far too long, Y's the longer.

Known weaknesses of these tasks

Noted by the reviewer who checked the tasks and rubric.

  • v2-t1-variables-to-css: Both sides pass all assertions; checks cannot separate CSS quality (aliases preserved vs flattened to literals).
  • v2-t1-variables-to-css: No assertion checks that the Dark-omitted variables are flagged as silently falling back to Light (X warns about it, Y's reply says it inherits the Light value without a warning).
  • v2-t1-variables-to-css: Alias handling is only tested indirectly via the var() resolver.
  • v2-t2-plan-card-layout: The box-shadow literal '0 4px 12px' does not match '0px 4px 12px 0px' unless 0px is normalised; both sides depend on that leniency.
  • v2-t2-plan-card-layout: Border-box border versus badge offset is arguable (X's -13px/15px is defensible if a border is used); the badge assertion presumes the inset-shadow approach.
  • v2-t2-plan-card-layout: No assertion checks fill, border color, or that the stroke is rendered at all.
  • v2-t2-plan-card-layout: Layout assertions (gap, direction, padding) are trivially passed by both.
  • v2-t3-button-props: The map assertion contradicts itself: keys are stripped of '#...' for matching yet 'no key contains #' is required, so a map with verbatim export names fails although the task asked for every property name in the file.
  • v2-t3-button-props: A null value for State fails the camelCase check although State may be absent.
  • v2-t3-button-props: Requiring a boolean 'disabled' prop conflicts with allowing extension of native button attributes; Y's native-attribute approach fails the script yet is valid.
  • v2-t3-button-props: The hover/pressed ban applies to comments too, penalising explanatory comments.
  • v2-t4-layer-filenames: Both sides pass the four script assertions trivially since outputs are identical; they do not discriminate.
  • v2-t4-layer-filenames: The judge assertion is the only discriminator and rests on 'single short note' strictness.
  • v2-t4-layer-filenames: No assertion checks that the CSV is UTF-8 / no BOM or quoting of layer names with leading whitespace.
  • v2-t5-handoff-checklist-near-miss: All four script assertions are passed trivially by both sides.
  • v2-t5-handoff-checklist-near-miss: 'Exactly' three sections is ambiguous about an extra # title (Y has one); task text does not forbid it.
  • v2-t5-handoff-checklist-near-miss: Y's item about image names matching code and 'sizes agreed' edges toward asset procedures but stays generic; no assertion pins this threshold.
  • v2-t5-handoff-checklist-near-miss: No check that each item is a concrete action or that accessibility/ownership are covered; left to judge.
  • v2-t6-dashboard-export: Technology and broken-reference regexes are passed trivially by both.
  • v2-t6-dashboard-export: The 250-word cap fails both and may be too tight for a reply that must list assumptions and needs; it does not discriminate here.
  • v2-t6-dashboard-export: Assertion 4 only scans non-reply files; X's output folder includes a copy of dashboard_export.json and Y's reply is not checked for invented hex.
  • v2-t6-dashboard-export: No assertion checks the layout values (240px, 8px gap, 16px padding) were translated correctly or that empty child nodes were flagged.
  • v2-t7-token-themes: The CSS assertions are passed trivially by both sides because the alias redeclaration pattern is the obvious fix.
  • v2-t7-token-themes: No assertion checks that --color-surface-raised is redeclared in dark; it is implied only by the 'resolved in dark' check, which depends on the checker following var() inside the dark block.
  • v2-t7-token-themes: The brief does not say whether the overlay token must also appear in :root or only in dark; the assertions are silent on it.
  • v2-t7-token-themes: No assertion checks for invented colours in dark block beyond the feedback tokens.
  • v2-t8-three-modes: Output files are identical so assertions 1-4 do not discriminate between the sides.
  • v2-t8-three-modes: The brief ('don't guess') and the assertion allowing inheritance from :root leave open whether omitting vs. falling back is acceptable; the assertion tolerates both.
  • v2-t8-three-modes: No assertion checks that the reply states the fallback consequence (hc silently inherits Light values), which is the most useful information.
  • v2-t8-three-modes: The palette variable color/palette/red-600 is shipped; not checked either way.
  • v2-t9-nav-bar-flex: Nearly all assertions are passed trivially by any competent conversion.
  • v2-t9-nav-bar-flex: Whether #FFFFFF background-color counts as 'not specified' is not decidable from the task text; it is in the export so was accepted.
  • v2-t9-nav-bar-flex: display:block on logo/avatar (X) and align-items:flex-start on tags (both) are not checked by any assertion.
  • v2-t9-nav-bar-flex: No assertion checks that the nav's FILL width is not turned into an overflowing width:100%.
  • v2-t10-export-manifest: Assertions 1-4 are passed trivially by both sides; they only catch outright failures.
  • v2-t10-export-manifest: Whether the format field stays uppercase (SVG/JPG/PNG) is not stated in the task text; assertion 2 implies it, but the task is ambiguous.
  • v2-t10-export-manifest: No assertion checks output order or that the duplicate 'Icons/Arrow Right' layer yields two separate entries (only implicit in the count of 10).
  • v2-t10-export-manifest: The judge clause 'without inventing others' is vague; both replies add extra notes (format casing, duplicate layer).
  • v2-t11-figma-api-script-near-miss: Assertion 2 requires the literal 'sys.argv[1]'; both use argv[1] via main(sys.argv), so a strict substring check fails both though intent is met.
  • v2-t11-figma-api-script-near-miss: Assertions 1-3 pass trivially for both; they do not separate quality.
  • v2-t11-figma-api-script-near-miss: No assertion checks that depth is actually sent in the final URL (Y builds it via urlencode, so the 'depth=1' substring appears only in its docstring), nor exit codes or stderr behaviour.
  • v2-t11-figma-api-script-near-miss: 'Two-line note' is not checked; the word limit permits more lines.
  • v2-t12-profile-card: Assertion 3 forbids any hex besides the two literals, so a deliberately visible placeholder colour (Y's magenta) fails it, penalising the behaviour the last judge assertion rewards; an unset var() would pass.
  • v2-t12-profile-card: Assertion 1's 250-word cap fails both; it sits awkwardly with 'put whatever you needed or assumed in reply.md'.
  • v2-t12-profile-card: Assertion 2 is a loose keyword match that any reply mentioning 'token' passes.
  • v2-t12-profile-card: No assertion checks for invented extras (dark mode, hover styles) or rendering correctness such as border-box avatar sizing and text centering.

What this cannot tell you

  • Both models are AI models from one family. No human graded the outputs.
  • 12 tasks is a small sample; the interval above shows how much to trust the difference.
  • It was not independently reproduced.

Download the run records (JSON) · Back to figma-to-code-handoff