backend-dev-guidelines

Guide Node.js, Express, and TypeScript microservice development with layered architecture and patterns.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill standardizes and streamlines the development of Node.js/Express/TypeScript microservices, ensuring consistency, maintainability, and best practices across your backend projects.

Core Features & Use Cases

  • Layered Architecture: Enforces a clean separation of concerns (routes, controllers, services, repositories).
  • Best Practices: Guides on error handling, validation (Zod), configuration (unifiedConfig), and testing.
  • Use Case: When starting a new feature in an Express API, consult this Skill to ensure you're following the established patterns for creating routes, controllers, and services, leading to more robust and scalable code.

Quick Start

Follow the checklist in the SKILL.md file to create a new backend feature.

Frequently Asked Questions about backend-dev-guidelines

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

FAQPage Schema
How do I structure a Node.js Express microservice with TypeScript?

Structure your Node.js Express microservice using a layered architecture that separates routes, controllers, services, and repositories. This pattern enforces clean separation of concerns, ensuring maintainability and consistency across backend projects.

What is the BaseController pattern in backend API development?

The BaseController pattern standardizes request handling in backend API development by abstracting common logic into a base class. It streamlines controller creation in Express and TypeScript, ensuring established architectural patterns are consistently applied.

How do I validate API request inputs in Express using Zod?

Validate API request inputs in Express using Zod by defining schema objects for your data. This Skill provides guidelines for integrating Zod to enforce type safety and runtime validation, preventing invalid data from reaching services.

Can I use Sentry for error handling in Node.js microservices?

Yes, you can use Sentry for error handling in Node.js microservices. This Skill provides guidelines for integrating Sentry to capture and monitor exceptions, ensuring robust error tracking across your Express backend architecture.

What is the best way to manage configuration in a TypeScript Express application?

The best way to manage configuration in a TypeScript Express application is using a unifiedConfig approach. This standardizes environment variables and settings, ensuring secure and maintainable configuration management across microservices.

How do I implement dependency injection in an Express backend?

Implement dependency injection in an Express backend by passing service instances directly to controllers or routes. This approach decouples component creation, enhancing testability and maintaining the clean layered architecture of your microservices.