What problem does it solve?
When generating Valdi UI code from a design mock, it is hard to objectively judge how close the rendered output is to the target design. This Skill acts as the critic in a mock-to-module pipeline, systematically comparing the mock and the rendered screenshot and producing specific, actionable code fixes without ever looking at the source code.
Core Features & Use Cases
- Systematic visual comparison: Scans layout, spacing, typography, colors, and components to list every difference between mock and rendered output.
- Structured fix feedback: Outputs ISSUE/ELEMENT/EXPECTED/ACTUAL/FIX/SEVERITY entries plus a match score, top-3 fixes, and a MATCH/ITERATE/RESTRUCTURE verdict.
- Pixel diff tooling: Bundled scripts compute an objective match percentage with auto-masking of avatar regions and generate a side-by-side diff image.
- Use Case: In a generator+critic loop, feed a Figma export and a
valdi inspect snapshot screenshot to get prioritized fixes like font size bumps, spacing corrections, and missing dividers until the output matches the design.
Quick Start
Compare this design mock image with the rendered Valdi screenshot and tell me exactly what to fix to make them match.