From codebrain
Browser-based verification of UI changes. Checks that pages load, elements render correctly, no console errors. Triggers after dev server start or accumulated UI file changes. Use when visual verification is needed — blank pages, broken layouts, missing elements.
npx claudepluginhub chrsmay/codebrain-plugin --plugin codebrainThis skill uses the workspace's default tool permissions.
Browser-based visual verification for UI changes. Quick gut-check that pages load, render correctly, and have no console errors.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Browser-based visual verification for UI changes. Quick gut-check that pages load, render correctly, and have no console errors.
/codebrain:browser-verify [url]
npm run dev, next dev, vite)Look for a running dev server:
# Quick port check
curl -sI http://localhost:3000 --max-time 3 2>/dev/null | head -1
curl -sI http://localhost:5173 --max-time 3 2>/dev/null | head -1
<title><main> elementalt attributesIf agent-browser is installed, use it for automated verification:
# Navigate to page and take screenshot
agent-browser navigate http://localhost:3000
# Check for console errors
agent-browser console-errors
# Take screenshot for visual verification
agent-browser screenshot
If agent-browser is not available, use manual curl checks and ask the user to verify visually.
| Symptom | Likely Cause | Fix |
|---|---|---|
| Blank page | Client-side error crashing React | Check browser console for errors |
| White screen of death | Build error in production | Run npm run build to check |
| Hydration mismatch | Server/client HTML differs | Check for typeof window guards |
| Missing styles | CSS not loading | Check import paths, Tailwind config |
| Broken layout | CSS changes broke grid/flex | Compare with previous state |
| Font not loading | next/font config error | Check font variable names in layout |
| 404 on assets | Wrong public path | Check basePath in next.config |
| CORS error | API route misconfigured | Check API response headers |
## Browser Verification Report
**URL:** [checked URL]
**Date:** [ISO date]
**Status:** PASS | FAIL
### Checklist
| Check | Status | Notes |
|-------|--------|-------|
| Page loads | PASS/FAIL | [response time, status code] |
| No console errors | PASS/FAIL | [error count, key errors] |
| Key elements render | PASS/FAIL | [what's missing] |
| Interactive elements | PASS/FAIL | [what's broken] |
| Accessibility | PASS/FAIL | [issues found] |
### Issues Found
| # | Severity | Description | File:Line |
|---|----------|-------------|-----------|
| 1 | ... | ... | ... |
/codebrain:observe — server not responding at all/codebrain:debug — specific JavaScript error identified/codebrain:investigate — intermittent rendering issues