| name | frontend-verification |
| description | Guide for verifying frontend changes using chrome-devtools MCP. Use this when you need to verify UI changes, check for console errors, or test frontend functionality after making changes to Vue components, pages, or styles. |
| license | MIT |
Frontend Verification
Always verify frontend changes using the chrome-devtools MCP.
Important Rules
- Never kill Chrome: Do NOT kill Chrome before or after using the MCP server
- Leave dev server running: Do NOT stop the dev server when you're done working
Dev Server Management
Check if Server is Running
Always check if the dev server is already running before asking the user to start it:
curl -s http://localhost:3003/api/readyz
Expected response when running:
{ "status": "ready" }
Starting the Server
- If the server is NOT running, ask the user to start it with
pnpm dev
- If the server IS running, proceed directly to verification
- NEVER stop the server when you're done working - leave it running for continuous verification
Verification Steps
1. Navigate to the Application
chrome-devtools_navigate_page to http://localhost:3003
2. Visual Verification
Use one of these tools to verify the UI:
chrome-devtools_take_screenshot - For visual inspection
chrome-devtools_take_snapshot - For text-based accessibility tree view
3. Check for Errors
chrome-devtools_list_console_messages
Look for:
- JavaScript errors
- Vue warnings
- Network failures
- Type errors
4. Interactive Testing (if needed)
chrome-devtools_click - Click elements
chrome-devtools_fill - Fill form inputs
chrome-devtools_hover - Test hover states
chrome-devtools_wait_for - Wait for specific text to appear
Common Verification Scenarios
After Component Changes
- Navigate to the page containing the component
- Take a screenshot to verify visual appearance
- Check console for Vue warnings or errors
- Test any interactive features
After Style Changes
- Navigate to the affected page
- Take a screenshot to verify the styling
- Check for CSS errors in console
- Test responsive behavior if needed (use
chrome-devtools_resize_page)
After Route/Page Changes
- Navigate to the new or modified route
- Verify the page loads correctly
- Check console for routing errors
- Test navigation to/from the page
Example Workflow
curl -s http://localhost:3003/api/readyz
chrome-devtools_navigate_page to http://localhost:3003
chrome-devtools_take_screenshot
chrome-devtools_list_console_messages
chrome-devtools_click on element
chrome-devtools_wait_for specific text