What problem does it solve?
This Skill provides battle-tested patterns and best practices for building scalable, maintainable Node.js backend applications, reducing boilerplate and common errors.
Core Features & Use Cases
- Layered Architecture: Implements a clean separation of concerns (controllers, services, repositories).
- Robust Error Handling: Includes custom error classes and a global error handler.
- Validation & Auth: Integrates Zod for request validation and JWT for authentication.
- Database & Caching: Demonstrates patterns for PostgreSQL connection pooling, transactions, and Redis caching.
- Use Case: When starting a new Express or Fastify API, use these patterns to quickly set up a well-structured project with built-in security and data management features.
Quick Start
Use the nodejs-patterns skill to generate a basic Express API structure with layered architecture and error handling.