david-li0406/meta-skill-evloving/merged-91d19647b58dc08c-browser-debugging-and-automation
Claude Code and agent skill by david-li0406/meta-skill-evloving
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Use this skill for comprehensive browser debugging, UI testing, and performance analysis using Chrome DevTools MCP. Ideal for validating UI functionality, monitoring console output, analyzing network requests, and ensuring design fidelity.
Install
npx vskill@latest install david-li0406/meta-skill-evloving/merged-91d19647b58dc08c-browser-debugging-and-automationSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as david-li0406/meta-skill-evloving/merged-91d19647b58dc08c-browser-debugging-and-automation.
Browser Debugging and Automation
This skill provides a robust framework for browser-based UI testing, visual analysis, and debugging capabilities using Chrome DevTools MCP and optional external vision models via Claudish.
When to Use This Skill
Invoke this skill when:
- Validating Own Work: After implementing UI features, verify functionality in a real browser.
- Design Fidelity Checks: Compare implementation screenshots against design references.
- Visual Regression Testing: Detect layout shifts, styling issues, or visual bugs.
- Console Error Investigation: Address user-reported console errors or warnings.
- Form/Interaction Testing: Ensure user interactions work correctly.
- Pre-Commit Verification: Validate changes before committing or deploying code.
- Bug Reproduction: Investigate UI bugs described by users.
- Performance Analysis: Analyze network requests and performance metrics.
Prerequisites
Required: Chrome DevTools MCP
Ensure Chrome DevTools MCP is installed and available:
Optional: External Vision Models (via OpenRouter)
For advanced visual analysis, use external vision-language models via Claudish:
Core Tools
Page Management
- list_pages: Get all open pages.
- select_page: Select a page for operations.
- navigate_page: Navigate to a specific URL or reload.
- close_page: Close a specific page.
Snapshots and Screenshots
- take_snapshot: Get the current DOM structure with element UIDs.
- take_screenshot: Capture a visual representation of the page.
Element Interaction
- click: Click on an element using its UID.
- fill: Type text into input fields.
- hover: Hover over an element.
- handle_dialog: Accept or dismiss browser alerts.
Debugging Tools
- list_console_messages: Get console output.
- list_network_requests: Analyze network traffic.
- evaluate_script: Execute JavaScript in the page context.
Performance Tools
- performance_start_trace: Start recording a performance profile.
- performance_stop_trace: Stop recording and save the trace.
Workflow Patterns
Pattern A: Identifying Elements
- Take a Snapshot: Use
take_snapshotto get the current page structure. - Find the UID: Identify the target element's UID.
- Interact: Use
click(uid=...)orfill(uid=..., value=...).
Pattern B: Troubleshooting Errors
- Check Console: Use
list_console_messagesto identify JavaScript errors. - Inspect Network: Use
list_network_requeststo find failed resources. - Evaluate Script: Use
evaluate_scriptto check specific DOM values.
Pattern C: Performance Profiling
- Start Trace: Use
performance_start_trace(reload=true, autoStop=true). - Wait for Load: Allow the page to load or the trace to finish.
- Analyze Insights: Use
performance_analyze_insightto identify performance issues.
Best Practices
- Always Snapshot First: Use
take_snapshotbefore interacting to get UIDs. - Select Page First: Use
select_pagebefore page-specific operations. - Check Console for Errors: Use
list_console_messagesfor debugging. - Inspect Network: Use
list_network_requeststo debug API issues.
Example Usage
1. Validate UI After Implementation
2. Perform Design Fidelity Check
Related Skills
- react-typescript - React component patterns.
- tanstack-router - Navigation and routing.
- shadcn-ui - Component library usage.
- testing-frontend - Automated testing strategies.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskill-flow/data/skills-refined-autoskill-36k/skillsmp/merged-91d19647b58dc08c-browser-debugging-and-automation/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
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/david-li0406/meta-skill-evloving/merged-91d19647b58dc08c-browser-debugging-and-automation)