use-case-layer
CommunityEnforce clean use-cases with base layers.
Authormthang1801
Version1.0.0
Installs0
System Documentation
What problem does it solve?
NestJS DDD use-case layering standardization by enforcing BaseQuery/BaseCommand to ensure consistency across application services.
Core Features & Use Cases
- Enforces a consistent use-case structure by requiring extension from BaseQuery or BaseCommand.
- Demonstrates read use-cases via BaseQuery and write-use-cases via BaseCommand with practical examples.
- Provides guidelines on hooks, controller interactions, and naming conventions to streamline development.
Quick Start
Create a new use-case by extending BaseQuery or BaseCommand and connect it to a controller using queryWithHooks or executeWithHooks.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: use-case-layer Download link: https://github.com/mthang1801/go-domain-driven-design/archive/main.zip#use-case-layer 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.