Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Structured visual QA verdict for screenshot-to-reference comparisons
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 451% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -17% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 8% | 0% |
| case-09 | ✗→✓ | ▲ Improved | -31% | 0% |
| case-11 | ✗→✓ | ▲ Improved | -28% | 0% |
<Purpose> Use this skill to compare generated UI screenshots against one or more reference images and return a strict JSON verdict that can drive the next edit iteration. </Purpose>
<Use_When>
</Use_When>
<Inputs>
reference_images[] (one or more image paths)generated_screenshot (current output image)category_hint (e.g., hackernews, sns-feed, dashboard)</Inputs>
<Output_Contract> Return JSON only with this exact shape:
json{ "score": 0, "verdict": "revise", "category_match": false, "differences": ["..."], "suggestions": ["..."], "reasoning": "short explanation" }
Rules:
score: integer 0-100verdict: short status (pass, revise, or fail)category_match: true when the generated screenshot matches the intended UI category/styledifferences[]: concrete visual mismatches (layout, spacing, typography, colors, hierarchy)suggestions[]: actionable next edits tied to the differencesreasoning: 1-2 sentence summary<Threshold_And_Loop>
score < 90, continue editing and rerun /oh-my-claudecode:visual-verdict before any further visual review pass.</Threshold_And_Loop>
<Debug_Visualization> When mismatch diagnosis is hard:
$visual-verdict as the authoritative decision.differences[] and suggestions[] updates.</Debug_Visualization>
<Example>
json{ "score": 87, "verdict": "revise", "category_match": true, "differences": [ "Top nav spacing is tighter than reference", "Primary button uses smaller font weight" ], "suggestions": [ "Increase nav item horizontal padding by 4px", "Set primary button font-weight to 600" ], "reasoning": "Core layout matches, but style details still diverge." }
</Example>
Task: {{ARGUMENTS}}
Other measured skills in the registry, with their headline benchmark lift.