ddd-usage
CommunityMaster Genies DDD primitives for robust domains.
Authortdcare
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Genies DDD primitives provide a minimal, type-safe foundation for aggregates, domain events, and event publishing, simplifying domain modeling and ensuring consistent event delivery with an Outbox pattern.
Core Features & Use Cases
- Aggregate and DomainEvent traits with derive macros for ergonomic domain modeling
- publish and publishGenericDomainEvent functions to emit CloudEvent-compatible messages
- Outbox-based persistence and Dapr Pub/Sub integration for reliable delivery
- CloudEvent compatibility and seamless integration with genies_derive
Quick Start
Define an aggregate using #[derive(Aggregate)] and a domain event using #[derive(DomainEvent)], then publish events with the provided publish functions.
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-usage Download link: https://github.com/tdcare/genies/archive/main.zip#ddd-usage 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 471,000+ vetted skills library on demand.