entity-creator
CommunityAuto-create DDD entities with factory and events.
System Documentation
What problem does it solve?
This Skill automates the boilerplate creation of DDD-compatible entities, including a factory method, domain events, value objects scaffolding, and EF Core configuration, reducing repetitive coding and ensuring architectural consistency.
Core Features & Use Cases
- Auto-generates a complete entity skeleton under Merge.Domain/{Module}/Entities/{Entity}.cs
- Enforces a Create factory method for controlled instantiation and emits a CreatedEvent
- Adds domain events for lifecycle changes (Created, Updated, Deactivated) and a ById specification
- Generates EF Core configuration under Merge.Infrastructure/Data/Configurations/{Entity}Configuration.cs
- Useful when introducing new domain models or refactoring existing aggregates
Quick Start
Provide the entity name and required fields to generate the complete DDD entity, including its factory, domain events, specification, and EF configuration. The generated files will be placed in Merge.Domain and Merge.Infrastructure under the appropriate module and can be migrated with EF Core migrations.
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: entity-creator Download link: https://github.com/ademceper/merge/archive/main.zip#entity-creator 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.