domain-events
OfficialManage domain events effectively.
Authoraydadevelop
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a robust and type-safe system for emitting and subscribing to domain-specific events within the application, decoupling services and enabling event-driven architecture.
Core Features & Use Cases
- Event Emission: Allows domain services to publish events with typed payloads.
- Event Subscription: Enables modules to register as listeners for specific event types.
- Test Utilities: Provides
clearEventPushersfor isolated testing of event-driven logic. - Use Case: When a
booking:createdevent is emitted, thenotificationsmodule can automatically subscribe and send an email to the customer, while thecalendarmodule subscribes tobooking:confirmedto update the booking's calendar entry.
Quick Start
Register a new event pusher to handle the 'booking:confirmed' event.
Dependency Matrix
Required Modules
None requiredComponents
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: domain-events Download link: https://github.com/aydadevelop/turborepo-starter/archive/main.zip#domain-events 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.