backend-dev-guidelines

Enforce layered architecture and error handling for Node.js Express microservices.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive framework to ensure consistency, maintainability, and best practices in backend microservice development, reducing bugs and accelerating development.

Core Features & Use Cases

  • Standardized Architecture: Enforces a layered architecture (routes, controllers, services, repositories).
  • Consistent Error Handling: Integrates Sentry for robust error tracking and reporting.
  • Input Validation: Mandates Zod for type-safe input validation.
  • Use Case: When starting a new Node.js/Express microservice or refactoring an existing one, use this Skill to establish a clean, well-structured codebase that adheres to established patterns.

Quick Start

Use the backend-dev-guidelines skill to generate a new Node.js/Express microservice structure.

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 Express microservice with TypeScript?

The best way to structure a Node.js Express microservice is by enforcing a layered architecture with distinct routes, controllers, services, and repositories to ensure maintainability and scalable backend systems.

How do I enforce consistent error handling in a Node.js backend?

To enforce consistent error handling in a Node.js backend, you should integrate Sentry for robust error tracking and reporting alongside a standardized layered architecture for your microservices.

How do I validate input in Express using TypeScript?

To validate input in Express using TypeScript, you should mandate Zod for type-safe input validation, ensuring data integrity before processing requests within your microservice's controller layer.

Can I use this layered architecture approach to refactor an existing backend?

Yes, you can use this layered architecture approach to refactor an existing Node.js backend by restructuring your codebase into routes, controllers, services, and repositories to adhere to established patterns.

What is the repository pattern in backend microservices and when do I need it?

The repository pattern in backend microservices abstracts data access logic away from business logic. You need it when building scalable Node.js systems to maintain a clean separation of concerns.

Do I need Sentry and Zod to use this backend development framework?

Yes, the framework mandates Zod for type-safe input validation and integrates Sentry for error tracking to ensure consistency, maintainability, and best practices in backend microservice development.