Debug frontend issues using Chrome DevTools MCP. Find root causes of UI bugs, console errors, network failures, DOM problems. Use when user mentions "debug", "fix bug", "troubleshoot", "not working", "error", "console", or has UI/DOM/network issues.
Debug frontend issues using Chrome DevTools MCP. Triggers when user mentions "debug", "fix bug", "troubleshoot", "not working", "error", "console", or reports UI/DOM/network problems.
/plugin marketplace add ovftank/ovf-flow/plugin install ovf-flow@ovf-flowThis skill is limited to using the following tools:
EXAMPLES.mdREADME.mdWORKFLOWS.mdreference/FRAMEWORK-DEBUG.mdreference/TAILWIND-DEBUG.mdSystematically debug frontend issues to find root cause before fixing.
MUST use AskUserQuestion tool for ALL questions.
Example:
// WRONG - User cannot see or respond to this:
"What is the URL of the page with the bug?"
// CORRECT - Uses AskUserQuestion:
AskUserQuestion({
"questions": [{
"question": "What is the URL of the page with the bug?",
"header": "Bug URL",
"options": [
{ "label": "http://localhost:3000", "description": "Local development server" },
{ "label": "https://staging.example.com", "description": "Staging environment" },
{ "label": "https://production.example.com", "description": "Production site" }
],
"multiSelect": false
}]
})
When to use AskUserQuestion:
- When does the bug appear?
- Minimum conditions to reproduce?
- Deterministic or random?
If NOT reproduced → STOP.
Trace full flow:
Pinpoint which node is wrong.
Ask repeatedly:
List assumptions you implicitly believe:
Flip each assumption and test.
Identify constraints:
Eliminate each constraint.
Compare:
Seeing console errors? → Follow Console workflow Network request failed? → Follow Network workflow UI not rendering correctly? → Follow DOM workflow React/Next.js/Astro weird behavior? → Follow Framework workflow
# Console errors
mcp__chrome-devtools__list_console_messages({ "types": ["error"] })
# Network requests
mcp__chrome-devtools__list_network_requests({ "resourceTypes": ["xhr", "fetch"] })
# Take snapshot
mcp__chrome-devtools__take_snapshot({})
# Navigate
mcp__chrome-devtools__navigate_page({ "type": "url", "url": "<url>" })
Need to inspect runtime values? → Use console.log debugging patterns
CSS styling, ANSI colors, grouping, timing, counting for production-grade logs.
ALWAYS use Context7 for framework issues:
// Direct library ID (preferred)
mcp__context7__query-docs({
"libraryId": "/websites/react_dev",
"query": "useEffect stale closure debugging"
})
// Resolve when library ID unknown
mcp__context7__resolve-library-id({ "libraryName": "astro" })
Common libraries: /websites/react_dev, /vercel/next.js, /withastro/astro, /tailwindlabs/tailwindcss.com
wget -O - https://docs.astro.build/llms-full.txt | html2text -
wget -O - https://rsbuild.rs/llms-full.txt | html2text -
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.