backend-dev-guidelines
CommunityMaster Node.js microservices, build robust APIs.
System Documentation
What problem does it solve?
This Skill establishes consistency and best practices across backend microservices, addressing issues like inconsistent architecture, poor error handling, lack of validation, and difficult-to-maintain codebases. It guides developers in building robust, scalable, and testable Node.js/Express/TypeScript APIs.
Core Features & Use Cases
- Layered Architecture: Enforces a clear separation of concerns (Routes → Controllers → Services → Repositories) for improved maintainability and testability.
- Type-Safe Validation & Configuration: Mandates Zod for input validation and
unifiedConfigfor type-safe, centralized configuration, eliminatingprocess.envdirect usage. - Comprehensive Error Handling & Monitoring: Integrates Sentry for mandatory error tracking and performance monitoring, ensuring all errors are captured with rich context.
- Use Case: When developing a new API endpoint for a Node.js microservice, use this Skill to ensure the implementation follows the layered architecture, uses Zod for input validation, integrates Sentry for error tracking, and adheres to the
BaseControllerpattern for consistent response handling.
Quick Start
Create a new Node.js/Express API endpoint for user creation, including a controller, service, and repository, with Zod validation and Sentry integration, following the layered architecture.
Dependency Matrix
Required Modules
None requiredComponents
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: backend-dev-guidelines Download link: https://github.com/diet103/claude-code-infrastructure-showcase/archive/main.zip#backend-dev-guidelines Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.