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、定价层级、分词器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模式、查询或配置时必须使用。包含28条规则,在提供建议前必须检查。始终阅读…
official
code-review
langfuse
当任务是对代码变更进行审查而非实现功能时,使用此技能。
official
skill-developer
langfuse
按照Anthropic最佳实践创建和管理Claude Code技能。在创建新技能、修改skill-rules.json、理解触发条件时使用…
official
turborepo
langfuse
JavaScript/TypeScript 单体仓库的构建系统。Turborepo 基于依赖图缓存任务输出并并行运行任务。
official