Back to Skills

backend-dev-guidelines

Comprehensive backend development guide for Langfuse's Next.js 14/tRPC/Express/TypeScript monorepo. Use when creating tRPC routers, public API endpoints, BullMQ queue processors, services, or working with tRPC procedures, Next.js API routes, Prisma database access, ClickHouse analytics queries, Redis queues, OpenTelemetry instrumentation, Zod v4 validation, env.mjs configuration, tenant isolation patterns, or async patterns. Covers layered architecture (tRPC procedures → services, queue processo

20,843stars2,044forksUpdated 1/20/2026

Security Assessment

Low Risk(80/100)

Detected risks:

Sensitive File Access([SKILL.md] .env)
Security Score80/100

About backend-dev-guidelines

The backend-dev-guidelines skill serves as a comprehensive resource for developers working on Langfuse's backend architecture, specifically focusing on the Next.js 14, tRPC, BullMQ, and TypeScript stack. It aims to establish a consistent approach to backend development by providing a set of best practices and structured guidelines that address common challenges encountered in backend projects. This skill is particularly valuable for ensuring that all team members adhere to the same standards, thereby enhancing code quality and maintainability across the monorepo.

FAQ

What types of projects can I use this skill for?

This skill is designed for projects involving tRPC routers, public API endpoints, BullMQ queue processors, and services within Langfuse's backend.

Is this skill compatible with other frameworks or libraries?

While the guidelines are tailored for Next.js 14, tRPC, and TypeScript, they may be adapted for use with other frameworks, but compatibility is not guaranteed.

What are the prerequisites for using this skill?

Users should have a basic understanding of Next.js, TypeScript, and the libraries mentioned, as well as familiarity with backend development concepts.

Are there any limitations to this skill?

The skill is specifically focused on the technologies and patterns outlined; it may not cover every possible use case or scenario in backend development.

Can I contribute to the guidelines?

Yes, contributions are welcome as long as they align with the established best practices and enhance the clarity of the documentation.

Install backend-dev-guidelines

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill