frontend-browser-review

작성자: langfuse

이 스킬은 변경 사항이 브라우저에서 사용자가 보거나 수행하는 작업에 영향을 미칠 때 사용하세요.

npx skills add https://github.com/langfuse/langfuse --skill frontend-browser-review

Frontend Browser Review

Use this skill when a change affects what users see or do in the browser.

Start Here

  • Read ../../../web/AGENTS.md for web-specific entry points and test commands.
  • In Cursor Cloud, use built-in computer use. In local agent environments, use the workspace playwright MCP server from the shared agent setup.

When To Use It

Drive a browser when the outcome is uncertain:

  • Changes to navigation or page flows, or anything carrying state across steps
  • Layout or responsive behavior that could reflow in a way you cannot predict
  • Bug fixes where the failure mode is visible in the browser
  • Final signoff for a substantial piece of user-visible work

When To Offer Instead

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.

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

  1. Use the existing Cursor Cloud Compose app when available. Otherwise start the app with pnpm run dev:web unless a local server is already running.
  2. Install Chromium with pnpm run playwright:install if Playwright has not been set up on the machine yet.
  3. Open the primary changed flow with Cursor computer use or the Playwright MCP server, using seed-CLI deep links when the flow needs seeded data.
  4. Exercise the main happy path affected by the change.
  5. 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
  6. If the page changed materially, inspect the resulting UI state and compare it against the intended behavior from the task or existing patterns.
  7. If a Playwright MCP session fails, inspect /tmp/playwright-mcp. In Cursor Cloud, inspect the run's browser artifacts and Compose logs.

Output Expectations

Report:

  1. What flow you reviewed
  2. Whether the primary flow worked
  3. Any visible regressions or follow-up risks
  4. If review was blocked, exactly what prevented browser verification
  5. For a human handoff, the preview or sandbox URL plus exact click-path steps, and proof of the fix posted on the GitHub PR (screenshot, short video, or before/after) — not a long agent-only writeup and not only in chat

Scope Notes

  • This skill complements, not replaces, targeted tests and linting.
  • For implementation details, stay in web/AGENTS.md and package-local skills.
  • Use this as the browser-signoff workflow, not as a generic frontend coding guide.

langfuse의 다른 스킬

frontend-large-feature-architecture
langfuse
대규모 Langfuse 프론트엔드 기능, 가상화된 목록, 대형 테이블, 컨트롤러 컴포넌트, 로컬 기능을 구축, 변경 또는 리팩터링할 때 사용합니다.
skill-developer
langfuse
Anthropic 모범 사례에 따라 Claude Code 스킬을 생성하고 관리합니다. 새 스킬을 만들거나, skill-rules.json을 수정하거나, 트리거를 이해할 때 사용합니다…
langfuse-prompt-migration
langfuse
하드코딩된 프롬프트를 Langfuse로 마이그레이션하여 버전 관리와 배포 없는 반복을 가능하게 합니다. 사용자가 프롬프트를 외부화하거나, 프롬프트를 Langfuse로 이동하려는 경우 사용합니다.
incident-alert-tickets
langfuse
Read and, after human approval, update the Linear `incident-alert` knowledge base. Use before and after investigating a named Datadog monitor,…
refactor-react-effects
langfuse
Langfuse 프론트엔드 코드에서 피할 수 있는 React useEffect 사용을 리팩터링합니다. 효과를 추가, 검토 또는 제거할 때; 폼이나 로컬 UI 상태를 초기화할 때 사용합니다…
sentry-instrumentation
langfuse
Decide whether and how errors report to Sentry. Use when touching capture or error-handling paths in `web/**`, triaging Sentry noise, or changing Sentry…
posthog-instrumentation
langfuse
Product analytics with posthog. Use when adding a meaningful user action or feature in `web/**`, touching PostHog capture code, or answering product-usage…
langfuse-previews
langfuse
Langfuse의 일회용 PR별 프리뷰를 pr-N.preview.langfuse.com에서 사용하세요(합성 데이터 전용). 프리뷰 접근, 배포 실패, 테스트 데이터 시딩 등에 사용합니다.