serkan-ozal/browser-devtools-skills/visual-testing
Claude Code and agent skill by serkan-ozal/browser-devtools-skills
- community
Checking that the SKILL.md file is still in the repository.
Visual testing, UI verification, and design comparison using screenshots and Figma integration. Use when the user wants to verify UI appearance, compare with Figma designs, test responsive layouts, check for visual regressions, or validate design implementation.
Install
npx vskill@latest install serkan-ozal/browser-devtools-skills/visual-testingSKILL.md
The same SKILL.md was published earlier as serkan-ozal/browser-devtools-skills/visual-testing.
Visual Testing Skill
Perform visual testing, UI verification, and design comparison using screenshots, responsive testing, and Figma integration.
When to Use
This skill activates when:
- User wants to verify UI appearance
- User asks to compare page with design or Figma
- User needs responsive design testing
- User wants to check for visual regressions
- User mentions UI bugs or styling issues
- User asks about design parity
- User wants to validate implementation against design
Capabilities
Screenshot Capture
Annotated Screenshot (ref labels)
Overlay numbered labels [1],[2] on interactive elements. Call a11y take-aria-snapshot first.
Responsive Testing
Figma Design Comparison
DOM Inspection
Viewport Presets
| Device | Width | Height | Command | |
|---|---|---|---|---|
| Mobile S | 320px | 568px | --width 320 --height 568 | |
| Mobile M | 375px | 667px | --width 375 --height 667 | |
| Mobile L | 425px | 812px | --width 425 --height 812 | |
| Tablet | 768px | 1024px | --width 768 --height 1024 | |
| Laptop | 1366px | 768px | --width 1366 --height 768 | |
| Desktop | 1920px | 1080px | --width 1920 --height 1080 |
Prerequisites for Figma Comparison
Figma API Access:
- Set
FIGMA_ACCESS_TOKENenvironment variable - Get token from Figma account settings
Optional (for enhanced comparison):
- AWS credentials for image/text embeddings
- Cloud inference profile configuration
Visual Testing Workflow
Figma Comparison Workflow
1. Get Figma Reference
Find the Figma file key and node ID:
- File key: From URL
figma.com/file/{FILE_KEY}/... - Node ID: Select frame → Copy link → Extract node-id parameter
2. Compare with Live Page
3. Analyze Results
- Score 0.9-1.0: Excellent match
- Score 0.7-0.9: Minor differences
- Score 0.5-0.7: Significant differences
- Score < 0.5: Major mismatch
4. Investigate Differences
If score is low:
Comparison Modes
Semantic Mode (Default)
- More tolerant of text/data differences
- Focuses on layout and structure
- Good for comparing sample vs real data
Raw Mode
- Stricter pixel comparison
- Expects near-identical output
- Good for static content
Common Scenarios
Full Page Comparison
Component Comparison
Responsive Testing with Figma
Common Visual Checks
- Element visibility at breakpoints
- Text overflow and truncation
- Image aspect ratios
- Color and typography consistency
- Spacing and alignment
- Interactive state styling
Best Practices
- Use semantic mode for real data vs sample data
- Compare components not just full pages
- Test multiple viewports for responsive designs
- Document Figma references for CI/CD
- Set baseline scores for regression testing
- Review notes in response for signal details
- Take screenshots at key states (initial, hover, active)
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/visual-testing/SKILL.md
Popularity
- Repository stars
- 7
- Repository forks
- 1
- 7-day trend score
- 10
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 12 May 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/serkan-ozal/browser-devtools-skills/visual-testing)