domain-event-conventions
CommunityDefine domain event conventions for CritterCab services.
Authorerikshafer
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides guidelines for naming, file placement, and structuring domain events in CritterCab services, ensuring consistency and clarity in event design.
Core Features & Use Cases
- Event Naming: Follows past-tense verb + noun naming convention, avoiding 'Event' suffix.
- File Placement: Organizes events alongside commands and handlers, in feature-based directories.
- Type Shape: Defines a canonical shape for domain events, using sealed records and value objects.
- Aggregate ID Naming: Uses {AggregateTypeName}Id for ID fields, ensuring clarity.
- Integration Events: Differentiates between slim domain events and rich integration events.
- Marten Registration: Ensures all events are registered in Marten event streams.
- Naming Collisions: Provides guidance for handling naming collisions between domain and integration events.
- Enum Types: Defines enum types within the service's own namespace, avoiding cross-service sharing.
Quick Start
Implement a new domain event in your CritterCab service by following the naming and structuring conventions outlined in this Skill.
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: domain-event-conventions Download link: https://github.com/erikshafer/CritterCab/archive/main.zip#domain-event-conventions 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 620,000+ vetted skills library on demand.