.agents/skills/frontend-browser-review/SKILL.md
Use this skill when a change affects what users see or do in the browser.
../../../web/AGENTS.md for web-specific
entry points and test commands.playwright MCP server from the shared agent setup.Drive a browser when the outcome is uncertain:
A small, self-contained visual change you are confident in does not need an
automated pass. Spacing, a colour token, a label, an icon swap: say what you
changed, hand over the exact URL — a local port or the pull request's
pr-<N>.preview.langfuse.com — and let the developer take the two-second look.
It is faster for them than waiting while you confirm something you already know,
and a screenshot in the pull request still carries the proof.
Two conditions. Be explicit — name what you did not check and why, so the choice is visible and they can overrule it. And do it while they are there: offering is a handoff, not a way of ending your turn. If nobody is around to look, and the change is user-visible, check it yourself.
Most flows are only reviewable against meaningful data. Before opening the
browser, seed what the flow needs with the seed CLI (see the
seed-test-data skill for the need→command table):
pnpm run seed -- trace-tree --observations 5000 --v4 — complex
observation trees (v3 + v4 events)pnpm run seed -- long-session --traces 300 — heavy session viewspnpm run seed -- many-traces --count 100000 — list/filter performancepnpm run seed -- doctor — when the stack misbehavesEvery run prints UI deep links — open those instead of navigating manually. Do not hand-write seed scripts or raw ClickHouse inserts.
pnpm run dev:web unless a local server is already running.pnpm run playwright:install if Playwright has not
been set up on the machine yet./tmp/playwright-mcp. In Cursor
Cloud, inspect the run's browser artifacts and Compose logs.Report:
web/AGENTS.md and package-local skills.