What problem does it solve?
This Skill provides a deterministic, machine-readable verdict for comparing generated UI screenshots against one or more reference images, removing guesswork from visual review cycles and enabling automated edit iterations.
Core Features & Use Cases
- Strict JSON Verdict: Returns a fixed JSON schema with score, verdict, category_match, differences, suggestions, and concise reasoning for deterministic decision-making.
- Visual Difference Diagnosis: Identifies concrete layout, spacing, typography, color, and hierarchy mismatches and converts pixel-level diagnostics into actionable edits.
- Integration-Friendly Thresholds: Supports a pass threshold and iterative loop guidance so CI pipelines and design agents can retry until visual acceptance criteria are met.
- Use Case: Validate a newly generated UI screenshot against approved mocks to decide whether to accept, revise, or fail automatically before further edits.
Quick Start
Use the visual-verdict skill to compare generated_screenshot.png with reference_images ref1.png and ref2.png and return the strict JSON verdict.