What problem does it solve? Building scalable server-side applications requires consistent architectural decisions across API design, data access, caching, and error handling. This Skill provides proven backend patterns that prevent common pitfalls like N+1 queries, missing authentication checks, and unstructured error responses. ## Core Features & Use Cases - API Design Patterns: RESTful endpoint structure, repository and service layer separation, and middleware composition for authentication and logging. - Database Optimization: Query optimization techniques, N+1 query prevention through batch fetching, and transaction handling with rollback support. - Infrastructure Patterns: Redis caching with cache-aside strategy, rate limiting, background job queues, retry with exponential backoff, and structured logging. - Use Case: When building a Next.js API route that fetches market data, apply the repository pattern with Redis caching and JWT authentication middleware to produce a secure, performant endpoint. ## Quick Start Use backend-patterns to design a REST API endpoint with authentication middleware, repository pattern, and Redis caching for my Node.js application.