What problem does it solve? Building production Node.js backends requires many architectural decisions—layered structure, dependency injection, error handling, authentication, caching—and getting them wrong leads to fragile, hard-to-maintain services. This Skill provides proven TypeScript patterns and working code examples so you can implement these concerns correctly from the start. ## Core Features & Use Cases - Layered Architecture: Controller, service, and repository layers with TypeScript examples for Express and Fastify, including schema validation with Zod. - Security & Middleware: JWT authentication with refresh tokens, role-based authorization, rate limiting with Redis, and structured request logging with Pino. - Data & Infrastructure Patterns: PostgreSQL connection pooling, MongoDB/Mongoose setup, transaction handling, Redis caching with a @Cacheable decorator, and standardized API responses. - Use Case: When scaffolding a new REST API, use this Skill to generate the error-handling middleware, custom error classes, and a DI container wiring repositories to services to controllers. ## Quick Start Ask the agent to scaffold a Node.js user service with layered architecture, JWT authentication, and centralized error handling using these backend patterns.