--- name: do-design-audit description: "Audit an existing web UI against premium design criteria. Screenshots pages and evaluates visual hierarchy, typography, color, spacing, consistency, and more. Use when the user wants to evaluate design quality, audit a UI, or says 'review this design', 'check the UI', 'audit this page', 'scan the interface', or provides a URL for design feedback." allowed-tools: mcp__byob__browser_navigate, mcp__byob__browser_read, mcp__byob__browser_click, mcp__byob__browser_screenshot, mcp__byob__browser_close_tab, mcp__byob__browser_list_tabs, mcp__byob__browser_wait_for context: fork --- This skill evaluates existing web interfaces against premium design criteria. It is the review-time companion to `/frontend-design` — that skill builds to the standard; this one audits against it. Be opinionated. Call out what fails clearly. "Acceptable" is not a compliment. ## Surface This skill runs against the user's real, logged-in Chrome via the BYOB MCP server (`mcp__byob__browser_*`). Public marketing pages and authenticated dashboards are audited the same way — BYOB just shows you the page the user would see. There is no anonymous-headless fallback; that surface was retired in #1256. The calling session **must** have `requires_real_chrome=True` set (bridge auto-infers from message text for "design audit" patterns; CLI users pass `valor-session create --needs-real-chrome ...`). Two concurrent real-Chrome sessions race on the active tab and corrupt each other's DOM. ## When to Use Trigger this skill when the user: - Provides a URL and asks for design feedback - Says "review this design", "check the UI", "what do you think of this interface" - Asks whether something looks professional, polished, or premium - Wants to know what to improve before launching ## Variables - `url` (required): The URL to review. Can be a local dev server (`http://localhost:3000`) or a deployed URL. - `--pages` (optional): Comma-separated paths to screenshot explicitly (e.g. `/,/about,/pricing`). If omitted, the skill discovers pages by following navigation links from the start URL. ## Workflow ### Step 1: Open and Screenshot the Starting Page ```text mcp__byob__browser_navigate(url="", waitUntil="networkidle") mcp__byob__browser_screenshot(tabId=, savePath="/tmp/design-audit-01.png") ``` Take a screenshot immediately after opening. Do not interact yet — capture the first impression. ### Step 2: Discover Pages **If `--pages` was provided:** Navigate to each listed path in turn and screenshot each one. ```text mcp__byob__browser_navigate(url="/about", tabId=, waitUntil="networkidle") mcp__byob__browser_screenshot(tabId=, savePath="/tmp/design-audit-about.png") # repeat for each path ``` **If `--pages` was NOT provided:** Read the page to surface its `interactiveElements`, follow nav links to discover reachable pages, and screenshot each one. Stop after visiting 6 pages or exhausting navigation links, whichever comes first. ```text mcp__byob__browser_read(url="", reuseTab=true, screens=1) # identify nav-link entries in interactiveElements (role="link" + name="