What problem does it solve? Backend codebases often drift into inconsistent patterns: business logic leaking into routes, direct database calls in controllers, unvalidated input, and silent error swallowing. This Skill enforces a strict, production-grade architecture doctrine so every route, controller, service, and repository follows the same predictable, testable, and observable structure. ## Core Features & Use Cases - Layered Architecture Enforcement: Mandates the Routes → Controllers → Services → Repositories flow with no layer skipping, plus strict naming conventions and dependency injection rules. - BFRI Risk Scoring: Provides a Backend Feasibility & Risk Index to assess architectural fit, data risk, and testability before implementing features. - Observability & Validation Standards: Requires Sentry error capture, Zod input validation, unifiedConfig-based configuration, and asyncErrorWrapper for all async handlers. - Use Case: When asked to add a new Express endpoint with Prisma database access, the Skill produces a clean route delegating to a BaseController-based controller, a service with business rules, a repository for queries, Zod validation, and Sentry-instrumented error handling. ## Quick Start Ask the AI to create a new Express endpoint for user management following the backend guidelines, including the controller, service, repository, and Zod validation.