backend-dev-guidelines

Solid

Comprehensive backend development guide for Node.js/Express/TypeScript microservices. Use when creating routes, controllers, services, repositories, middleware, or working with Express APIs, Prisma database access, Sentry error tracking, Zod validation, unifiedConfig, dependency injection, or async patterns. Covers layered architecture (routes → controllers → services → repositories), BaseController pattern, error handling, performance monitoring, testing strategies, and migration from legacy patterns.

API & Backend 27,984 stars 2901 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Backend Development Guidelines ## Purpose Establish consistency and best practices across backend microservices (blog-api, auth-service, notifications-service) using modern Node.js/Express/TypeScript patterns. ## When to Use This Skill Automatically activates when working on: - Creating or modifying routes, endpoints, APIs - Building controllers, services, repositories - Implementing middleware (auth, validation, error handling) - Database operations with Prisma - Error tracking with Sentry - Input validation with Zod - Configuration management - Backend testing and refactoring --- ## Quick Start ### New Backend Feature Checklist - [ ] **Route**: Clean definition, delegate to controller - [ ] **Controller**: Extend BaseController - [ ] **Service**: Business logic with DI - [ ] **Repository**: Database access (if complex) - [ ] **Validation**: Zod schema - [ ] **Sentry**: Error tracking - [ ] **Tests**: Unit + integration tests - [ ] **Config**: Use unifiedConfig ### New Microservice Checklist - [ ] Directory structure (see [architecture-overview.md](architecture-overview.md)) - [ ] instrument.ts for Sentry - [ ] unifiedConfig setup - [ ] BaseController class - [ ] Middleware stack - [ ] Error boundary - [ ] Testing framework --- ## Architecture Overview ### Layered Architecture ``` HTTP Request ↓ Routes (routing only) ↓ Controllers (request handling) ↓ Services (business logic) ↓ Repositories (data access) ↓ Database (Prisma) ``` **Key Pri...

Details

Author
davila7
Repository
davila7/claude-code-templates
Created
11 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category