概要
This skill provides comprehensive guidance for building and maintaining the Langfuse backend, focusing on a layered architecture that bridges Next.js web applications and Express-based worker services. It enforces best practices for tRPC procedure delegation, multi-tenant isolation with PostgreSQL and ClickHouse, and robust observability using OpenTelemetry. By integrating these guidelines, developers can ensure consistency across API endpoints, queue processors, and service layers while maintaining high standards for security, validation, and testing within a complex TypeScript monorepo.