dotnet-efcore-practices

Community

Standardize EF Core usage for cleaner code.

Authormcj-coder
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the common issues of disorganized EF Core migrations and scattered entity configurations, leading to cleaner, more maintainable, and testable database code.

Core Features & Use Cases

  • Migrations Isolation: Ensures EF Core migrations are kept in a dedicated project, separate from application logic, and excluded from code coverage.
  • Dedicated Type Configuration: Enforces the use of separate classes for entity configurations, improving readability and maintainability.
  • Attribute-Linked Discovery: Promotes a robust pattern for linking entities to their configurations via attributes, ensuring deterministic application.
  • Use Case: When adding new entities or modifying existing ones in an EF Core project, this Skill guides the developer to correctly place migrations, create dedicated configuration files, and ensure they are discoverable, preventing common pitfalls.

Quick Start

Apply the dotnet-efcore-practices skill to standardize EF Core usage in your project.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: dotnet-efcore-practices
Download link: https://github.com/mcj-coder/development-skills/archive/main.zip#dotnet-efcore-practices

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.