neo-dotnet-ef-core

neo-dotnet-ef-core is a skill for Claude Code, Codex from Benknightdark/neo-skills. It costs 46 tokens per session (884 once invoked), scanned A, original, MIT.

A guide for working with Entity Framework Core, a .NET library that maps application objects to database records and supports database queries and changes.

In plain words
What is it for?
Use it to design data models, write LINQ queries, manage DbContext and migrations, configure relationships, track changes, and review query performance.
Why use it?
It helps avoid inefficient database access, unclear data relationships, and migration problems as a .NET application evolves.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to design data models, write LINQ queries, manage DbContext and migrations, configure relationships, track changes, and review query performance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/benknightdark/neo-skills/neo-dotnet-ef-core
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Benknightdark/neo-skills --skill neo-dotnet-ef-core
Clone the repo
git clone --depth 1 https://github.com/Benknightdark/neo-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for neo-dotnet-ef-core

README.md
[![agentmods](https://agentmods.dev/badge/skills/benknightdark/neo-skills/neo-dotnet-ef-core/github.svg)](https://agentmods.dev/skills/benknightdark/neo-skills/neo-dotnet-ef-core)
Your own site
<a href="https://agentmods.dev/skills/benknightdark/neo-skills/neo-dotnet-ef-core"><img src="https://agentmods.dev/badge/skills/benknightdark/neo-skills/neo-dotnet-ef-core/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for neo-dotnet-ef-core

Your own site · 80×15
<a href="https://agentmods.dev/skills/benknightdark/neo-skills/neo-dotnet-ef-core"><img src="https://agentmods.dev/badge/skills/benknightdark/neo-skills/neo-dotnet-ef-core.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 884 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.00884
Opus 5 $0.00023 $0.00442
Sonnet 5 $0.00009 $0.00177
Haiku 4.5 $0.00005 $0.00088

Measured 12d ago against content hash a5585d4a8c93, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

neo-dotnet-ef-core scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/neo-dotnet-ef-core/SKILL.md · 83 lines

How it starts

The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.

EF Core Expert Skill

Trigger On

  • The user requests database modeling, writing Linq queries, or handling database migrations.
  • The project contains a DbContext class or references the Microsoft.EntityFrameworkCore package.
  • There is a need to optimize database access performance or solve N+1 query problems.
  • The task involves complex data relationship design (one-to-many, many-to-many, inheritance mapping).

Workflow

  1. Perceive (Model Awareness):
    • Check .csproj to identify the EF Core version and database provider.
    • Analyze DbContext and entity configurations to confirm whether the Fluent API pattern is adopted.
    • Identify the current state of Migrations.
  2. Reason (Planning Phase):
    • Evaluate whether queries need .AsNoTracking() or .AsSplitQuery().
    • Determine whether custom interceptors are needed to handle audit fields.
    • Evaluate whether to use ExecuteUpdate/Delete (.NET 7+) for massive data updates.
  3. Act (Execution Phase):
    • Write efficient and safe Linq queries.
    • Implement entity configuration classes (IEntityTypeConfiguration).
    • Create and execute database migration commands.
  4. Validate (Standard Validation):
    • Check if the generated SQL meets performance expectations (avoiding full table scans).
    • Validate concurrency conflict handling logic.
    • Ensure all database accesses follow asynchronous patterns.

Feature Roadmap (.NET 6 - 10)

.NET 6 & 7 (Foundation)

  • Split Queries: Solve the Cartesian product problem.
  • Bulk Operations: Use ExecuteUpdate/Delete for high-performance updates.
  • JSON Columns: Built-in JSON mapping support.
  • Compiled Models: Reduce startup time for large models.

.NET 8 & 9 (Productivity)

  • Primitive Collections: Use simple type collections in queries.
  • HierarchyId: Support for SQL Server hierarchical data.
  • Auto-compiled Queries: Further optimize the query compilation process.
  • Complex Types: Better support for Value Objects.

Read the full file on GitHub · 83 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 83 lines · 46 tokens per session scan A a5585d4a8c93

Subscribe to this mod's changes

neo-dotnet-ef-core is a skill published in the GitHub repository Benknightdark/neo-skills (7 stars, last pushed 6d ago), licensed MIT. It adds 46 tokens to every session and 884 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

entity-framework-core

Design, tune, or review EF Core data access with proper modeling, migrations, query translation, performance, and lifetime management for modern .NET applications. USE FOR: DbContext, migrations, model configuration, EF queries, tracking, loading, performance, transactions, and EF6 migration decisions. DO NOT USE FOR…

managedcode/dotnet-skills · 110 tokens

entity-framework6

Maintain or migrate EF6-based applications with realistic guidance on what to keep, what to modernize, and when EF Core is or is not the right next step. USE FOR: EF6 codebases; runtime versus ORM migration decisions; EDMX, code-first, ObjectContext, and legacy data-access review. DO NOT USE FOR: unrelated stacks…

managedcode/dotnet-skills · 114 tokens

neo4j-driver-dotnet-skill

Neo4j .NET Driver v6 — IDriver lifecycle, DI registration (singleton), ExecutableQuery fluent API, ExecuteReadAsync/ExecuteWriteAsync managed transactions, IResultCursor (FetchAsync/ ToListAsync), record value access (.Get /As ), null safety, UNWIND batching, temporal types, await using, EagerResult, object mapping…

neo4j-contrib/neo4j-skills · 187 tokens

csharp-dotnet

Use when building on .NET 8+ with C# 12. Covers nullable reference types, records, async/await correctness, minimal APIs, dependency injection, and EF Core query performance.

nimadorostkar/Claude-Skills-collection · 44 tokens

ruby

Use when writing Ruby or working in Rails codebases. Covers idiomatic object design, service objects, ActiveRecord query performance, RSpec structure, and RuboCop-clean style.

nimadorostkar/Claude-Skills-collection · 38 tokens

azure-resource-manager-mysql-dotnet

Azure MySQL Flexible Server SDK for .NET. Database management for MySQL Flexible Server deployments.

tmolavi/mcp-agent-skills-hub · 27 tokens