Backend Architecture & Dev Guidelines

•
5
•

Enforces standardized Node.js, Express, and TypeScript patterns for building scalable, production-ready microservices.

This skill provides a comprehensive framework for building backend services with a rigorous layered architecture. By establishing clear boundaries between routing, business logic, and data access, it helps developers create maintainable and testable codebases. It integrates industry-standard tools like Prisma for ORM, Zod for schema validation, and Sentry for observability, ensuring every service is robust, type-safe, and monitored from day one. It is particularly useful for teams looking to eliminate anti-patterns and maintain high code quality across distributed systems.

主要功能

01Strict layered architecture enforcement (Routes → Controllers → Services → Repositories)
02Comprehensive error tracking and monitoring with Sentry integration
03Schema-driven input validation using Zod
045 GitHub stars
05Standardized configuration management and async error handling
06Type-safe data access patterns with Prisma ORM

使用场景

01Implementing standardized API validation and centralized error handling across a backend
02Scaffolding a new Node.js/TypeScript microservice with best practices
03Refactoring legacy Express routes into a clean, testable controller-service structure