domain-event
OfficialDecouple logic with Domain Events in DDD.
Authordairectiv
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Domain events enable decoupled communication between aggregates and listeners by recording meaningful business changes.
Core Features & Use Cases
- Defines a consistent DomainEvent interface and event naming conventions.
- Provides guidance for creating event listeners that react to domain events without business logic.
- Includes examples for recording, dispatching, and consuming domain events in a DDD context.
- Use case: when an aggregate state changes (e.g., DirectiveDrafted) triggers side effects like notifications or index updates.
Quick Start
Define a DomainEvent in your domain, emit it from the appropriate aggregate, and implement a listener to react to the event with no business logic.
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: domain-event Download link: https://github.com/dairectiv/dairectiv/archive/main.zip#domain-event 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.