browser-validator
БесплатноБез исполняемых скриптовНе проверенAutomatically validate implementations in real browsers after code is written or when user says "test this", "test what you built in the browser", "check it…
от kanopi★ 18 звёзд на GitHubОб этом скилле
Browser Validator Skill
Purpose
Validate design implementations in real browsers using Chrome DevTools MCP to ensure quality, accessibility, and responsiveness.
Philosophy
Real browser testing catches issues that code review cannot.
Core Beliefs
- Test in Real Environments: Browsers behave differently than localhost
- Multiple Breakpoints Required: Mobile, tablet, desktop have different challenges
- Accessibility Requires Manual Verification: Automated tools miss context-dependent issues
- Visual QA Prevents Surprises: Screenshots catch layout breaks before users see them
Why Browser Validation Matters
- Cross-Browser Consistency: Ensure components work everywhere
- Responsive Behavior: Verify breakpoints function correctly
- Accessibility Compliance: Check keyboard navigation and screen reader compatibility
- Professional Quality: Catch visual regressions before deployment
When This Skill Activates
This skill automatically activates when:
- User says "test this", "validate", "check if it works"
- After component implementation is complete
- User asks "does it look right?"
- User mentions "browser", "Chrome", or "DevTools"
- Component is ready for QA
- Before submitting for review
Decision Framework
Before validating in browser, determine:
What Needs Validation?
- Responsive behavior → Test layout at 320px, 768px, 1024px breakpoints
- Accessibility → Check contrast, keyboard nav, ARIA, focus indicators
- Interactions → Test hover, click, focus states
- Visual accuracy → Compare with design reference (if provided)
- Functionality → Verify buttons, forms, links work correctly
What Are the Test URLs?
Local development:
http://localhost:8000/componenthttp://site.ddev.site/test-pagehttp://site.test/node/123
Staging/production:
https://staging.example.com/featurehttps://production.com/public-page
URL must be:
- Accessible from your machine
- Fully loaded (not 404, not auth-protected)
- Stable (not constantly changing)
What Breakpoints to Test?
Standard breakpoints (always test):
- ✅ Mobile: 320px x 568px (minimum, iPhone SE)
- ✅ Tablet: 768px x 1024px (iPad)
- ✅ Desktop: 1024px x 768px (laptop)
- ⚠️ Large desktop: 1920px x 1080px (optional)
What to check at each breakpoint:
- Layout doesn't break
- No horizontal scrolling
- Text is readable (no overflow)
- Touch targets ≥ 44px (mobile), ≥ 40px (desktop)
- Images don't extend beyond viewport
What Accessibility Checks?
WCAG 2.1 Level AA (always check):
- ✅ Color contrast: Calculate exact ratios (4.5:1 normal, 3:1 large)
- ✅ Keyboard navigation: Tab through all interactive elements
- ✅ Focus indicators: Visible 2px minimum
- ✅ Semantic HTML: Proper headings, landmarks, ARIA
- ✅ Alt text: Content images have descriptive alt, decorative have alt=""
How to test:
- Use
mcp__chrome-devtools__press_keyto Tab through page - Use
mcp__chrome-devtools__take_snapshotto check DOM structure - Calculate contrast ratios from screenshots
What Interactions to Test?
Interactive states:
:hover- Usemcp__chrome-devtools__hoveron elements:focus- Tab to elements with keyboard:active- Click elements withmcp__chrome-devtools__click
Capture screenshots:
- Initial state
- Each breakpoint
- Hover/focus states
- Any dynamic behavior
What Errors to Check?
Console errors:
- Use
mcp__chrome-devtools__list_console_messages - Check for JavaScript errors
- Report with stack traces
Network issues:
- Use
mcp__chrome-devtools__list_network_requests - Check for 404s, failed requests
- Note slow-loading resources
Decision Tree
User requests browser validation
↓
Check: Chrome DevTools MCP available?
↓ Yes
Navigate to test URL
↓
Test each breakpoint (320/768/1024px)
↓
Capture screenshots at each breakpoint
↓
Check accessibility (contrast/keyboard/ARIA)
↓
Test interactions (hover/focus/click)
↓
Check console & network errors
↓
Generate detailed technical report
Required MCP Integration
This skill requires Chrome DevTools MCP integration. Correct tool names to use:
Navigation & Pages:
mcp__chrome-devtools__navigate_page- Navigate to URLmcp__chrome-devtools__list_pages- Get available pagesmcp__chrome-devtools__new_page- Create new tab
Viewport & Screenshots:
mcp__chrome-devtools__resize_page- Change viewport sizemcp__chrome-devtools__take_screenshot- Capture screenshotmcp__chrome-devtools__take_snapshot- Get DOM structure
Interaction:
mcp__chrome-devtools__click- Click element by UIDmcp__chrome-devtools__hover- Hover over elementmcp__chrome-devtools__fill- Fill form fieldmcp__chrome-devtools__press_key- Press keyboard key
Debugging:
mcp__chrome-devtools__list_console_messages- Get JavaScript errors- `mcp__c
Установить browser-validator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл browser-validator?
Automatically validate implementations in real browsers after code is written or when user says "test this", "test what you built in the browser", "check it in a real browser", or "validate at the breakpoints". Uses Chrome DevTools MCP to test responsive breakpoints (320px, 768px, 1024px), check accessibility compliance (WCAG AA contrast, keyboard navigation, ARIA), validate interactions, and generate detailed technical reports with file paths and specific fixes.
Как установить скилл browser-validator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл browser-validator запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic