with one click
frontend-visual-verification
// Verify frontend visual/layout issues using Chrome DevTools MCP
// Verify frontend visual/layout issues using Chrome DevTools MCP
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | frontend-visual-verification |
| description | Verify frontend visual/layout issues using Chrome DevTools MCP |
Use Chrome DevTools via the chrome-devtools MCP to inspect, diagnose, and verify frontend visual issues. This skill is intentionally layout-focused: overflow, clipping, responsive regressions, and CSS/DOM rendering bugs.
For broader browser tasks (remote bug triage, end-to-end interaction debugging, scraping-flow prototyping), use the browser-devtools-investigation skill.
The chrome-devtools MCP server starts Chromium lazily when a DevTools tool is used. Use this command only for manual troubleshooting or when you need to pre-open a specific URL:
opencode-ensure-chromium-devtools
Set OPENCODE_DEVTOOLS_URL when you need that command to open a specific target. Check /tmp/opencode-chromium-devtools.log on failures.
Use DevTools to confirm the problem exists. Check:
// Horizontal overflow
document.documentElement.scrollWidth > window.innerWidth
// Element causing overflow - run in browser console
[...document.querySelectorAll('*')]
.filter(el => el.scrollWidth > el.clientWidth)
.slice(0, 5)
.map(el => ({ tag: el.tagName, class: el.className, width: el.scrollWidth, clientWidth: el.clientWidth }))
// Viewport info
window.innerWidth + 'x' + window.innerHeight
Test at common breakpoints:
For each viewport, capture:
After code changes:
When chrome-devtools MCP is active, prefer these tools for layout verification:
chrome-devtools_new_page, chrome-devtools_navigate_page, chrome-devtools_list_pages, chrome-devtools_select_pagechrome-devtools_take_snapshot, chrome-devtools_evaluate_scriptchrome-devtools_take_screenshotchrome-devtools_resize_page, chrome-devtools_emulatechrome-devtools_list_console_messages, chrome-devtools_list_network_requests, chrome-devtools_get_network_requestchrome-devtools_click, chrome-devtools_fill, chrome-devtools_press_key, chrome-devtools_wait_forFor each verification, report:
Claim: [what was verified]
Viewport: [width tested]
Result: pass/fail
Evidence: [key DOM/CSS finding or screenshot confirmation]
Keep output concise. Include only the 1-2 key observations that prove or disprove the claim. Do not dump raw DevTools output.
When running DevTools MCP tools in a subagent, summarize the output immediately and return only the synthesis to the parent context. Raw tool output should never flow unfiltered into the main conversation context.