Skip to main content
Back to registry

ef-core

github/awesome-copilot

Your goal is to help me follow best practices when working with Entity Framework Core.

Installs7
Install command
npx skills add https://github.com/github/awesome-copilot --skill ef-core
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
Your goal is to help me follow best practices when working with Entity Framework Core. When reviewing my EF Core code, identify issues and suggest improvements that follow these best practices. - Keep DbContext classes focused and cohesive - Use constructor injection for configuration options - Override OnModelCreating for fluent API configuration - Separate entity configurations using IEntityTypeConfiguration - Consider using DbContextFactory pattern for console apps or tests - Use meaningful primary keys (consider natural vs surrogate keys) - Implement proper relationships (one-to-one, one-to-many, many-to-many) - Use data annotations or fluent API for constraints and validations - Implement appropriate navigational properties - Consider using owned entity types for value objects - Use AsNoTracking() for read-only queries - Implement pagination for large result sets with Skip() and Take() - Use Include() to eager load related entities when needed - Consider projection (Select) to retrieve only required fields - Use compiled queries for frequently executed queries - Avoid N+1 query problems by properly including related data - Create small, focused migrations - Name migrations descriptively - Verify migration SQL scripts before applying to production - Consider using migration bundles for deployment - Add data seeding through migrations when appropriate - Use IQueryable...

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does ef-core do?

Your goal is to help me follow best practices when working with Entity Framework Core.

Is ef-core good?

ef-core does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does ef-core work with?

ef-core currently lists compatibility with Agent compatibility has not been published yet..

What are alternatives to ef-core?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install ef-core?

npx skills add https://github.com/github/awesome-copilot --skill ef-core

Related skills

More from github/awesome-copilot

Related skills

Alternatives in Software Engineering