What problem does it solve? Building Node.js backend services often leads to tangled code where business logic leaks into controllers, errors go unhandled, and configuration is scattered. This Skill provides proven patterns for structuring TypeScript backend applications with clean separation of concerns, consistent error handling, and testable code. ## Core Features & Use Cases - Layered Architecture: Implements the routes → controllers → services → repositories pattern with dependency injection for maintainable codebases. - Async Error Handling: Provides custom error classes, async handler wrappers, retry logic, timeouts, and Promise.all/allSettled patterns for robust async code. - Testing Strategies: Includes unit testing with mocked repositories, integration testing with supertest, and test data factories. - Use Case: When building a REST API with Express and TypeScript, apply these patterns to structure your UserService with a repository layer, wrap controllers with asyncHandler, and validate environment variables with zod schemas. ## Quick Start Ask the AI to scaffold a Node.js TypeScript service with layered architecture, custom error classes, and unit tests for a new API endpoint.