Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Turns screenshots, mockups, Figma exports, or UI photos into responsive front-end code, then renders and compares it against the image.
78% 83%+4 ptsof test cases passed
Passed 19 of 23 test cases with the skill, and 18 of 23 without it.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
Render the build at the source image's viewport and compare. This loop is what turns "roughly similar" into "matches".
If a browser tool is available (for example a Chrome or Playwright MCP), open the page, resize to the source width, and screenshot.
Otherwise, with Playwright installed (npm i -D playwright && npx playwright install chromium):
// shot.mjs - usage: node shot.mjs http://localhost:5173 1440 out.png
import { chromium } from "playwright";
const [url, width = "1440", out = "render.png"] = process.argv.slice(2);
const browser = await chromium.launch();
const page = await browser.newPage({ viewport: { width: Number(width), height: 900 } });
await page.goto(url, { waitUntil: "networkidle" });
await page.screenshot({ path: out, fullPage: true });
await browser.close();
For a single HTML file, file:///absolute/path/index.html works as the URL.
Match the source's device scale: for a 2x screenshot, pass deviceScaleFactor: 2 in newPage and use the halved width.
Look at the source image and the render together and list differences in this order:
Fix the top category before moving on; spacing fixes are wasted if the layout is wrong.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.