What problem does it solve?
This Skill provides a structured and opinionated approach to building Node.js backend applications, emphasizing best practices for maintainability, testability, and scalability.
Core Features & Use Cases
- Project Structure: A clear separation of concerns with
core (business logic) and infra (side effects) layers.
- API Design: Demonstrates patterns for route handlers and dependency injection using Express.
- Error Handling: Implements domain-specific errors and a global error handler for consistent API responses.
- Database Patterns: Showcases the Repository pattern and transaction management with Kysely.
- Configuration: Uses Zod for robust environment variable validation.
- Testing: Includes examples for unit and integration tests.
- Use Case: Quickly scaffold a new Node.js API service with a solid architectural foundation, reducing boilerplate and enforcing best practices from the start.
Quick Start
Use the nodejs-backend skill to generate a new Node.js backend project structure.