domain-entity-addition
CommunityAdd new domain entities consistently.
System Documentation
What problem does it solve?
This skill standardizes the process of adding a new persisted domain entity into the main application context. It ensures the entity is placed in the correct domain layer, the naming is consistent, and the persistence wiring across Domain, IMainContext, and MainContext is properly configured. It also enforces creating the Domain repository contract, the EFCore implementation, and the necessary configuration so startup, migrations, and usage remain reliable.
Core Features & Use Cases
- Domain placement: ensures the new entity resides in the Domain and is wired into the main context.
- Repository contracts and EFCore wiring: creates I<Entity>Repository in Domain and <Entity>Repository in EFCore, with proper base classes and DI wiring.
- Configuration and migrations: adds <Entity>Configuration and registers it in MainContext.OnModelCreating, plus generates a migration when the schema changes.
Quick Start
Create a new persisted domain entity following the established wiring rules and EFCore 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: domain-entity-addition Download link: https://github.com/SergeuMatyasov/dotnet-shared-skills/archive/main.zip#domain-entity-addition 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.