backend-dev-guidelines

Guide backend development for ElasticDash's Next.js 14 monorepo with tRPC and TypeScript.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/ElasticDash/ElasticDash-Logger --skill backend-dev-guidelines-elasticdash
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backend-dev-guidelines
Source: https://github.com/ElasticDash/ElasticDash-Logger/tree/main/.claude/skills/backend-dev-guidelines
Command: npx skills add https://github.com/ElasticDash/ElasticDash-Logger --skill backend-dev-guidelines-elasticdash

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide to developing robust and consistent backend services within the ElasticDash monorepo, ensuring best practices are followed for maintainability and scalability.

Core Features & Use Cases

  • Monorepo Architecture: Understand the structure and conventions of the Next.js 14, tRPC, Express, and TypeScript monorepo.
  • Development Best Practices: Covers layered architecture, dual database usage (PostgreSQL + ClickHouse), tenant isolation, error handling, and testing strategies.
  • Use Case: When building a new tRPC router, implementing a BullMQ queue processor, or adding a public API endpoint, consult this Skill for the correct patterns and required checklists.

Quick Start

Use the backend-dev-guidelines skill to create a new tRPC router.

Frequently Asked Questions about backend-dev-guidelines

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure a tRPC router in a Next.js 14 monorepo?

To structure a tRPC router in a Next.js 14 monorepo, follow the backend development guidelines which enforce a layered architecture, tenant isolation, and specific validation patterns using Zod for maintainable backend services.

What's the best way to implement BullMQ queue processors with TypeScript?

The best way to implement BullMQ queue processors is by consulting the backend guidelines, which outline the required patterns, architectural conventions, and testing strategies for background job processing within the ElasticDash monorepo.

How do I set up dual database access using Prisma and ClickHouse for backend services?

To set up dual database access using Prisma and ClickHouse, apply the monorepo development best practices that dictate how to properly structure data access layers and manage dual database usage for PostgreSQL and ClickHouse.

Does this backend development approach support OpenTelemetry observability?

Yes, the backend development approach supports OpenTelemetry observability. The guidelines explicitly cover how to integrate OpenTelemetry to ensure backend services maintain robust tracing and monitoring standards.

When do I need Zod validation for public API endpoints in a TypeScript backend?

You need Zod validation for public API endpoints to ensure robust input checking. The backend guidelines specify the exact patterns and required checklists for implementing validation when exposing public API endpoints.

What testing strategies are recommended for tRPC and Express monorepo services?

The recommended testing strategies for tRPC and Express services involve using Jest and Vitest. The backend guidelines provide comprehensive checklists to ensure these testing tools are correctly applied for maintainable backend code.