What problem does it solve? Building scalable server-side applications requires consistent architectural decisions across API design, data access, caching, and security. This Skill provides proven backend patterns that prevent common pitfalls like N+1 queries, inconsistent error handling, and insecure authentication flows. ## Core Features & Use Cases - API & Layering Patterns: RESTful resource design, repository pattern, service layer separation, and middleware pipelines for auth and request processing. - Database & Caching: Query optimization, N+1 prevention via batch fetching, transaction handling with Supabase RPC, and Redis cache-aside strategies. - Resilience & Security: Centralized error handlers, retry with exponential backoff, JWT validation, role-based access control, and structured logging. - Use Case: When building a Next.js API with Supabase, apply the repository and service layer patterns to keep business logic testable, add Redis caching for hot endpoints, and wrap handlers with auth middleware and RBAC checks. ## Quick Start Ask the agent to design a REST API endpoint with repository, service layer, caching, and JWT authentication following backend patterns.