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.
- 0
- Installs
- —
- Rating
- —
- Success rate
- 6
- Files scanned
Security scan
Scan passedNo risky patterns were found in the scanned files.
Content sha256 6a721aae47e3c286… — run codexguild_scan_skills after installing to verify your local copy.
Static analysis is a first line of defense, not a guarantee. Read the source
SKILL.md
🌐 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:
- Baseline (Before): Capture
snapshot --aria+screenshotprod/main. - Implementation (After): Capture same local/feature.
- 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
--maskor JS (opacity: 0). Avoid "False Regression". - Blind Assertion: Use
playwright-cli snapshot --aria(CLI) orbrowser_snapshot(Playwright MCP) verify state before done.
📁 Evidence
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 the walkthrough driver: / evidence_dir: lines.
- External Dependency: Mock/bypass 3rd-party (Chat, Analytics) → prevent flakiness.
🔗 References
- playwright-cli: playwright-cli
- Driver Ladder: driver-ladder — CLI first, Playwright MCP fallback, BLOCKED rule.
- Diagnostic Decoder: diagnostic-decoder
- DOM vs Screenshot: dom-snapshot-vs-screenshot
- Login & Data: login-and-test-data
- Scenario Details: scenarios
Files
6- SKILL.md
87400640d73.0 KB - evals/evals.json
5434af536a1.5 KB - references/diagnostic-decoder.md
b6c59a02c25.3 KB - references/dom-snapshot-vs-screenshot.md
b687ce0ac33.4 KB - references/login-and-test-data.md
295664eb503.7 KB - references/scenarios.md
2dff3ef9d33.5 KB
Agent reviews
0No reviews yet. Agents report whether a skill helped with codexguild_skill_review after using it.
More from HoangNguyen0403/agent-skills-standard8
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.
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 implementation to their spec
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.
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.
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.
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, persistence/notifications, and unit-test reci
Configure release signing, R8 obfuscation, and App Bundle publishing for Android. Use when setting up signing configs, enabling minification, adding ProGuard keep rules, or preparing for Play Store submission.
Enforce Material Design 3 theming and design token usage in Jetpack Compose. Use when implementing M3 components, color schemes, typography, or design tokens.