Langfuse Backend Development Guidelines
Standardizes backend development for Next.js, tRPC, and BullMQ architectures with focus on multi-tenancy and observability.
This skill provides a comprehensive framework for building and maintaining robust backend systems within a TypeScript monorepo. It establishes clear architectural patterns for tRPC procedures, REST APIs, and background worker processes, ensuring that business logic is cleanly decoupled into services. By enforcing strict tenant isolation, standardized database access through Prisma and ClickHouse, and integrated observability via OpenTelemetry, this skill helps developers maintain high-quality, scalable code across complex web and worker packages.
Key Features
01Standardized tRPC and REST API implementation patterns
0281 GitHub stars
03Layered architecture (Procedures/Workers to Services)
04Comprehensive observability with OpenTelemetry and custom error handling
05Dual-database management for PostgreSQL and ClickHouse
06Multi-tenant isolation and security enforcement protocols
Use Cases
01Developing scalable tRPC routers and procedures in Next.js 14
02Implementing secure, multi-tenant database access and analytics
03Creating background job processors using BullMQ and Express