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.
  • Use the workspace playwright MCP 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

  1. Start the app with pnpm run dev:web unless an existing 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 the Playwright MCP server, using the deep links printed by the seed CLI 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 the browser session fails, inspect traces and artifacts under /tmp/playwright-mcp.

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

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.

Skills เพิ่มเติมจาก langfuse

add-model-price
langfuse
ใช้เมื่อแก้ไข worker/src/constants/default-model-prices.json, packages/shared/src/server/llm/types.ts, ระดับราคา, รหัส tokenizer, หรือ regex matchPattern…
official
agent-setup-maintenance
langfuse
ใช้ทักษะนี้เมื่อต้องการเปลี่ยนการตั้งค่าเอเจนต์ที่ใช้ร่วมกันสำหรับพื้นที่เก็บข้อมูล
official
backend-dev-guidelines
langfuse
คู่มือแบ็กเอนด์ที่ใช้ร่วมกันสำหรับโมโนรีโพของ Langfuse ที่ใช้ Next.js, tRPC, BullMQ และ TypeScript ใช้เมื่อสร้างหรือตรวจสอบ tRPC routers, จุดสิ้นสุด REST สาธารณะ, BullMQ…
official
changelog-writing
langfuse
ใช้ทักษะนี้เมื่อสาขาฟีเจอร์ที่เสร็จสมบูรณ์ต้องการรายการบันทึกการเปลี่ยนแปลง
official
clickhouse-best-practices
langfuse
ต้องใช้เมื่อตรวจสอบสคีมา คิวรี หรือการกำหนดค่าของ ClickHouse ประกอบด้วยกฎ 28 ข้อที่ต้องตรวจสอบก่อนให้คำแนะนำ ควรอ่านเสมอ…
official
code-review
langfuse
ใช้ทักษะนี้เมื่อภารกิจคือการตรวจสอบการเปลี่ยนแปลงโค้ดแทนที่จะใช้งานฟีเจอร์
official
skill-developer
langfuse
สร้างและจัดการทักษะของ Claude Code ตามแนวทางปฏิบัติที่ดีที่สุดของ Anthropic ใช้เมื่อสร้างทักษะใหม่ แก้ไข skill-rules.json ทำความเข้าใจทริกเกอร์…
official
turborepo
langfuse
ระบบ build สำหรับ monorepo ของ JavaScript/TypeScript Turborepo แคชผลลัพธ์ของงานและรันงานแบบขนานตามกราฟ dependency
official