creative-web-qa
/creative-web-qa
Verifies UI, scroll-motion and WebGL changes before they are reported done — checks which server is on the port, typecheck and lint, Playwright screenshots of every scroll stage and pinned section on desktop and mobile, console and shader errors, axe accessibility in both motion modes and Lighthouse. Bundled scripts exit non-zero on problems. Use when a frontend page was just built or changed, when the user asks to check, test, screenshot or audit a design, or before saying a visual task is finished. Do NOT use for backend or unit tests.
- Author
- AfkanOzdemir ↗
- Repository
- creative-web-skills ↗
- Licence
- MIT
- Last repository change
- 05.11.2026
Assessment and security
- Files in this package
- 4
- Scripts
- 3
- HTML comments
- 0
- URLs in SKILL.md
- 2
No signals detected. Repository changed on 05.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 3 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: scripts/axe-check.mjs, scripts/stage-shots.mjs, scripts/which-server.sh
What it does and when to use it
Verifies UI, scroll-motion and WebGL changes before they are reported done — checks which server is on the port, typecheck and lint, Playwright screenshots of every scroll stage and pinned section on desktop and mobile, console and shader errors, axe accessibility in both motion modes and Lighthouse. Bundled scripts exit non-zero on problems. Use when a frontend page was just built or changed, when the user asks to check, test, screenshot or audit a design, or before saying a visual task is finished. Do NOT use for backend or unit tests.
Original author description
Verifies UI, scroll-motion and WebGL changes before they are reported done — checks which server is on the port, typecheck and lint, Playwright screenshots of every scroll stage and pinned section on desktop and mobile, console and shader errors, axe accessibility in both motion modes and Lighthouse. Bundled scripts exit non-zero on problems. Use when a frontend page was just built or changed, when the user asks to check, test, screenshot or audit a design, or before saying a visual task is finished. Do NOT use for backend or unit tests.
How it works
- Critical
- 1. Static checks
- 2. Make sure you are looking at the current code
- 3. Stage screenshots
- 4. Logged-in surfaces
- 5. Accessibility (both motion modes)
- 6. Performance
- Troubleshooting
- 8. Report
- Workflow
SKILL.md preview
---
name: creative-web-qa
description: Verifies UI, scroll-motion and WebGL changes before they are reported done — checks which server is on the port, typecheck and lint, Playwright screenshots of every scroll stage and pinned section on desktop and mobile, console and shader errors, axe accessibility in both motion modes and Lighthouse. Bundled scripts exit non-zero on problems. Use when a frontend page was just built or changed, when the user asks to check, test, screenshot or audit a design, or before saying a visual task is finished. Do NOT use for backend or unit tests.
license: MIT
compatibility: Works in Claude Code (needs shell access). Requires node, playwright and axe-core installed in the project (npm i -D playwright axe-core) and a running dev server.
metadata:
author: afkanozdemir
version: 1.0.1
suite: creative-web
tags: [frontend, design, motion]
---
# Design QA loop
Never report a visual change as done without seeing it rendered, at the sizes it ships at, in every
animation phase. Batch: shoot all stages, fix everything you see, shoot again.
## Critical
- Run `bash scripts/which-server.sh <port>` first. If it reports a production server, your edits are not on screen.
- Never report a visual change as done without looking at the screenshots at desktop and mobile sizes.
- Use local test accounts only; never put real credentials in scripts or commits.
- Report what could not be verified, and why.
Placeholders: `BASE_URL`, `PAGE_PATH`, `OUT_DIR`, `EMAIL_SELECTOR`, `PASSWORD_SELECTOR`, `TEST_ACCOUNT`.
## 1. Static checks
```bash
npx tsc --noEmit -p .
npx eslint <changed dirs>
npx prettier --write <changed files> # re-read files before exact-string edits afterwards
git diff | grep -n "shadow" # if the design system bans shadows
```
## 2. Make sure you are looking at the current code
Check what serves the port before trusting screenshots:
```bash
lsof -iTCP:3000 -sTCP:LISTEN; ps -o command -p <pid>
```
If it is `next start` (an old production build), don't kill the user's process — run `next dev -p 3100`
from a copy of the repo (or ask) and point tests at that port.
## 3. Stage screenshots
```js
import { chromium } from 'playwright'
const b = await chromium.launch()
for (const [name, vp] of [['d', { width: 1440, height: 900 }], ['m', { width: 390, height: 844 }]]) {
const p = await b.newPage({ viewport: vp }); const errs = []
p.on('pageerror', (e) => errs.push(e.message))
p.on('console', (m) => { if (['error', 'warning'].includes(m.type())) errs.push(m.text()) })
await p.addInitScript(() => { const s = document.createElement('style')
s.textContent = 'nextjs-portal{display:none!important}'
document.addEventListener('DOMContentLoaded', () => document.head.appendChild(s)) })
await p.goto(`${BASE_URL}${PAGE_PATH}`, { waitUntil: 'networkidle' }); await p.waitForTimeout(2000)
const total = await p.evaluate(() => document.documentElement.scrollHeight)
const overflow = await p.evaluate(() => document.documentElement.scrollWidth - innerWidth)
let k = 0
for (let y = 0; y < total; y += Math.round(vp.height * 0.5)) {
await p.evaluate((y) => scrollTo(0, y), y); await p.waitForTimeout(1000)
await p.screenshot({ path: `${OUT_DIR}/${name}-${String(k++).padStart(2, '0')}.png` })
}
console.log(name, { total, overflow, errs })
}
await b.close()
```
**Pinned sections:** also shoot each pin at 50% and ~97% of its spacer:
```js
const secs = await p.evaluate(() => [...document.querySelectorAll('section')].map((s) => {
const sp = s.parentElement.classList.contains('pin-spacer') ? s.parentElement : s
return { top: sp.getBoundingClientRect().top + scrollY, h: sp.offsetHeight, sh: s.offsetHeight } }))
// pinned when h > sh: y = top + (h - innerHeight) * f
```
Wait ≥1.2s per stop (scrub smoothing + scene easing). Judge: legibility over scenes, whiteouts, overlaps
(e.g. particle text colliding with copy), cropping on mobile, header contrast on dark sections.
## 4. Logged-in surfaces
Log in through the real form (`EMAIL_SELECTOR`, `PASSWORD_SELECTOR`, submit, `waitForURL`) with a
**local test account only** — never production credentials, never commit them. Open dialogs via UI or
app events, screenshot each state on desktop and mobile, then press Escape.
## 5. Accessibility (both motion modes)
```js
const c = await b.newContext({ viewport: { width: 1440, height: 900 }, reducedMotion: 'reduce' }) // and 'no-preference'
await p.addScriptTag({ path: require.resolve('axe-core/axe.min.js') })
const v = await p.evaluate(async () => (await axe.run(document, { runOnly: ['wcag2a', 'wcag2aa'] }))
.violations.map((v) => ({ id: v.id, nodes: v.nodes.map((n) => n.html.slice(0, 120)) })))
```
Also take a `fullPage` screenshot under `reducedMotion: 'reduce'` — every piece of content must be visible.
## 6. Performance
Lighthouse on a production build (`npx lighthouse <url> --preset=desktop`). WebGL: pause off-screen
(IntersectionObserver), cap DPR (1.5 mobile / 1.75 desktop), fewer instances on mobile, dispose on unmount.
## Troubleshooting
| Problem | Cause | Fix |
|---|---|---|
| Black canvas, `Illegal use of reserved word` | GLSL reserved identifier (`asm`, `input`, `filter`, `sample`…) | rename; always read console |
| Constant undefined in server component | imported from a `'use client'` module | move to `tokens.ts` |
| i18n hook type error on nested namespace | object arrays in messages | small `useSub(ns)` helper / cast key |
| Lint: react-hooks/immutability | mutating state object | `gsap.set(obj, {...})` |
| Diacritics clipped | SplitText masks | `leading-[1.08] pb-[0.04em]` |
| axe `color-contrast` mid-animation | text starts at low opacity | animate transform, or start opacity ≥0.45 |
| axe `aria-prohibited-attr` on `<p>` | SplitText adds `aria-label` | `aria: 'none'` on non-heading text |
| axe contrast on decorative marquee | aria-hidden text still audited | keep ≥3:1 for large text |
| Changes not visible | port serves `next start` | run dev on another port |
| Particle text over copy | scene centred in a section with copy | offset/scale scene by aspect; place labels relative to it |
| Ring looks like a flat line | orbit in tilted plane while spinning | ring in XZ plane, tilt the group |
| Hero card blows out to white | scale + bloom + camera push | cap scale ~1.2×, brightness ~0.85 |
| Exact-string edit fails | formatter rewrapped code | re-read or regex edit |
| `sed \b` no-op on macOS | BSD sed | `perl -pi -e` |
| Double fetch in dialog | old + new renderer both mounted hooks | flavour wrapper renders one |
| Header colour wrong in pinned dark section | trigger ends at pin start | trigger = pin-spacer |
## 8. Report
Per section: what changed, what was verified (typecheck, lint, screenshots desktop/mobile, axe both
modes, console), what could **not** be verified and why, where screenshots live, and whether anything
was committed.
## Workflow
1. `bash scripts/which-server.sh 3000` — expect `dev server`.
2. Typecheck and lint the changed files, then `node ../creative-web/scripts/motionlint.mjs <changed paths>` —
expect `0 FAIL`; every REFLEX fixed or waived with a reason.
3. `node scripts/stage-shots.mjs http://localhost:3000/page out-dir` — expect `overflowX: 0`, no errors, exit 0; open the PNGs.
4. `node scripts/axe-check.mjs http://localhost:3000/page` — expect `clean` for both motion modes.
5. Fix everything seen, then repeat steps 3–4 once.
6. Report with the template in section 8.
## Examples
**User says:** "Check the new pricing page."
**Actions:** which-server → typecheck/lint → stage-shots (desktop + mobile, pinned sections at 50%/97%) → axe both modes → fix → re-run.
**Result:** a short report listing what was verified, with screenshot paths and zero open violations.
**User says:** "My changes don't show up."
**Actions:** which-server reports `next start` → run dev on another port from a copy instead of killing the user's process.
**Result:** screenshots of the actual current code.
Files in this package (4)
- SKILL.md 8 KB
- scripts/axe-check.mjs 1 KB
- scripts/stage-shots.mjs 2 KB
- scripts/which-server.sh 1 KB
Versions
The database has no other skills named creative-web-qa.
Database snapshot: 13.11.2026 · package version daec7800b998 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90devtools
Frontend DevTools audit workflow — Lighthouse/CWV, a11y (axe), network/layout, when checks are MUST vs optional. Use for /test-ui deep passes, "audit performance", "cek Lighthouse", "axe", or verifying UI before ship with tooling evidence. - 100web-qa
Autonomous web app QA — Playwright E2E + visual regression + axe-core accessibility, with auto-generated test scenarios from git diff or text instructions. Project-portable (each project owns its `.web-qa/` state). Use when the user asks to test a website, verify a frontend… - 100axe-core
axe-core - accessibility testing engine for automated WCAG compliance checks. USE WHEN: user mentions "axe", "automated accessibility testing", "a11y tests", asks about "integrating accessibility checks", "CI/CD accessibility", "Playwright accessibility", "Jest accessibility",… - 100browser-qa
Run automated post-deploy UI verification with a browser automation MCP (claude-in-chrome, Playwright, or Puppeteer): console-error and Core Web Vitals smoke checks, form and auth-flow interaction tests, screenshot visual regression across three breakpoints, and axe-core… - 100automated-accessibility-testing-axe-lighthouse
Use this skill when integrating automated accessibility linting and audits into CI/CD build pipelines using axe-core and Lighthouse. - 100testing-e2e
End-to-end testing patterns with Playwright — page objects, AI agent testing, visual regression, accessibility testing with axe-core, and CI integration. Use when writing E2E tests, setting up Playwright, implementing visual regression, or testing accessibility.