/common-web-visual-testing
Standardizes visual audits, responsive design, and behavioral testing for web apps. Use to verify a web UI fix or cross-browser behavior; defer backend API refactors, Playwright installation/tooling setup, and Appium/mobile automation.
$ npx -y skills add hoangnguyen0403/agent-skills-standard --skill common-web-visual-testing --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition โ
- You can call itInvoke it directly when you want it.
- Slash command
/common-web-visual-testing
Context preview
The summary Claude sees to decide when to auto-load this skill.
Standardizes visual audits, responsive design, and behavioral testing for web apps. Use to verify a web UI fix or cross-browser behavior; defer backend API refactors, Playwright installation/tooling setup, and Appium/mobile automation.
SKILL.md
common-web-visual-testing.SKILL.mdname: common-web-visual-testing
description: Standardizes visual audits, responsive design, and behavioral testing for web apps. Use to verify a web UI fix or cross-browser behavior; defer backend API refactors, Playwright installation/tooling setup, and Appium/mobile automation.
metadata:
triggers:
keywords:
- web test
- browser test
- responsive audit
- verify web ui
- cross-browser check
- web accessibility๐ Web Visual & Behavioral Testing
**Priority: P1 (HIGH)**
> [!IMPORTANT] > **Tier 2 (Methodology)**: Strategy web UI/UX audit. > **Tier 3 (Domain)**: Responsive, A11y (WCAG), Browser Engine quirk.
๐งช Testing Mindset (Comparative Audit)
Visual test best as **Comparative Audit** loop:
1. **Baseline (Before)**: Capture `snapshot --aria` + `screenshot` prod/main. 2. **Implementation (After)**: Capture same local/feature. 3. **Audit**: Compare state for regression, CLS, Aria drift.
Responses must label the two captures as **Before** and **After** (or Baseline and Fixed) and include the diff and neighboring-element side-effect check.
๐ Scenario Matrix
| Change Type | Scenarios to Run | | :---------------- | :------------------------------------------------- | | **CSS/Layout** | Responsive Audit + Hover + CLS Check | | **Forms/Input** | Validation Msg + Focus State + Error Boundary | | **Navigation** | URL Sync + Sticky Header + Back-Button Persistence | | **Assets/Fonts** | Lazy Load + Icon Check + LCP Audit | | **Accessibility** | Tab Order + Aria-Snapshot + Color Contrast |
๐ซ Anti-Patterns
- **Single-Viewport**: Never verify Desktop only. Check Mobile (375px) + Tablet (768px).
- **Ignore Layout Shift**: Check loading state (skeleton) โ no page jump.
- **Unmasked Dynamic**: **MUST** mask timestamp/balance via `--mask` or JS (`opacity: 0`). Avoid "False Regression".
- **Blind Assertion**: Use `playwright-cli snapshot --aria` verify state before done.
- **External Dependency**: Mock/bypass 3rd-party (Chat, Analytics) โ prevent flakiness.
๐ References
- **playwright-cli**: [playwright-cli](../../quality-engineering/quality-engineering-playwright-cli/SKILL.md)
- **Diagnostic Decoder**: [diagnostic-decoder](references/diagnostic-decoder.md)
- **DOM vs Screenshot**: [dom-snapshot-vs-screenshot](references/dom-snapshot-vs-screenshot.md)
- **Login & Data**: [login-and-test-data](references/login-and-test-data.md)
- **Scenario Details**: [scenarios](references/scenarios.md)
Read more
name: common-web-visual-testing
description: Standardizes visual audits, responsive design, and behavioral testing for web apps. Use to verify a web UI fix or cross-browser behavior; defer backend API refactors, Playwright installation/tooling setup, and Appium/mobile automation.
metadata:
triggers:
keywords:
- web test
- browser test
- responsive audit
- verify web ui
- cross-browser check
- web accessibility๐ Web Visual & Behavioral Testing
**Priority: P1 (HIGH)**
> [!IMPORTANT] > **Tier 2 (Methodology)**: Strategy web UI/UX audit. > **Tier 3 (Domain)**: Responsive, A11y (WCAG), Browser Engine quirk.
๐งช Testing Mindset (Comparative Audit)
Visual test best as **Comparative Audit** loop:
1. **Baseline (Before)**: Capture `snapshot --aria` + `screenshot` prod/main. 2. **Implementation (After)**: Capture same local/feature. 3. **Audit**: Compare state for regression, CLS, Aria drift.
Responses must label the two captures as **Before** and **After** (or Baseline and Fixed) and include the diff and neighboring-element side-effect check.
๐ Scenario Matrix
| Change Type | Scenarios to Run | | :---------------- | :------------------------------------------------- | | **CSS/Layout** | Responsive Audit + Hover + CLS Check | | **Forms/Input** | Validation Msg + Focus State + Error Boundary | | **Navigation** | URL Sync + Sticky Header + Back-Button Persistence | | **Assets/Fonts** | Lazy Load + Icon Check + LCP Audit | | **Accessibility** | Tab Order + Aria-Snapshot + Color Contrast |
๐ซ Anti-Patterns
- **Single-Viewport**: Never verify Desktop only. Check Mobile (375px) + Tablet (768px).
- **Ignore Layout Shift**: Check loading state (skeleton) โ no page jump.
- **Unmasked Dynamic**: **MUST** mask timestamp/balance via `--mask` or JS (`opacity: 0`). Avoid "False Regression".
- **Blind Assertion**: Use `playwright-cli snapshot --aria` verify state before done.
- **External Dependency**: Mock/bypass 3rd-party (Chat, Analytics) โ prevent flakiness.
๐ References
- **playwright-cli**: [playwright-cli](../../quality-engineering/quality-engineering-playwright-cli/SKILL.md)
- **Diagnostic Decoder**: [diagnostic-decoder](references/diagnostic-decoder.md)
- **DOM vs Screenshot**: [dom-snapshot-vs-screenshot](references/dom-snapshot-vs-screenshot.md)
- **Login & Data**: [login-and-test-data](references/login-and-test-data.md)
- **Scenario Details**: [scenarios](references/scenarios.md)
The portable SDLC standards layer for AI coding agents. Sync once, then work in your own runtime.
Repo: hoangnguyen0403/agent-skills-standard
Other skills on agent-skills-standard.
- /android-agp-upgrade
Upgrade an Android project to Android Gradle Plugin (AGP) 9. Use when migrating to AGP 9, updating Gradle build files, migrating to built-in Kotlin, or adopting the new AGP DSL.
Open skill - /android-architecture
Apply Clean Architecture layering, modularization, and Unidirectional Data Flow in Android projects. Use when setting up project structure, placing code in layers, configuring feature/core modules, or implementing UDF patterns; defer Compose state and ViewModel/StateFlow
Open skill - /android-background-work
Implement WorkManager and background processing correctly on Android. Use when creating Worker classes, scheduling tasks, choosing between WorkManager and Foreground Services, or setting up Hilt in workers; defer FCM and notification delivery to android-notifications.
Open skill - /android-compose-migration
Migrate an Android XML View to Jetpack Compose following a structured 10-step workflow. Use when converting XML layouts to Compose, setting up Compose in an existing View-based project, or incrementally adopting Compose.
Open skill - /android-compose
Build high-performance declarative UI with Jetpack Compose. Use when writing Composable functions, optimizing recomposition, hoisting state, or working with LazyColumn and side effects; defer deep-link and navigation routing to android-navigation.
Open skill - /android-concurrency
Write correct coroutine scopes, lifecycle collection, and dispatcher injection in Android production code. Use for suspend functions, coroutine scopes, and dispatcher mechanics; defer ViewModel StateFlow/LiveData architecture, Fragment lifecycle recipes,
Open skill

