What problem does it solve? Building production-grade Node.js backends requires coordinating many concerns—framework setup, middleware, error handling, authentication, database access, and caching—and getting any of them wrong leads to security holes, crashes, and unmaintainable code. ## Core Features & Use Cases - Framework Setup: Ready-to-use Express and Fastify configurations with security middleware (helmet, CORS, compression) and schema-validated routes. - Layered Architecture: Complete controller-service-repository pattern with dependency injection container for testable, maintainable codebases. - Security & Reliability: JWT authentication with refresh tokens, role-based authorization, Zod validation middleware, Redis-backed rate limiting, and centralized error handling with custom error classes. - Use Case: When scaffolding a new REST API for a user management service, apply this Skill to generate the full stack: typed routes, a PostgreSQL repository with connection pooling, bcrypt password hashing, JWT login flow, and a global error handler. ## Quick Start Use the nodejs-backend-patterns skill to scaffold an Express REST API with JWT authentication, PostgreSQL integration, and centralized error handling.