service-pattern-nestjs

Community

Reliable NestJS service patterns for robust apps

Authorallenlin90
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Comprehensive pattern guidelines and boilerplate for implementing NestJS services at scale, including Model Services, Orchestration Services, and business logic with NestJS decorators, to promote consistency and maintainability across modules.

Core Features & Use Cases

  • Standardized service layering using BaseModelService, Model/Orchestration separation, and repository-driven data access.
  • Support for transactional orchestration with CLS-based @Transactional, and safe error handling patterns.
  • Enforced validation via schema payloads and decoupling from ORM types within service methods.

Quick Start

Create a new NestJS service by extending BaseModelService, inject the repository, and follow the Model and Orchestration patterns described in this skill to implement consistent business logic.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: service-pattern-nestjs
Download link: https://github.com/allenlin90/eridu-services/archive/main.zip#service-pattern-nestjs

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.