In short.
EF Core Configuration Generator is an assistant skill for .NET developers mapping application data to PostgreSQL, but its examples require project-specific work before adoption. Its main value is a collection of per-entity mapping patterns that keep database configuration outside domain classes. Static inspection reveals an unfinished outbox integration, assumptions in the shared audit loop and potentially restrictive uniqueness rules. Package compatibility, generated output, database behavior, costs and reuse rights are not established by the supplied evidence.
Researched and written by an AI model and checked by a second AI model. How it works
The selected scope is cli/dist/skills/06-dotnet-ef-core-configuration and its files, with licence notices beside and above it. The supplied manifest contains only SKILL.md at revision 9075ef3b9b86e576a86d634b9c8e8cebf50cf1a0, with file SHA-256 9a7fb9c41a17b07599218e5a9787476e95658422d51c0127e49d2089dc1618b8. No additional supporting files or surrounding licence notices are available. Findings cover this document and its embedded examples; the repository CLI, related skills, external documentation and runtime behavior remain unassessed. Nothing was executed.
The overview
Identity
The skill identifies itself as dotnet-ef-core-configuration, version 1.0.0, with the title EF Core Configuration Generator. It is a SKILL.md instruction document containing C# templates for Entity Framework Core, which maps application objects to database tables.
It belongs to ronnythedev/dotnet-clean-architecture-skills at cli/dist/skills/06-dotnet-ef-core-configuration. Original folder: [https://github.com/ronnythedev/dotnet-clean-architecture-skills/tree/main/cli/dist/skills/06-dotnet-ef-core-configuration].
Assessment
The skill offers a useful starting reference for teams that want database rules in separate configuration classes. Its examples cover ordinary fields as well as owned value objects, audit fields, JSON and outbox records.
Its usefulness depends on reviewing and adapting those examples. The supplied file does not demonstrate a complete application, working generated output or successful database integration. Nothing was compiled, run or tested.
Users
The strongest fit is a C# developer who already has domain entities and wants an assistant to draft their PostgreSQL persistence configuration. The separation between domain classes and infrastructure configuration also suits the Clean Architecture layout shown in the file.
Beginners can use the examples to understand how properties, relationships and indexes are mapped, but will need enough EF Core knowledge to choose deletion rules, uniqueness constraints and optional fields. The templates do not determine those business decisions.
Capabilities
The file provides IEntityTypeConfiguration<T> patterns for table names, application-assigned identifiers, required properties, length limits, defaults and indexes. Relationship examples cover parent-child collections, organization references, optional self-references and explicit many-to-many join entities.
Additional patterns cover owned Email, Address and Money objects; enum conversions; shadow audit properties; a concurrency token; soft-delete filtering; PostgreSQL JSONB; and an outbox message table. Although the overview lists one-to-one relationships, no dedicated HasOne/WithOne example appears.
Using it
Requirements
The metadata targets C# and .NET 8+ and names Entity Framework Core and Npgsql as dependencies. The snake-case setup additionally requires EFCore.NamingConventions. Exact dependency versions and a verified compatibility matrix are not supplied.
Adapting the examples requires matching entity classes, navigation properties, a DbContext and a PostgreSQL connection. Some fragments also depend on project-specific types such as IUnitOfWork and OutboxMessage. Supported assistant hosts, installation formats and model requirements are unspecified.
Mechanism
An assistant can use the document's templates to draft one configuration class per entity, replacing placeholders with the application's types and properties. Fluent API calls describe database rules separately from the domain classes.
The DbContext example discovers configuration classes through ApplyConfigurationsFromAssembly. Provider setup uses UseNpgsql and UseSnakeCaseNamingConvention. The file supplies instructions and code fragments; it contains no executable generator implementation.
Setup
The proposed layout places adapted configuration classes under Infrastructure/Configurations. Replace placeholders such as {name}, {Entity} and {ChildEntities}, then configure the DbContext to discover those classes from its assembly.
The PostgreSQL registration example combines UseNpgsql(connectionString) with UseSnakeCaseNamingConvention(). The naming-convention package must be included for that example. Audit and outbox integration require additional project code; no assistant-specific installation command or complete migration procedure is provided.
Example
For an existing entity with Name, OrganizationId and a Price value object, the supplied patterns show a required Name limited to 100 characters, an OrganizationId index, and Price fields stored as numeric(18,2) and a currency string limited to three characters. This illustrates intended use; no generated result was produced.
The basic template makes Name unique by itself and also makes the OrganizationId/Name pair unique. If separate organizations should be allowed to reuse a name, retaining the standalone unique Name index would impose a stricter rule than intended.
Assessment & evidence
Limitations
The DbContext example calls AddDomainEventsAsOutboxMessages(), but the file supplies no implementation. The audit loop writes CreatedAt for added entries and UpdatedAt for added or modified entries. The outbox mapping configures neither audit field, but the OutboxMessage class is not supplied, so whether its model lacks these properties remains unknown.
Parent and child templates both configure their shared relationship, despite guidance to configure relationships from one side. The file also presents conventions such as application-generated GUIDs as general rules; their suitability depends on the application. Provider-specific timestamp, JSON and concurrency behavior is not demonstrated.
Reasoning
The design rationale is to keep persistence details out of domain classes while collecting each entity's database rules in one place. Explicit relationship and deletion settings make those choices visible for review.
The same visibility exposes assumptions that need checking: whether identifiers are application-assigned, whether names are globally unique, which records may cascade on deletion and which entities have audit fields. These conclusions come from reading the examples; correctness and time savings have not been measured.
Alternatives
The document shows data annotations as an alternative way to place mapping rules directly on entity classes, while advocating separate Fluent API configuration. Developers could also adapt the supplied Fluent API patterns manually; no comparative results establish an advantage from assistant use.
Related resources named in the file are dotnet-domain-entity-generator, dotnet-repository-pattern and dotnet-clean-architecture. Their names indicate complementary roles, but their contents and compatibility are not available for assessment.
Evidence
The available source is the complete supplied SKILL.md, including its metadata, mapping templates and DbContext example. No generated application, migrations, execution logs, benchmarks or test results accompany it.
The captured original is pinned to repository revision 9075ef3b9b86e576a86d634b9c8e8cebf50cf1a0: [https://raw.githubusercontent.com/ronnythedev/dotnet-clean-architecture-skills/9075ef3b9b86e576a86d634b9c8e8cebf50cf1a0/cli/dist/skills/06-dotnet-ef-core-configuration/SKILL.md].
Access & freshness
Costs
The supplied file states no price, subscription requirement, assistant usage estimate or database operating cost. The cost of obtaining and using the skill, and the total cost of its surrounding environment, remain unknown.
Rights
The supplied SKILL.md contains no licence notice. No separate licence text from the skill folder, its parent directories or the repository is included in the available evidence. Permissions for reuse, modification and redistribution therefore remain unknown.
Freshness
The source was captured on 2026-11-15 at 22:20:24.385 UTC and declares skill version 1.0.0. That capture time establishes the evidence snapshot, not the file's publication or last-maintenance date.
The declared target is .NET 8+, but compatibility across later framework and provider releases is unverified. Changes after the pinned revision and the current contents of the main branch are unknown.
Actions
Before adoption, establish reuse rights and choose compatible dependency versions. Adapt the placeholders and review uniqueness, identifier generation, deletion rules, audit coverage and outbox handling against the application's requirements.
Then build the adapted project, inspect generated migrations and validate representative relationships, duplicate-name cases, soft deletion and audit updates in a disposable database. Include provider-specific checks for JSON, timestamps and concurrency if those templates are used. These are proposed validation steps; none was performed.
