ef-core-patterns

Community

Make EF Core migrations and queries safer

Authorzdanovichnick
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It prevents broken EF Core migrations and inefficient or unsafe query patterns by providing vetted guidance for schema changes, configuration, and performance-minded data access.

Core Features & Use Cases

  • Migration Safety Playbook: Distinguishes safe vs dangerous migration operations (e.g., dropping data or changing types) and outlines best practices like small, reversible changes and avoiding manual edits to generated migrations.
  • Configuration Patterns: Provides a clean approach using Fluent API entity configurations and applying configurations from the DbContext assembly.
  • Query Optimization Checklist: Recommends performance-safe query practices such as AsNoTracking for reads, projection to reduce data loading, and safer SQL usage patterns.

Quick Start

Ask for a migration plan and query review by saying: "Using ef-core-patterns, which EF Core migration operations are risky for dropping or changing a column type, and what query and configuration practices should I follow for this DbContext?"

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: ef-core-patterns
Download link: https://github.com/zdanovichnick/dotnet-pilot/archive/main.zip#ef-core-patterns

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 471,000+ vetted skills library on demand.