Free to useNo account required

Surface Sweep

Broad visual QA and correction for existing web apps using automated browser probes and manual inspection.

Supported chat agents

  • ChatGPT
  • Claude
  • Cursor
Paste into your agent, then send.
Read or select the lesson prompt

On iPhone, touch and hold the text, then choose Copy. Use Select All if needed.

Use with dvn (opens in a new tab)

Get Surface Sweep

@uppercut-labs/skills is the premier and primary way to get Uppercut Labs agent skills. Pick a skill and the installer brings along its required skill dependencies. Requires Node.js 22 or newer.

Meet @uppercut-labs/skills on npm (opens in a new tab)

npx @uppercut-labs/skills add surface-sweep --host codex --project .
Run in your project folder.
Read or select the command

On iPhone, touch and hold the text, then choose Copy. Use Select All if needed.

Install with your agent

Paste into your agent, then send.
Read or select the installation prompt

On iPhone, touch and hold the text, then choose Copy. Use Select All if needed.

Broad visual QA and correction for existing web apps using automated browser probes and systematic manual inspection.

Use this when

You have a working web app and want thorough visual quality assurance — catching responsive overflow, broken interaction states, awkward proportions, missing states, and UI inconsistencies across devices and viewports. Surface Sweep goes beyond test suites to verify what users actually see.

Not the right fit for screenshot collection alone, a new visual identity, backend-only testing, or building a public showcase (use Surface Sweep Showcase when you also want a showcase).

How it works

Dark Reader is enabled by default after a verified extension preflight; the sweep records extension-on compatibility separately from native-theme checks with the extension off, and discloses unavailable coverage.

Every public page is also loaded with ad-blocker conditions: analytics, tag managers, session replay, ads and tracking pixels blocked the way blockers block them, at phone and desktop sizes. The sweep uses the real uBlock Origin Lite extension where it can and a pattern list where it can't, and records which one ran. A page that goes blank, or loses its headline, main call to action or lead form, is a top-priority finding. This catches a common failure that ordinary automated checks miss, because their browsers run with no blocker: a site that loads its analytics code as a required part of the page shows visitors with a blocker a blank screen.

Surface Sweep follows a five-stage correction loop:

  1. Establish the execution contract — Inspects the repository for instructions, working-tree state, design authority, routes, component variants, existing browser tests, and run commands. Identifies the browser harness (Playwright or Puppeteer already present, or selects one). Records the target revision, design authority, fixture mechanism, and external-action boundary.

  2. Inventory surfaces and state transitions — Builds a finite coverage matrix from both source code and browser navigation. A surface is any route or distinct user-visible state: menus, dialogs, drawers, tabs, editors, validation screens, and recovery states all count. Assigns case IDs with expected assertions across representative viewports — desktop (1440px), tablet (768px), phone (390px), and narrow (320px) — plus both sides of actual breakpoints, short-height views, and all supported themes.

  3. Capture trustworthy evidence — Runs automated browser captures with readiness contracts: asserts application readiness, fixture state, theme, fonts, and image decode before each capture. Records console errors, failed requests, and diagnostics. Writes artifacts under unique run/case/attempt paths with CSS viewport and raster dimensions recorded separately.

  4. Inspect and correct — Reviews every capture at readable scale using image-capable tools. Examines hierarchy, spacing, proportions, text wrapping, icon containment, stacking, contrast, and state feedback against the existing design. Tests pointer, touch, and keyboard behavior. Records findings with case ID, severity, symptom, before image, and root cause. Fixes shared components/styles first, then checks consumers. Adds regression assertions for each fix.

  5. Recheck and hand off — Reruns corrected cases and the final coverage matrix. Reconciles every planned case as passed, failed, blocked, or excluded with reason. Reports fixes separately from test/fixture changes so you can see actual product improvements.

Inputs

  • A running web app — local, preview, or production
  • The app's source code — for route inventory, component inspection, and fixes
  • Design authority — the existing visual language of the app (no external design file required)

Outputs

  • Corrected product surfaces with regression checks
  • A coverage matrix with case dispositions (passed/failed/blocked/excluded)
  • Before and after evidence for each fix
  • A normal-against-blocked comparison for each public page: visible text, headline, main call to action and forms, with both screenshots
  • A final report linking the matrix, captures, commands, and any unresolved limitations

Prerequisites

None beyond a working web app with a browser available. Works with any existing test runner and framework.

Installation and use

Surface Sweep is available as an agent skill. Point your agent at it when you want visual QA:

Read the Surface Sweep skill and sweep this web app for visual issues.

The skill works with the app's existing visual language — it preserves the design rather than imposing a new one.

For site owners

You don't need to write code to use it. If you have an AI agent that can open a browser (Claude Code, Codex, Cursor or similar), point your agent at this skill and ask it to sweep your site:

Read the Surface Sweep skill and sweep https://your-site.example for visual problems, including what visitors with an ad blocker see. Don't change anything; give me the findings with screenshots.

Your agent loads each page at phone and desktop sizes, normally and with blocked resources, and reports what breaks, how serious it is and what to ask your developer to change. If a page goes blank for visitors with an ad blocker, the report shows both screenshots and how much of the page disappeared.

Example

"Sweep my dashboard app for visual issues across mobile and desktop."

The agent inventories all routes and interactive states, builds a coverage matrix with 47 cases across four viewports and two themes, runs automated captures, inspects each one, finds 8 issues (a sidebar overflow at 320px, two overlapping buttons in the modal, misaligned icons in dark mode, and others), fixes the root causes in shared components, adds regression assertions, reruns the full matrix, and delivers a report with before/after evidence for each fix.

Related skills

  • Surface Sweep Showcase — Visual QA plus screenshot-led product showcase combining Surface Sweep quality checks with deliverable captures.

Source

Canonical implementation: devin-thomas/skills (opens in a new tab)

All skills