
frontend-browser-review
β 30,400by langfuse Β· part of langfuse/langfuse
Use this skill when a change affects what users see or do in the browser.
This is the playbook your agent receives when the skill activates β you don't need to read it to use the skill, but it's here to audit before installing.
by langfuse
Use this skill when a change affects what users see or do in the browser.
npx skills add https://github.com/langfuse/langfuse --skill frontend-browser-review
Download ZIPGitHub30.4k
Frontend Browser Review
Use this skill when a change affects what users see or do in the browser.
Start Here
-
Read
../../../web/AGENTS.mdfor web-specific entry points and test commands. -
Use the workspace
playwrightMCP server configured from the repo-owned shared agent setup.
When To Use It
-
UI changes in
web/** -
Layout, styling, or responsive behavior changes
-
Changes to navigation or page flows
-
Bug fixes where the failure mode is visible in the browser
-
Final signoff for user-visible frontend work
Prefill Test Data First
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 views -
pnpm run seed -- many-traces --count 100000β list/filter performance -
pnpm run seed -- doctorβ when the stack misbehaves
Every run prints UI deep links β open those instead of navigating manually. Do not hand-write seed scripts or raw ClickHouse inserts.
Review Loop
-
Start the app with
pnpm run dev:webunless an existing local server is already running. -
Install Chromium with
pnpm run playwright:installif Playwright has not been set up on the machine yet. -
Open the primary changed flow with the Playwright MCP server, using the deep links printed by the seed CLI when the flow needs seeded data.
-
Exercise the main happy path affected by the change.
-
Check for obvious visual regressions:
-
broken layout or spacing
-
banner overlap or viewport anchoring issues
-
missing loading, empty, or error states
-
broken responsive behavior on narrow widths
-
If the page changed materially, inspect the resulting UI state and compare it against the intended behavior from the task or existing patterns.
-
If the browser session fails, inspect traces and artifacts under
/tmp/playwright-mcp.
Output Expectations
Report:
-
What flow you reviewed
-
Whether the primary flow worked
-
Any visible regressions or follow-up risks
-
If review was blocked, exactly what prevented browser verification
Scope Notes
-
This skill complements, not replaces, targeted tests and linting.
-
For implementation details, stay in
web/AGENTS.mdand package-local skills. -
Use this as the browser-signoff workflow, not as a generic frontend coding guide.
npx skills add https://github.com/langfuse/langfuse --skill frontend-browser-reviewRun this in your project β your agent picks the skill up automatically.
No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.