skills/chrome-debug/SKILL.md
How to use Chrome DevTools MCP for browser debugging. Use when you need to inspect pages, take screenshots, debug UI issues, or verify visual changes.
npx skillsauth add akornmeier/claude-config chrome-debugInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill explains how to use the Chrome DevTools MCP for browser debugging and UI verification.
Before using Chrome DevTools MCP, you must launch Chrome in headless mode with remote debugging enabled:
npm run chrome &
This runs Chrome with the required flags for Docker/containerized environments:
--remote-debugging-port=9222 - Enables MCP connection--no-sandbox - Required for Docker--headless - Runs without display--disable-gpu - Avoids GPU issues in containersWait a few seconds for Chrome to start before using MCP tools.
IMPORTANT: Always save screenshots to the .screenshots directory using the filePath parameter:
mcp__chrome-devtools__take_screenshot with filePath: ".screenshots/descriptive-name.png"
Use descriptive filenames like:
.screenshots/homepage-initial.png.screenshots/login-form-error.png.screenshots/after-click-submit.pngThis allows debugging and visual comparison later.
Start Chrome:
npm run chrome &
Wait 2-3 seconds for startup.
Navigate to the dev server:
mcp__chrome-devtools__navigate_page url="http://localhost:5173"
Take a snapshot to see page structure:
mcp__chrome-devtools__take_snapshot
The snapshot shows element UIDs you can use for interactions.
Take a screenshot for visual verification:
mcp__chrome-devtools__take_screenshot filePath=".screenshots/page-state.png"
Interact with elements using UIDs from snapshot:
mcp__chrome-devtools__click uid="1_4"
mcp__chrome-devtools__fill uid="1_5" value="[email protected]"
.screenshots/ directory with descriptive namesnpm run chrome & againwait_for to ensure page content loads before interactingtools
Use when translating UX specifications into build-order prompts for UI generation tools. Triggers when user has a UX spec, PRD, or detailed feature doc and needs sequential, self-contained prompts for tools like v0, Bolt, or Claude frontend-design.
development
Guide for implementing Turborepo - a high-performance build system for JavaScript and TypeScript monorepos. Use when setting up monorepos, optimizing build performance, implementing task pipelines, configuring caching strategies, or orchestrating tasks across multiple packages.
tools
Replace with description of the skill and when Claude should use it.
tools
Guide for implementing Tailwind CSS - a utility-first CSS framework for rapid UI development. Use when styling applications with responsive design, dark mode, custom themes, or building design systems with Tailwind's utility classes.