ddd-usecase-generator
CommunityAuto-generate use cases and listeners with DI.
Authormoasadi
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill scaffolds application-layer use cases and event listeners with proper DI and orchestration, enabling teams to rapidly implement domain-driven workflows without boilerplate.
Core Features & Use Cases
- Use Case templates: Single-responsibility classes with execute() methods
- Event Listeners: Handlers for domain events
- DI patterns: TSyringe-based injection for repositories and use cases
- Event Emission: Emit domain events after business operations
- Examples: "RegisterUserUseCase", "PlaceOrderUseCase"
Quick Start
- Create a new use case following the template; ensure injects and emits events as shown in examples
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: ddd-usecase-generator Download link: https://github.com/moasadi/ddd-bun-api-boilerplate/archive/main.zip#ddd-usecase-generator Please download this .zip file, extract it, and install it in the .claude/skills/ directory.