What problem does it solve?
It helps you design and implement production-ready Node.js backend services that are maintainable, secure, and consistent by enforcing layered architecture, validation boundaries, auth, error handling, and rate limiting.
Core Features & Use Cases
- Layered Express/Fastify architecture: keeps controllers thin, services business-focused, and repositories data-only to reduce coupling and improve testability.
- Boundary validation with Zod: validates request body/query/params early and returns structured validation errors.
- JWT authentication and global error handling: standardizes auth middleware behavior and formats all failures via a centralized error handler.
- Rate limiting and security baseline: protects public and auth endpoints using Redis-backed rate limiting and a checklist for security headers and safe secrets handling.
- Use Cases: building REST APIs, scaffolding microservices, adding new endpoints, implementing middleware (auth/validation/logging), and organizing backend code for growth.
Quick Start
Use the nodejs-backend skill to scaffold a new REST endpoint with thin controller, Zod-validated input, JWT auth, centralized errors, and Redis rate limiting.