davila7 avatar

Backend Dev Guidelines

A comprehensive rulebook for Node.js/Express/TypeScript microservices that enforces layered architecture (routes to controllers to services to repositories). Activates when you're working with Express APIs, Prisma, Sentry, or Zod validation. The core is seven strict rules: routes only route, all controllers extend BaseController, all errors go to Sentry, never touch process.env directly (use unifiedConfig instead), validate everything with Zod, use repositories for data access, and write tests. Includes templates from their mature blog-api and auth-service implementations. Honestly this reads like internal team standards that got polished into a skill, which makes it actually useful if you're building similar microservices or want opinionated structure instead of reinventing patterns.

skills.sh installs
492
GitHub stars
33.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add davila7/claude-code-templates --skill backend-dev-guidelines --agent claude-code

Installs into .claude/skills of the current project.

Files

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

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Categories
Backend & APIs, Testing & QA, DevOps & CI/CD, Documentation, Code Review & Quality, Debugging, Databases
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 618
1aj-geddes avatardatabase-indexing-strategyaj-geddes/useful-ai-promptsDesign and implement database indexing strategies. Use when creating indexes, choosing index types, or optimizing index performance in PostgreSQL and MySQL.491skills.sh installs
2auth0 avatarauth0-aspnetcore-apiauth0/agent-skillsUse when protecting ASP.NET Core Web API endpoints with JWT Bearer token validation, scope checks, or DPoP binding. Integrates Auth0.AspNetCore.Authentication.A490skills.sh installs
3davila7 avatarapi-patternsdavila7/claude-code-templatesAPI design principles and decision-making. REST vs GraphQL vs tRPC selection, response formats, versioning, pagination.486skills.sh installs
4secondsky avatarapi-design-principlessecondsky/claude-skillsMaster REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewin479skills.sh installs
5intellectronica avatarupstash-redis-kvintellectronica/agent-skillsRead and write to Upstash Redis-compatible key-value store via REST API. Use when there is a need to save or retrieve key-value data, use Redis features (cachin473skills.sh installs
6secondsky avatarapi-reference-documentationsecondsky/claude-skillsCreates professional API documentation using OpenAPI specifications with endpoints, authentication, and interactive examples. Use when documenting REST APIs, cr465skills.sh installs