frontend-browser-review
bởi langfuse
Sử dụng kỹ năng này khi một thay đổi ảnh hưởng đến những gì người dùng nhìn thấy hoặc thực hiện trong trình duyệt.
npx skills add https://github.com/langfuse/langfuse --skill frontend-browser-reviewFrontend 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 viewspnpm run seed -- many-traces --count 100000— list/filter performancepnpm 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.
Thêm skills từ langfuse
add-model-price
langfuse
Sử dụng khi chỉnh sửa worker/src/constants/default-model-prices.json, packages/shared/src/server/llm/types.ts, các bậc giá, ID tokenizer, hoặc regex matchPattern…
official
agent-setup-maintenance
langfuse
Sử dụng kỹ năng này khi thay đổi thiết lập agent dùng chung cho kho lưu trữ.
official
backend-dev-guidelines
langfuse
Hướng dẫn backend chung cho monorepo Next.js, tRPC, BullMQ và TypeScript của Langfuse. Sử dụng khi tạo hoặc xem xét các router tRPC, endpoint REST công khai, BullMQ…
official
changelog-writing
langfuse
Sử dụng kỹ năng này khi một nhánh tính năng đã hoàn thành cần một mục nhật ký thay đổi.
official
clickhouse-best-practices
langfuse
PHẢI SỬ DỤNG khi xem xét lược đồ ClickHouse, truy vấn hoặc cấu hình. Chứa 28 quy tắc PHẢI được kiểm tra trước khi đưa ra khuyến nghị. Luôn đọc…
official
code-review
langfuse
Sử dụng kỹ năng này khi nhiệm vụ là xem xét các thay đổi mã thay vì triển khai một tính năng.
official
skill-developer
langfuse
Tạo và quản lý các kỹ năng Claude Code theo các phương pháp tốt nhất của Anthropic. Sử dụng khi tạo kỹ năng mới, sửa đổi skill-rules.json, hiểu trigger…
official
turborepo
langfuse
Hệ thống xây dựng cho monorepo JavaScript/TypeScript. Turborepo lưu cache đầu ra của tác vụ và chạy các tác vụ song song dựa trên đồ thị phụ thuộc.
official