erichowens avatar

Playwright Screenshot Inspector

This handles the hard part of visual testing: making sure screenshots actually capture rendered content before you analyze them. The core insight is smart: traditional pixel comparison tells you *what* changed, but LLM vision analysis tells you *why* it matters. It's built around waiting for React hydration properly (not just network idle), running Playwright headless to avoid window spam, and then feeding screenshots to Claude with specific questions about theme compliance, broken layouts, or accessibility issues. Most useful when you're testing UI states that are annoying to verify manually, like dark mode switches or responsive breakpoints. The code patterns for content verification before screenshot capture are genuinely helpful.

skills.sh installs
132
GitHub stars
113
last updated
Jun 3, 2026

Install

$ npx -y skills add erichowens/some_claude_skills --skill playwright-screenshot-inspector --agent claude-code

Installs into .claude/skills of the current project.

Files

Playwright Screenshot Inspector

LLM-powered visual testing expert for automated screenshot capture, analysis, and UI verification using Playwright with multimodal AI inspection.

Activation Triggers

Activate on:

  • "screenshot test", "visual test", "screenshot inspection"
  • "playwright headless", "playwright screenshot"
  • "UI verification", "visual regression"
  • "theme compliance test", "dark mode test", "light mode test"
  • "automated screenshot", "capture and analyze"
  • "compare screenshots", "visual diff"

NOT for:

  • Simple one-off screenshots (use browser DevTools)
  • Pixel-perfect comparison without AI (use native Playwright toHaveScreenshot)
  • Non-web UI testing (use platform-specific tools)
  • Performance testing (use Lighthouse/WebPageTest)

Core Philosophy

Traditional visual testing compares pixels. LLM-powered visual testing understands semantics.

Instead of "these 50 pixels changed", LLM inspection answers:

  • "Is the content actually rendered?"
  • "Does the theme switch correctly?"
  • "Are interactive elements visible and properly styled?"
  • "What's broken vs. what's just different?"

The Screenshot Inspection Loop

Sponsors

Details

Repository
github.com/erichowens/some_claude_skills
Category
Testing & QA
First seen
Jun 3, 2026

More from erichowens/some_claude_skills

All 73
1sickn33 avatarburp-suite-testingsickn33/antigravity-awesome-skillsburp suite testing132skills.sh installs
2absolutelyskilled avatarload-testingabsolutelyskilled/absolutelyskilledload testing127skills.sh installs
30xbigboss avatare2e0xbigboss/claude-codee2e126skills.sh installs
4cinience avataralicloud-ai-audio-cosyvoice-voice-clone-testcinience/alicloud-skillsMinimal CosyVoice voice clone smoke test for Model Studio voice-enrollment.122skills.sh installs
5cinience avataralicloud-ai-audio-cosyvoice-voice-design-testcinience/alicloud-skillsMinimal CosyVoice voice design smoke test for Model Studio voice-enrollment.121skills.sh installs
6aj-geddes avatarStatistical Hypothesis Testingaj-geddes/useful-ai-promptsConduct statistical tests including t-tests, chi-square, ANOVA, and p-value analysis for statistical significance, hypothesis validation, and A/B testing0skills.sh installs