What problem does it solve? Building production Node.js backends requires many architectural decisions—middleware ordering, error handling, authentication, database access, and caching—and getting them wrong leads to fragile, hard-to-maintain services. This Skill provides proven patterns and working TypeScript code for each layer of a backend application. ## Core Features & Use Cases - Framework Setup: Ready-to-use Express and Fastify server configurations with security middleware (helmet, CORS, compression) and structured logging via Pino. - Layered Architecture: Complete controller-service-repository implementation with dependency injection container, custom error classes, and a global error handler. - Auth, Validation & Infrastructure: JWT authentication with refresh tokens, Zod-based request validation, Redis-backed rate limiting and caching, PostgreSQL connection pooling, MongoDB/Mongoose integration, and transaction handling. - Use Case: When scaffolding a new REST API, apply the layered architecture pattern with the auth middleware, validation middleware, and repository layer to get a consistent, testable codebase without designing each piece from scratch. ## Quick Start Ask the AI to scaffold a Node.js REST API with Express, JWT authentication, Zod validation, and a PostgreSQL repository layer using these backend patterns.