What problem does it solve?
This Skill prevents fragile backend code by enforcing a production-grade architecture, consistent error handling, strong input validation, and first-class observability across Node.js/Express/TypeScript services.
Core Features & Use Cases
- Layered backend architecture enforcement: Routes → Controllers → Services → Repositories, with no business logic leakage across layers.
- Reliability-first error handling: Captures errors in Sentry and blocks silent failures and console logging patterns.
- Secure and predictable input validation: Requires Zod validation for all external input (body, query, params, webhooks).
- Operational guardrails & test discipline: Introduces a Backend Feasibility & Risk Index (BFRI) to decide how risky a change is, and mandates unit/integration tests.
Use it when you are implementing or modifying backend routes/controllers/services/repositories, adding Express middleware (including async handlers), or working with Prisma database access, especially in production-grade microservices.
Quick Start
Use this skill when you are about to implement a new Express route and want to confirm it follows the required layered architecture, validation, Sentry error capture, configuration rules, and test expectations for a production backend.