What problem does it solve? Building production Node.js backends requires many decisions around framework choice, project structure, error handling, authentication, and database access. This Skill provides ready-to-apply TypeScript patterns so you avoid inconsistent architectures and common security mistakes. ## Core Features & Use Cases - Framework Setup: Express and Fastify server configuration with helmet, CORS, compression, and schema-validated routes. - Layered Architecture: Controller, service, and repository layers with dependency injection for testable, maintainable code. - Middleware & Error Handling: JWT authentication, Zod validation, Redis-backed rate limiting, structured logging, and a global error handler with custom error classes. - Data & Infrastructure Patterns: PostgreSQL connection pooling, MongoDB with Mongoose, transactions, JWT auth with refresh tokens, Redis caching, and standardized API responses. - Use Case: When scaffolding a new REST API, apply the layered architecture pattern with the auth middleware and global error handler to get a secure, consistent service skeleton in minutes. ## Quick Start Ask the AI to scaffold a Node.js Express API with layered architecture, JWT authentication, and centralized error handling using this skill.