Dotnet efcore data access review

From VincentChuWaiChow/vanguard-frontier-agentic · View interactive version

Dotnet efcore data access review is an AI agent skill from the GitHub repository VincentChuWaiChow/vanguard-frontier-agentic. Use this skill when statically reviewing EF Core data access — DbContext lifetime and registration, N+1 query patterns, unbounded result sets, raw SQL injection surface, optimistic concurrency tokens, migration discipline, multi-tenant global query filters, and connection resiliency. Trigger when a

How to use this skill

Skill file

.NET EF Core Data Access Review

Purpose

This skill statically reviews EF Core data access for correctness, performance, and isolation. A data access layer is only safe if the DbContext has the right lifetime, queries do not concatenate user input into SQL, multi-tenant entities cannot leak across tenants, result sets are bounded, contended aggregates carry a concurrency token, the model matches its migrations, and cloud connections survive transient faults. The review catches singleton DbContext registration, string-interpolated raw SQL, missing global query filters, N+1 query patterns, unbounded queries, missing RowVersion tokens, model-vs-migration drift, and absent connection resiliency.

Trigger conditions

Lean operating rules

References

Load these only when needed:

Response minimum

Return, at minimum:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.