ecotone-aggregate
OfficialBuild robust domain aggregates with ease.
System Documentation
What problem does it solve?
Aggregates are central to domain-driven design, but implementing both state-stored and event-sourced variants with correct identifiers, factory methods, and command wiring can be verbose and error-prone. This skill provides structured patterns and examples to accelerate and standardize aggregate development in Ecotone.
Core Features & Use Cases
- State-stored and event-sourced aggregates with #[Aggregate] and #[EventSourcingAggregate].
- Proper use of #[Identifier] and optional composite keys, including command mapping and event-sourcing patterns.
- Factory methods and repository access wiring to integrate with Ecotone.
Quick Start
Define an aggregate class annotated with #[Aggregate] or #[EventSourcingAggregate], implement an Identifier, and add static creation handlers along with command handlers and event-sourcing handlers to manage state and events.
Dependency Matrix
Required Modules
None requiredComponents
💻 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: ecotone-aggregate Download link: https://github.com/ecotoneframework/skills/archive/main.zip#ecotone-aggregate 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.