Skip to content
Skillpedia
Interfaces (UI/UX)41k · #7032

visual-verdict

What it does

This skill checks how closely a generated user interface screenshot matches one or more reference images. It is for designers and developers who need a clear pass or revise decision on visual details.

When to use it

  • ✓When a screen must match a reference image for layout, spacing or typography.
  • ✓When you want a score and a list of visual differences after an edit.
  • ✓When you need a clear pass or revise decision before making more changes.

Skill link

https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/visual-verdict/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/visual-verdict/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Compare this screenshot of the new dashboard with our reference design and tell me what still needs to change.”

5 new skills a week. 1 minute to read.

How it works

The agent looks at the screenshot and the reference images and returns a structured result with a score, a verdict, the visual differences found and suggested next edits. A score of 90 or more is the target to pass.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

<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> - The task includes visual fidelity requirements (layout, spacing, typography, component styling) - You have a generated screenshot and at least one reference image - You need deterministic pass/fail guidance before continuing edits </Use_When> <Inputs> - `reference_images[]` (one or more image paths) - `generated_screenshot` (current output image) - Optional: `category_hint` (e.g., `hackernews`, `sns-feed`, `dashboard`) </Inputs> <Output_Contract> Return **JSON only** with this exact shape:
{
  "score": 0,
  "verdict": "revise",
  "category_match": false,
  "differences": ["..."],
  "suggestions": ["..."],
  "reasoning": "short explanation"
}

Rules:

  • score: integer 0-100
  • verdict: short status (pass, revise, or fail)
  • category_match: true when the generated screenshot matches the intended UI category/style
  • differences[]: concrete visual mismatches (layout, spacing, typography, colors, hierarchy)
  • suggestions[]: actionable next edits tied to the differences
  • reasoning: 1-2 sentence summary
<Threshold_And_Loop> - Target pass threshold is **90+**. - If `score < 90`, continue editing and rerun `/oh-my-claudecode:visual-verdict` before any further visual review pass. - Do **not** treat the visual task as complete until the next screenshot clears the threshold. </Threshold_And_Loop> <Debug_Visualization> When mismatch diagnosis is hard: 1. Keep `$visual-verdict` as the authoritative decision. 2. Use pixel-level diff tooling (pixel diff / pixelmatch overlay) as a **secondary debug aid** to localize hotspots. 3. Convert pixel diff hotspots into concrete `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}}

FAQ

What does the score mean?

It is a whole number from 0 to 100, and 90 or more is the target for a pass.

Does it change the design itself?

No. It only compares and suggests edits, which you or another step then make.

Can it check a category of design?

Yes. It can note whether the screenshot matches the intended style, such as a dashboard or a news feed.

Details

Original description by the author

Structured visual QA verdict for screenshot-to-reference comparisons

repo: Yeachan-Heo/oh-my-claudecode

Popularity

GitHub stars
41k
Ranking position
#7032
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills