backend-dev-guidelines

Automate backend module governance for Node.js/Express/TypeScript projects with Prisma and Zod.

Updated Feb 13, 2026
One-click install
npx skills add https://github.com/mwathiben/PropManager --skill backend-dev-guidelines-mwathiben
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backend-dev-guidelines
Source: https://github.com/mwathiben/PropManager/tree/main/.claude/skills/backend-dev-guidelines
Command: npx skills add https://github.com/mwathiben/PropManager --skill backend-dev-guidelines-mwathiben

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Establish consistency and best practices across backend microservices, reducing bugs and onboarding time.

Core Features & Use Cases

  • Layered architecture guidance for routes, controllers, services, repositories
  • Patterns like BaseController, dependency injection, unifiedConfig, and Sentry integration
  • Validation with Zod, Prisma data access, testing strategies, and migration guidance

Quick Start

Define a new backend feature by creating routes, controllers, services, and repositories with DI, validation, and Prisma access following the BaseController pattern.

Frequently Asked Questions about backend-dev-guidelines

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

FAQPage Schema
What is the best way to structure a Node.js backend with TypeScript and Prisma?

A layered backend architecture organizes Node.js TypeScript modules into routes, controllers, services, and repositories. This separation isolates Prisma data access and Zod validation, reducing bugs across microservices.

How do I validate request data in an Express TypeScript API using Zod?

Zod validation in an Express TypeScript API involves defining schema objects and applying them within middleware. This ensures request payloads match expected types before reaching service layers.

Does this backend development approach work with existing legacy Express patterns?

Yes, the approach includes migration guidance for moving away from legacy Express patterns. It provides steps to refactor existing code toward a BaseController pattern and dependency injection without full rewrites.

How do I implement error handling and Sentry tracking in a TypeScript Express project?

Error handling and Sentry tracking in a TypeScript Express project are implemented by extending a BaseController. This centralizes error capture, ensuring exceptions are logged consistently across all microservices.

Can I use dependency injection with Prisma repositories in a Node.js application?

Dependency injection with Prisma repositories is supported in Node.js applications. Passing repository instances through controller constructors decouples data access logic from business logic for easier testing.

What testing strategies should I apply to a layered backend architecture?

End-to-end testing strategies for layered backend architecture focus on validating routes and controllers. Testing isolated services and repositories ensures business logic functions correctly before deployment.