common-accessibility
Enforce WCAG 2.2 AA compliance with semantic HTML, ARIA roles, keyboard navigation, and color contrast standards for web UIs. Use…
Standardizes visual audits, multi-viewport ergonomics, composited contrast, and behavioral testing for web apps. Use to verify web UI changes, responsive design across viewports, zoom reflow, or conduct comparative audits; separates automated smoke from human visual acceptance.
Claude Code
$ npx -y skills add hoangnguyen0403/agent-skills-standard --skill common-web-visual-testing --agent claude-code
Codex
$ npx skills add hoangnguyen0403/agent-skills-standard --skill common-web-visual-testing -a codex -y
Cursor
$ npx skills add hoangnguyen0403/agent-skills-standard --skill common-web-visual-testing -a cursor -y
Gemini CLI
$ npx skills add hoangnguyen0403/agent-skills-standard --skill common-web-visual-testing -a gemini-cli -y
GitHub Copilot
$ npx skills add hoangnguyen0403/agent-skills-standard --skill common-web-visual-testing -a github-copilot -y
OpenCode
$ npx skills add hoangnguyen0403/agent-skills-standard --skill common-web-visual-testing -a opencode -y
Windsurf
$ npx skills add hoangnguyen0403/agent-skills-standard --skill common-web-visual-testing -a windsurf -y
name: common-web-visual-testing
description: Standardizes visual audits, multi-viewport ergonomics, composited contrast, and behavioral testing for web apps. Use to verify web UI changes, responsive design across viewports, zoom reflow, or conduct comparative audits; separates automated smoke from human visual acceptance.
metadata:
triggers:
keywords:
- web test
- browser test
- responsive audit
- verify web ui
- cross-browser check
- web accessibility
- visual testing
- zoom reflow> [!IMPORTANT] > **Tier 2 (Methodology)**: Strategy web UI/UX audit, responsive inspection, rendered acceptance. > **Tier 3 (Domain)**: Responsive, A11y (WCAG), Browser Engine quirk, Multi-viewport Ergonomics.
Never conflate software functionality, visual design quality, and model efficacy:
1. **Functional Technical Smoke**: Automated checks (`snapshot --aria`, DOM inspection, console/network clean; form/CSRF governance ONLY when explicitly exercised). Proves observed scoped behaviors, NOT unexercised policies or visual beauty. 2. **Visual & Human Acceptance**: Real screenshot/video audit across viewports covering hierarchy, type scale, density, composited surfaces, and action reachability. Human maintainer alone grants appearance acceptance; no automated tool or score can sign off. Expert critique != user study. 3. **Model Efficacy Receipts**: Paired same-state same-viewport captures with source identity and actual loaded guidance under controlled protocol. Local refinement is not model generation efficacy.
1. **Baseline (Before)**: Capture `snapshot --aria` + `screenshot` prod/main. 2. **Implementation (After)**: Capture same local/feature. 3. **Audit**: Compare state for visual regression, CLS, Aria drift, and side-effects. Label captures Before and After.
| Change Type | Scenarios to Run | | :---------------- | :------------------------------------------------- | | **CSS/Layout** | Multi-Viewport Audit (15) + Hover (3) + CLS Check | | **Forms/Input** | Validation Msg (8) + Focus State (6) + Error (5) | | **Navigation** | URL Sync + Sticky Header + 200% Zoom Check (16) | | **Assets/Fonts** | Lazy Load + Icon Check + LCP / Layout Shift | | **Accessibility** | Tab Order + Composited Contrast (17) + Aria Diff | | **Visual Review** | Rendered Acceptance Walkthrough (18) + Diffs |
Before/After pairs live in `.playwright-cli/<session>/` as `<AC|step>-before.png` / `<AC|step>-after.png` plus matching `.aria.txt`. Driver rung and dir go in walkthrough `driver:` / `evidence_d
The portable standards layer for AI coding agents. Sync once, then work in your own runtime.
Enforce WCAG 2.2 AA compliance with semantic HTML, ARIA roles, keyboard navigation, and color contrast standards for web UIs. Use…
Define deterministic guardrails for agent tool calls — protected paths, test-file locks during bug fixes, post-edit formatters,…
Apply REST API conventions — HTTP semantics, status codes, versioning, pagination, and OpenAPI standards for any framework. Use…
Audit structural debt, logic leakage, and monolithic components across Web, Mobile, and Backend codebases. Use when reviewing…
Draws architecture diagrams as editable draw.io files with a fixed house style, C4 levels, evidence-tagged shapes, and optional…
Enforce SOLID principles, guard-clause style, function size limits, and intention-revealing naming across all languages. Use when…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.