Visual Auditor
Designed to run as a delegated subagent — parent skills launch via Task (shell). See reference/subagents.md.
When to use
- Designer or QA needs proof of responsive layout (375/768/1440)
- Comparing implemented route against reference screenshots
- Playwright unavailable → use layout tree fallback
Instructions
- Start dev server or set
DEV_SERVER_URL(Vue defaulthttp://localhost:5173) orFLUTTER_WEB_URL(Flutter web defaulthttp://127.0.0.1:8085). - Run
python scripts/audit_ui.py --route /path --project-root <root>. - If Playwright missing, run
python scripts/layout_tree.pyfor dimension JSON. - Review artifacts under
.visual-audit/or returned paths.
Env
DEV_SERVER_URL— base URL for Vue/Vite SPAFLUTTER_WEB_URL— base URL for Flutter web (flutter run -d web-server)ARTIFACT_BUCKET— cloud: GCS upload target