scaffold-aggregate
CommunityScaffold a new event-sourced aggregate quickly.
Authoraalmada
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill helps domain teams implement event-sourced aggregates by providing a ready-to-use scaffold that enforces Apply methods, consistent event definitions, and Marten-ready configuration. It reduces boilerplate and ensures patterns align with the project's event-sourcing standards.
Core Features & Use Cases
- Automated aggregate scaffolding: Generate the initial aggregate record, the initial event, and the Marten configuration skeleton.
- Pattern enforcement: Ensures the Apply methods are void with a single event parameter and provides templates for subsequent events.
- Guided implementation: Walks through creating factory methods, behavior methods that return events, and unit-test scaffolding for the new aggregate.
- Use Case: A developer adds a new domain entity (e.g., Author) and uses this skill to generate the Author aggregate boilerplate, ready for event-sourcing integration.
Quick Start
Scaffold a new Author event-sourced aggregate with an AuthorCreated event and Marten configuration.
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: scaffold-aggregate Download link: https://github.com/aalmada/BookStore/archive/main.zip#scaffold-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 223,000+ vetted skills library on demand.