frontend-browser-review
作者: langfuse
當變更影響使用者在瀏覽器中看到或進行的操作時,使用此技能。
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.
來自 langfuse 的更多技能
add-model-price
langfuse
在編輯 worker/src/constants/default-model-prices.json、packages/shared/src/server/llm/types.ts、定價層級、tokenizer ID 或 matchPattern 正則表達式時使用…
official
agent-setup-maintenance
langfuse
當需要變更儲存庫的共享代理設定時,使用此技能。
official
backend-dev-guidelines
langfuse
Langfuse 的 Next.js、tRPC、BullMQ 與 TypeScript 單一儲存庫的共用後端指南。適用於建立或審查 tRPC 路由器、公開 REST 端點、BullMQ…
official
changelog-writing
langfuse
當一個功能分支完成且需要撰寫變更日誌條目時,請使用此技能。
official
clickhouse-best-practices
langfuse
在審查 ClickHouse 的 schema、查詢或配置時必須使用。包含 28 條規則,在提供建議前必須檢查。務必閱讀…
official
code-review
langfuse
當任務是審查程式碼變更而非實作功能時,使用此技能。
official
skill-developer
langfuse
遵循Anthropic最佳實踐來建立和管理Claude Code技能。在建立新技能、修改skill-rules.json、理解觸發器時使用…
official
turborepo
langfuse
JavaScript/TypeScript 單一程式碼庫的建置系統。Turborepo 會快取任務輸出,並根據依賴圖平行執行任務。
official