- Home
- Skills
- Testing & Debugging
- frontend visual qa
More screenshots
Works with the AI Agents you already use
frontend visual qa
by dameepng
Headless-browser check of changed pages at desktop and mobile sizes, with screenshots.
$9
frontend visual qa
Example session with this skill installed
I just added a new pricing page. Can you check it works properly, especially on phones, and fix anything that's broken? Don't commit.
- Read your context and instructions
- Compiled the frontend visual qa
- Generated the design tokens stylesheet
I checked the new pricing page in a real browser (headless Chrome) at desktop and phone sizes. It was broken in two ways. I fixed both, and it now passes. Nothing is committed.
First run: FAIL
| Page | Viewport | Result | Problems |
|---|---|---|---|
/pricing.html | desktop 1440x900 | FAIL | 1 console error |
/pricing.html | mobile 390x844 | FAIL | 1 console error; horizontal overflow of 660px |
Console error on every load
Uncaught: Cannot read properties of undefined (reading 'track')
What was wrong and what I changed
- Script crash on every page load.
window.analytics.track("pricing_view")runs, but no analytics library is loaded on this site, sowindow.analyticsis undefined. I changed it towindow.analytics?.track("pricing_view"), so the page no longer errors. Thepricing_viewevent still won't be sent until an analytics script is added. - Page too wide on phones. Each plan card had a fixed
width: 300pxwithflex: none, and the row couldn't wrap, so the page was 660px wider than the screen and scrolled sideways. Cards now wrap: they stack on phones and stay side by side on desktop.
.plans { display: flex; flex-wrap: wrap; gap: 16px; }
.plan { flex: 0 1 300px; min-width: 0; box-sizing: border-box; }
Second run: PASS
| Page | Viewport | Result | Problems |
|---|---|---|---|
/pricing.html | desktop 1440x900 | PASS | none |
/pricing.html | mobile 390x844 | PASS | none |
I opened both screenshots, and the layout is right at both sizes. They're in .visual-qa/01-pricing-html-desktop.png and .visual-qa/01-pricing-html-mobile.png.
Notes
- I added
.visual-qa/to.gitignoreso the screenshots don't get committed by accident. - I stopped the dev server I started for the check.
- Only tested in Chrome. Safari and Firefox weren't checked.
- Your call: did you mean to add an analytics script (Segment or similar)? Until you do,
pricing_viewisn't tracked.
pricing.html
CSS · design tokens
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Stop guessing if your frontend changes actually work. Compiling is not the same as rendering correctly. This skill automates visual verification by running a headless browser against your local dev server to catch errors before you commit.
What it does
- Change detection identifies UI-relevant file changes and maps them to affected routes.
- Automated verification builds the app and launches a local server to test pages in real-time.
- Multi-viewport testing checks every URL at desktop (1440x900) and mobile (390x844) resolutions.
- Error catching fails on console errors, uncaught exceptions, hydration mismatches, and 4xx/5xx requests.
- Visual evidence captures full-page screenshots and detects mobile horizontal overflow issues.
How it works
- Identify which routes and components were impacted by the recent code changes.
- Execute the project's build and start the background development or preview server.
- Run the
visual_check.mjsscript against the local URLs to audit browser logs and layout. - Inspect the generated screenshots and
REPORT.mdto verify the UI looks as intended. - Clean up by stopping the background server and reporting the final pass/fail verdict.
Frameworks & tools
This skill requires Node 18+ and Playwright. It works with any web framework that uses a local dev server, including React, Next.js, Vue, Svelte, and static HTML sites.
Why this beats prompting it yourself
Writing a custom Playwright script for every change is tedious and error-prone. This skill standardizes the check, ensuring mobile overflow and console errors are never overlooked while providing consistent screenshot artifacts for PRs.
Use cases
- Verifying responsive layouts after modifying CSS or Tailwind configurations.
- Catching runtime JavaScript errors introduced during component refactoring.
- Confirming that new routes load correctly after updating router logic.
- Detecting asset loading failures or broken API requests on specific pages.
Known limitations
Requires Playwright to be installed in the project. Cannot bypass complex authentication without a seeded session or test account. Visual checks are limited to Chromium-based browsers.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 12 days ago
- Software
- Playwright
Node.js 18+
Playwrightorplaywright-coreandGoogle Chrome - Optional
Python 3.8+ (only for the changed-files detector)
Git (to detect which files changed)
Runs only on your machine against your local dev server; it contacts no other hosts. The agent asks before adding Playwright to your project. With playwright-core, no browser download is needed: it uses your installed Chrome.
Permissions
File Scopes
Shell runs the project's own build and dev-server scripts and the included check script. Browser is headless Chromium (or your installed Chrome) opening only the localhost URLs you test. Network access is limited to that local dev server. Writes go to .visual-qa/ (screenshots and report) and .gitignore. Source files change only when you ask the agent to fix what the check finds.
What's inside
Frequently Asked Questions
New in Testing & Debugging
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.