backend-dev-guidelines

Standardize Node.js/Express/TypeScript microservices with layered architecture and type-safe patterns.

Updated Jan 26, 2026
One-click install
npx skills add https://github.com/TwuanMinn/fadelab --skill backend-dev-guidelines-twuanminn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backend-dev-guidelines
Source: https://github.com/TwuanMinn/fadelab/tree/main/.agent/skills/skills/backend-dev-guidelines
Command: npx skills add https://github.com/TwuanMinn/fadelab --skill backend-dev-guidelines-twuanminn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Node.js/Express/TypeScript backend projects often suffer from inconsistency and duplication. This guide provides an opinionated, centralized set of patterns and practices to unify architecture, improve maintainability, and accelerate delivery across microservices.

Core Features & Use Cases

  • Layered architecture guidance (routes → controllers → services → repositories) and the BaseController pattern with standardized error handling, testing strategies, and migration paths.
  • Comprehensive coverage of Prisma integration, Sentry monitoring, Zod validation, unifiedConfig, and dependency injection to enforce type-safety and consistency.
  • Practical use cases and anti-patterns to help teams scale while avoiding common pitfalls.

Quick Start

Begin by reviewing architecture-overview.md and start applying the recommended layering, patterns, and tooling across new services.

Frequently Asked Questions about backend-dev-guidelines

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure a Node.js Express TypeScript backend for consistency?

Structure a Node.js Express TypeScript backend using a layered architecture that spans routes, controllers, services, and repositories. This enforces type-safety, standardized error handling, and consistent architecture across microservices to reduce duplication and risk.

What is the best way to validate requests in an Express TypeScript microservice?

The best way to validate requests in an Express TypeScript microservice is using Zod. It enforces type-safety and consistent validation patterns across the API, providing practical examples and anti-patterns to help teams scale while avoiding common pitfalls.

How do I standardize error handling across Node.js microservices?

Standardize error handling across Node.js microservices by implementing a BaseController pattern. This provides consistent error processing across controllers and integrates Sentry monitoring to unify architecture, improve maintainability, and accelerate delivery.

Can I use Prisma with a layered Express TypeScript architecture?

Yes, you can use Prisma with a layered Express TypeScript architecture. The guide provides comprehensive coverage of Prisma integration within the repository layer to enforce type-safety and consistency across backend services.

How do I configure dependency injection in a TypeScript backend?

Configure dependency injection in a TypeScript backend by applying the guide's standardized patterns. It enforces type-safety and consistent architecture across services, reducing duplication and risk while accelerating microservice delivery.