dotnet-entity-framework6

dotnet-entity-framework6 is a skill for Claude Code, Codex from Postpartum-genushyacinthus29/dotnet-skills. It costs 56 tokens per session (863 once invoked), scanned A, original, MIT.

Guidance for maintaining or migrating Entity Framework 6, a .NET library that connects application code to databases. It covers older .NET Framework applications as well as applications moving to modern .NET.

In plain words
What is it for?
Use it to review EDMX or code-first models, assess EF6-specific features, decide whether to keep EF6 or move to EF Core, and plan a data-layer migration.
Why use it?
It helps separate a runtime upgrade from a database-layer rewrite, reducing the risk of changing too much at once.

Skill for Claude CodeCodex

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

Good fit Use it to review EDMX or code-first models, assess EF6-specific features, decide whether to keep EF6 or move to EF Core, and plan a data-layer migration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/postpartum-genushyacinthus29/dotnet-skills/dotnet-entity-framework6
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 Postpartum-genushyacinthus29/dotnet-skills --skill dotnet-entity-framework6
Clone the repo
git clone --depth 1 https://github.com/Postpartum-genushyacinthus29/dotnet-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 dotnet-entity-framework6

README.md
[![agentmods](https://agentmods.dev/badge/skills/postpartum-genushyacinthus29/dotnet-skills/dotnet-entity-framework6/github.svg)](https://agentmods.dev/skills/postpartum-genushyacinthus29/dotnet-skills/dotnet-entity-framework6)
Your own site
<a href="https://agentmods.dev/skills/postpartum-genushyacinthus29/dotnet-skills/dotnet-entity-framework6"><img src="https://agentmods.dev/badge/skills/postpartum-genushyacinthus29/dotnet-skills/dotnet-entity-framework6/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 dotnet-entity-framework6

Your own site · 80×15
<a href="https://agentmods.dev/skills/postpartum-genushyacinthus29/dotnet-skills/dotnet-entity-framework6"><img src="https://agentmods.dev/badge/skills/postpartum-genushyacinthus29/dotnet-skills/dotnet-entity-framework6.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 863 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00056 $0.00863
Opus 5 $0.00028 $0.00432
Sonnet 5 $0.00011 $0.00173
Haiku 4.5 $0.00006 $0.00086

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

Security

Grade A, and why

dotnet-entity-framework6 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 11d 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/dotnet-entity-framework6/SKILL.md · 81 lines

How it starts

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

Entity Framework 6

Trigger On

  • working in an EF6 codebase on .NET Framework or modern .NET
  • deciding whether to keep EF6, move to modern .NET runtime, or port to EF Core
  • reviewing EDMX, code-first, or legacy ASP.NET/WPF/WinForms data access
  • planning a data layer migration strategy

Workflow

  1. Audit current EF6 usage before planning any migration. Identify which features the codebase depends on:

    // Common EF6-specific patterns to inventory:
    // - EDMX designer models (check for *.edmx files)
    // - ObjectContext vs DbContext usage
    // - Lazy loading with virtual navigation properties
    // - Database.SqlQuery<T>() for raw SQL
    // - Stored procedure mappings in model
    // - Spatial types (DbGeography, DbGeometry)
    
  2. Decide runtime vs ORM migration separately:

    Path When to use
    Keep EF6 on .NET Framework Legacy app with no runtime pressure
    EF6 on modern .NET Runtime upgrade needed, ORM migration too risky
    EF6 → EF Core Clean data layer, no EDMX, minimal stored-procedure mapping
  3. For maintenance work — keep EF6 stable:

    • use repository + unit of work patterns to isolate data access (see references/patterns.md)
    • prefer DbContext over ObjectContext for new code
    • use AsNoTracking() for read-only queries
    • configure concurrency tokens with [ConcurrencyCheck] or IsRowVersion()
  4. For migration work — validate each slice:

    • map EF6 features to EF Core equivalents (see references/migration.md)
    • migrate one bounded context at a time, not the entire data layer
    • run integration tests against the real database provider, not InMemory
    • verify: dotnet ef migrations add succeeds, queries produce equivalent results, lazy loading behavior matches expectations
  5. Do not promise EF Core features to EF6 codebases — EF6 is stable and supported but not on the innovation path. Keep expectations realistic.

flowchart LR
  A["Audit EF6 usage"] --> B{"EDMX or complex mappings?"}
  B -->|Yes| C["High migration cost — consider keeping EF6"]
  B -->|No| D["Evaluate EF Core migration"]
  D --> E["Migrate one context at a time"]
  E --> F["Integration test against real DB"]
  C --> G["Modernize runtime only"]
  F --> H["Validate query equivalence"]
  G --> H

Read the full file on GitHub · 81 lines

Files

What ships with it

2 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. 11d ago First seen · 81 lines · 56 tokens per session scan A 2fc3ed533c10

Subscribe to this mod's changes

dotnet-entity-framework6 is a skill published in the GitHub repository Postpartum-genushyacinthus29/dotnet-skills (10 stars, last pushed today), licensed MIT. It adds 56 tokens to every session and 863 once invoked, about $0.0003 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

azure-resource-manager-postgresql-dotnet

Azure PostgreSQL Flexible Server SDK for .NET. Database management for PostgreSQL Flexible Server deployments. Use for creating servers, databases, firewall rules, configurations, backups, and high availability. Triggers: "PostgreSQL", "PostgreSqlFlexibleServer", "PostgreSQL Flexible Server", "Azure Database for…

microsoft/skills · 97 tokens

optimizing-ef-core-queries

Optimize and improve the performance of slow Entity Framework Core (EF Core) queries: make them generate less SQL, make fewer database round-trips, and return results faster. Use whenever an EF Core or DbContext query or data-access path is slow or should be made faster — whether or not EF Core owns the database…

dotnet/skills · 86 tokens

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

efcore-patterns

Entity Framework Core best practices including NoTracking by default, query splitting for navigation collections, migration management, dedicated migration services, and common pitfalls to avoid.

Aaronontheweb/dotnet-skills · 35 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

ef-core

Entity Framework Core patterns for .NET 10. Covers DbContext configuration, migrations workflow, interceptors, compiled queries, ExecuteUpdateAsync, ExecuteDeleteAsync, value converters, and query optimization. Load this skill when working with databases, writing queries, managing schema changes, or when the user…

codewithmukesh/dotnet-claude-kit · 113 tokens