/site-qa:slop-ui-auditfrom site-qa
Audit a website for unconsidered UI and leaks - broken images, gutter drift, cross-page inconsistency, meta hygiene, AI/agent comments and secrets in shipped HTML/JS, plus AI 'slop' design tells - and produce a prioritised fix list.
Ships in site-qa. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Finds the things that get past functional QA because nothing throws an error: broken images, sections that don't share a gutter, the same button styled four ways, a typo in a testimonial, agent changelogs and keys shipped in the page source, and the AI-default design tells from Pranav Desai's '10 Tells of Slop UI' (hereticpleb.vercel.app/blog/10-tells-of-slop). The aim is a site that looks like somebody decided things.
Use when asked to review, QA or audit a site or page, check for slop or an 'AI-generated look', check a site before launch, or scan a site's source for leaked comments, keys or secrets.
All three live in scripts/ next to this file. Copy them into the working directory before running.
| File | Runs in | Does |
|---|---|---|
scripts/leak-crawl.mjs | Node 18+, no dependencies | Crawls the site (same host, depth 2, seeded from sitemap.xml), saves page text, scans HTML/JS/CSS/source maps for secrets and comments, optional exposed-file probe |
scripts/site-qa-scan.js | Any page context (Playwright, Chrome/built-in browser JS tool, DevTools) | Measures one page: broken, layout/gutters, meta, leakage, consistency fingerprint, slop leads, proofread corpus |
scripts/qa-run.js | Node + Playwright | Runs the scan across pages at 1440 and 390, saves screenshots, diffs pages for consistency |
--probe option on sites the person owns or is authorised to test.node leak-crawl.mjs https://example.com --depth 2 --max 150 --out ./leak-out # add --probe only with authorisation
It follows the start URL's redirects (apex to www and so on) and crawls that host. It scans raw HTML, inline scripts and styles, and the site's own JS/CSS, including builder CDNs; analytics and widget hosts are skipped unless --third-party is set. It also scans any public source maps. It looks for:
password = '...' style assignments. Publishable-by-design keys (Stripe pk_, GA/GTM IDs, reCAPTCHA site keys) are ignored..map files expose original source; their sourcesContent is scanned too.--probe only): /.env, /.git/HEAD, /.DS_Store and similar. Catch-all 404 pages that return 200 are detected and ignored.Read leak-out/leak-report.md. Then proofread the text files in leak-out/text/ (typos, placeholder copy, inconsistent product names and figures across pages). A dictionary pass (e.g. pyspellchecker) narrows it down; the model does the rest.
Also check the response headers of the home page (curl -sI): Content-Security-Policy, X-Frame-Options or frame-ancestors, Permissions-Policy, Strict-Transport-Security, X-Content-Type-Options, Referrer-Policy, and whether /.well-known/security.txt exists.
Why agent comments are a security issue, and how to grade them: shipped comments are information disclosure (CWE-615; OWASP WSTG-INFO-05). By themselves they're usually low severity, but they:
Grade them as follows:
.env/.git exposure.Browser API keys (e.g. Google Maps AIza…) are public by design but must be referrer-restricted. Flag them for a restriction check rather than as a leak.
Pick the 3-5 key page types (home, a product page, a long-form content page, a form, the demo/contact page). Run site-qa-scan.js on each at 1440 and 390 wide. If the site has a theme toggle, also screenshot dark mode. Where reachable, also scan empty, loading and error states; that's where decorative badges and 'Welcome to your Dashboard ✨' tend to live.
Browser tooling, first that works:
site-qa-scan.js and qa-run.js side by side, then run node qa-run.js https://site.com/ '' about pricing ('' is the home page; if playwright isn't resolvable, run npm i playwright or set NODE_PATH=$(npm root -g)). You get JSON per page and viewport, full-page screenshots, and an automatic cross-page consistency diff in qa-results.json.browser_evaluate with the script contents (set window.__qaOpts = {links:true, scripts:true} first to also check links and scan JS).javascript_tool) or the built-in browser (preview_start then javascript_tool). Useful for logged-in pages. If the tool doesn't await promises, run the script, then read window.__siteQA.Full-page screenshots taken after scrolling can misplace sticky headers and cookie banners. Confirm anything that looks off with a fresh viewport-only screenshot before reporting it.
What the scan returns:
checks.broken:
{{tokens}}, undefined/NaN, doubled words;checks.layout:
gutterMap lists every band with its top y, left and right edges;checks.meta: title and description length and duplicates, meta keywords (stuffing), og/twitter cards, canonical, robots noindex, lang, h1 count, generator leak, JSON-LD parse errors and duplication, head weight. For site-wide meta, schema, semantic HTML and copy patterns, run the sibling content-structure-audit skill (content-audit.mjs) rather than looping curl.checks.leakage: the same comment and secret detectors as the crawler, but on the rendered DOM, plus builder fingerprints.checks.consistency plus fingerprint: CTA label variants, distinct button styles, radius scale, font families. The runner diffs body font, headings, gutter, radii and CTA styles across pages.slopLeads: raw signals for the 10 tells (no score).proofread: up to 250 short visible strings (headings, labels, buttons, captions). Read them for typos; regex won't catch 'Seniro'.Gutters (the thing experienced eyes spot first). Read gutterMap top to bottom next to the full-page screenshot. A healthy page has one left edge (for example 48px desktop, 20px mobile) shared by the header logo, section content and footer. Deliberate exceptions are full-bleed media, centred statement bands and a narrower reading column on articles. Report each drift with the section, the actual edge and the target. The fix is always a single container token (e.g. --gutter: clamp(20px, 4vw, 48px) and one max-width), applied to every section wrapper, rather than per-section padding.
Broken, layout, consistency: confirm each on the screenshot, crop evidence, and give the exact fix. Also check hover and focus states (missing, or only a colour shift) and dark mode if the site supports it (inverted bands that become white slabs are a common miss).
Mock content: product mock-ups on marketing pages age. Flag hard-coded dates that are about to pass, named model versions and real-world names that may not suit the audience.
Slop tells - judge the leads:
| # | Tell | Judge | Considered fix |
|---|---|---|---|
| 1 | Gradients everywhere | Is there one intentional gradient moment, or is it the default fill? Photo overlays are fine; gradient text and glow blobs usually aren't. Purple to pink/indigo is the classic tell. | Flat brand colour for actions; at most one gradient, tied to brand hues. |
| 2 | Rainbow palette | Does colour carry meaning? Two accents taking turns as 'the brand colour'? Pills coloured for variety? Aim for 70/30/10. | One accent, one neutral scale; semantic colours for state only. |
| 3 | Pulsing badges | For each badge: what's its inverse state, and can the user ever see it? Infinite animation on static claims? reducedMotionRespected? | Delete badges with no inverse state; animate only real change; honour prefers-reduced-motion. |
| 4 | Fingernail cards | Is everything a rounded card? How many radii are in use? Cards nested in cards with the same radius? | Radius scale of 2-3 values; inner radius = outer minus gap; lists or tables instead of card grids for uniform items. |
| 5 | Emoji | Does any emoji carry information? | Remove from headings, buttons and nav; use one icon set. |
| 6 | Misalignment | Covered by the layout checks plus a zoom on icon rows and tables at 390. | Shared grid; align-items:center; monospace for ASCII. |
| 7 | Fonts | Any typographic voice? Same face everywhere? Does the body font change between pages? // prefixes as costume? | A deliberate pairing, loaded once as a token. |
| 8 | Prompt residue | 'Built with…', 'Why it matters:', 'Who uses it:' repeated on every section: headings from the brief, not for the reader. | Delete, or replace with a real quote or proof point. |
| 9 | Glassmorphism | Is blur solving layering, or decoration? Blur on an opaque background does nothing. | Solid surfaces; one blurred overlay at most, contrast-checked. |
| 10 | Hype and slogans | Buzzwords, but also the formula 'Every X. Every Y. Z.' repeated in every heading, and 'actually' tics. | One slogan (the hero); every other heading says something specific. |
Grep for the root cause so fixes land in tokens and components, not one-off overrides:
bg-gradient-to-|from-purple|from-violet|via-pink|linear-gradient\(|bg-clip-textanimate-pulse|animate-ping|@keyframes pulse|infiniterounded-(2xl|3xl|\[)|border-radius:\s*(1[6-9]|[2-9]\d)pxbackdrop-blur|backdrop-filter|bg-white/(5|10|20)Inter|Geist|JetBrains|font-mono|fontFamilypadding-inline, px-, max-w- and container class on section wrappers. There should be one.Built with|Powered by|Seamless|Elevate|Supercharge|Unleash|Empower|cutting-edge|Welcome backrg -P '\p{Extended_Pictographic}' across .tsx|.jsx|.vue|.php|.twig|.htmlcomments: false, and doesn't publish source maps. For hosted builders (Webflow, WordPress custom code), check custom-code embeds, which ship verbatim.Recommend changes at the design-token level (colour, radius, font, gutter, motion) first; component fixes second; one-offs last.
# Site QA audit - <site> (<date>)
**Scope:** N pages crawled (depth 2), M pages scanned in a browser at 1440/390 · **Confirmed issues:** security X · broken X · layout X · consistency X · meta X · slop X
## Fix first (highest impact for least effort)
1. ...
## 1. Security leakage
## 2. Broken
## 3. Layout - gutters, overlap, overflow, contrast
(include a gutter table: section | left edge | target)
## 4. Cross-page consistency
## 5. Meta
## 6. Slop tells (judged)
## What's working (keep it)
Save evidence crops beside the report. Adjust anything the scripts got wrong, and say what you changed.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub cleggypdc/claude-skills --plugin site-qa3 skills in this plugin
/content-structure-auditAudit a site's content and structure for search and AI answer engines - semantic HTML, meta, schema and entity graph, llms.txt and crawler access, answer-first copy, citations, boilerplate, cannibalisation and prose slop - and use the Wayback Machine to see which content strategies survived. Produces a prioritised fix list./security-signals-auditCheck whether a website shows the outward signs of good security posture - HTTPS and HSTS, security headers and CSP quality, cookie flags, leaked secrets and source maps, vulnerable JS libraries, SRI, security.txt, trackers before consent, SPF/DMARC/CAA - passively by default, with owner-only probes. Produces a gate result and a fix list.