Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Reviews Langfuse code changes for correctness, regressions, security, performance, and test gaps, guided by repo AGENTS.md rules.
92% 79%−12 ptsof test cases passed
Passed 19 of 24 test cases with the skill, and 22 of 24 without it.
This test ran on v2. v4 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
This is the canonical shared review checklist for Langfuse.
packages/shared/clickhouse/migrations/canonical is the single canonical
migration-template tree for both deployment modes. Every cluster-aware DDL
position must use {CLICKHOUSE_CLUSTER_CLAUSE} instead of a literal
ON CLUSTER clause.{CLICKHOUSE_REPLICATION_PREFIX} only for a table engine that should be
replicated in clustered mode and plain in unclustered mode. Do not apply it
globally: some tables intentionally use a plain engine in both modes.alter_sync = 2 on new column and index metadata ALTERs for tables that can be replicated. Check ordering across files in both upgrade and rollback. Use mutations_sync when the following step depends on a mutation finishing.prepareMigrations.test.ts after a migration or renderer change. If a bug fix requires changing frozen SQL (0001–0047), verify the exact rendered differences in both modes before accepting new checksums.CREATE OR REPLACE VIEW (nor CREATE OR REPLACE TABLE / EXCHANGE TABLES): the atomic replace requires renameat2, which fails on NFS-backed self-hosted deployments such as ClickHouse-on-EFS (GitHub issue #14906). Plain views are redefined with DROP VIEW IF EXISTS <name>; followed by CREATE VIEW <name> AS ... in the same migration file — the migration runner enables x-multi-statement=true, and every statement should stay idempotent (IF EXISTS / IF NOT EXISTS) so a dirty migration can be re-run.DROP and CREATE are silently and permanently missing from the target table. Redefine the SELECT with ALTER TABLE <mv> MODIFY QUERY ... instead, waiting for the required source and destination column changes on all replicas before switching the query.clickhouse-best-practices skill.MATERIALIZE INDEX statement in the same migration. The materialization can use SETTINGS mutations_sync = 2 if they operate on smaller tables, but may timeout otherwise.WHERE project_id = {projectId: String} filter to ensure proper tenant isolation and that queries only access data from the intended project.events table, you must never use the FINAL keyword as it kills performance. events is built so that FINAL is never required.schema.prisma changes should produce a change in packages/shared/prisma/migrations.projectId in the WHERE clause (e.g., where: { id: traceId, projectId }) to ensure proper tenant isolation and that queries only access data from the intended project.datasets table, including joins and CTEs, must not use SELECT * or table.*; use an explicit safe column projection. Aggregate expressions such as COUNT(*) are fine. Access secret-bearing dataset fields only through the centralized remote experiment delivery helper.env.mjs/ts file of the respective package and not from process.env.* to ensure validation and typing.redis.call invocations. Those may have suboptimal redis cluster routing and will raise errors. Instead, use the native call patterns.
Example: await redis?.call("SET", key, "1", "NX", "EX", TTLSeconds); should use await redis?.set(key, "1", "EX", TTLSeconds, "NX"); instead.Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.