code-review

bởi 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.

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

Code Review

Use this skill when the task is to review code changes rather than implement a feature.

Start Here

  • Read references/review-checklist.md for the repo's canonical review rules.
  • Read root AGENTS.md and the nearest package AGENTS.md for the files under review.
  • If the review touches ClickHouse, also use the shared clickhouse-best-practices skill.
  • If the review touches backend code, also use the shared backend-dev-guidelines skill where relevant.
  • If the change accepts a user-supplied URL, adds outbound HTTP, introduces a new integration, or touches secrets, RBAC, or redirect handling, also use the shared security-review skill. Run its references/checklist.md before signoff.

Review Priorities

Focus on:

  • correctness bugs
  • behavioral regressions
  • security and tenant-isolation risks
  • performance issues with real impact
  • missing or weak tests for risky changes
  • Before calling coverage missing, identify the unique regression each proposed test catches. Prefer merging into the closest existing suite. Flag repeated tests of the same predicate across layers unless each proves a distinct transport, projection, or execution boundary.

Output Expectations

  • Findings first, ordered by severity
  • File and line references for each finding
  • Short summary only after findings
  • If no findings, say so explicitly and mention any residual risk or coverage gaps

Scope Guidance

Use references/review-checklist.md for Langfuse-specific checks such as:

  • ClickHouse and Postgres migration expectations
  • project-scoped tenant isolation checks
  • API/Fern consistency
  • banner-offset UI positioning
  • environment variable access patterns

Do not duplicate those rules in ad hoc prompts or tool-specific command files.

Thêm skills từ langfuse

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
skill-creator
langfuse
Hướng dẫn tạo kỹ năng hiệu quả. Kỹ năng này nên được sử dụng khi người dùng muốn tạo một kỹ năng mới (hoặc cập nhật kỹ năng hiện có) để mở rộng khả năng của Claude…
official
vercel-react-best-practices
langfuse
Hướng dẫn tối ưu hiệu suất React và Next.js từ Vercel Engineering. Kỹ năng này nên được sử dụng khi viết, xem xét hoặc tái cấu trúc React/Next.js…
official
add-model-price
langfuse
Use when editing worker/src/constants/default-model-prices.json, packages/shared/src/server/llm/types.ts, pricing tiers, tokenizer IDs, or matchPattern regexes…
official
analyze-cloud-costs
langfuse
Analyze Langfuse Cloud infrastructure cost structure using Metabase cost marts. Use when asked about cloud spend, AWS versus ClickHouse cost splits, cost…
official
backend-dev-guidelines
langfuse
Build or review Langfuse backend code. Use for tRPC routers, public REST APIs, BullMQ processors, services, middleware, Prisma or ClickHouse access,…
official
clickhouse-best-practices
langfuse
PHẢI SỬ DỤNG khi xem xét schema, truy vấn hoặc cấu hình ClickHouse. 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
Review Langfuse code changes for correctness, regressions, and best practices.
official