nestjs-cqrs-setup
OfficialNestJS CQRS setup and verification
Authorcromesdk
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the setup and verification of CQRS (Command Query Responsibility Segregation) in NestJS applications, ensuring modules are correctly wired and conditionally loaded based on environment variables.
Core Features & Use Cases
- CQRS Installation: Installs
@nestjs/cqrsand@nestjs/configdependencies. - Environment Gating: Configures
CQRS_ENABLEDin.envto conditionally load CQRS modules and dependent features. - Module Wiring: Correctly wires
ConfigModuleandCqrsModuleusingConditionalModule.registerWhen. - Handler Setup: Guides the setup of command, query, and event handlers.
- Verification: Verifies successful application startup and functional execution of CQRS flows in both enabled and disabled states.
- Use Case: When starting a new NestJS project or refactoring an existing one, use this Skill to integrate CQRS robustly, ensuring it can be easily enabled or disabled for different environments without causing DI failures.
Quick Start
Use the nestjs-cqrs-setup skill to install and configure CQRS in your NestJS project.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 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: nestjs-cqrs-setup Download link: https://github.com/cromesdk/ai-skills/archive/main.zip#nestjs-cqrs-setup 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 223,000+ vetted skills library on demand.