Agent skill

Entity Framework6

by managedcode in managedcode/dotnet-skills

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.

MITAuto-check passedDatabases

Install Entity Framework6

skills CLI
$ npx skills add managedcode/dotnet-skills --skill entity-framework6 -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install managedcode/dotnet-skills entity-framework6 --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/managedcode/dotnet-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/catalog/Frameworks/Entity-Framework-6/skills/entity-framework6 .claude/skills/entity-framework6 && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
entity-framework6
GitHub stars
486
Token cost
~1.1k tokens
SKILL.md length
417 words
Files
4 (incl. references)
Skills in repo
81
Repo updated
First seen
Licence
MIT

At a glance

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.

  • Works in 5 steps: Audit current EF6 usage before planning… → Decide runtime vs ORM migration separately → For maintenance work — keep EF6 stable → …
  • : EF6 codebases
  • SKILL.md covers Trigger On, Workflow, Current Upstream Notes and Deliver, plus 2 more sections
  • Calls dotnet

What it does

Entity Framework6 is an agent skill from managedcode/dotnet-skills. 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; generic tasks that do not need this specific guidance. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `manifest.json`, `references/migration.md` and `references/patterns.md`). Compatibility notes: Requires EF6 or a transition plan from EF6 to EF Core or modern .NET.

It sits in Databases, covering ORMs and data access, Codebase knowledge for agents and Access reviews and audit trails. It works with .NET. The repository describes itself as: Installable .NET skill catalog and CLI for Codex, Claude Code, GitHub Copilot, and Gemini. The licence is MIT.

When your agent uses it

  • : EF6 codebases
  • Runtime versus ORM migration decisions
  • Legacy data-access review
  • : unrelated stacks

Example prompts

  • “/entity-framework6”

Requirements

  • Compatibility (from SKILL.md): Requires EF6 or a transition plan from EF6 to EF Core or modern .NET.

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Audit current EF6 usage before planning any migration. Identify which features the codebase depends on
  2. Decide runtime vs ORM migration separately
  3. For maintenance work — keep EF6 stable
  4. For migration work — validate each slice
  5. Do not promise EF Core features to EF6 codebases — EF6 is stable and supported but not on the innovation path. Keep expectations realistic.

What it can do on your machine

Read from SKILL.md and the folder at commit 535dd55. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • dotnet

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires EF6 or a transition plan from EF6 to EF Core or modern .NET.

    From compatibility in the SKILL.md frontmatter.

Context cost

Entity Framework6 loads about 1.1k tokens when it runs, and up to ~4.9k if it reads all its reference files. Until then it costs about 133 tokens; SKILL.md has 417 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~133
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from managedcode/dotnet-skills at commit 535dd55, republished under its MIT licence (© managedcode). 417 words, ~1,143 tokens.

Download SKILL.mdSave it as .claude/skills/entity-framework6/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
entity-framework6
description
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; generic tasks that do not need this specific guidance. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.
compatibility
Requires EF6 or a transition plan from EF6 to EF Core or modern .NET.

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:

    csharp
    // 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:

    PathWhen to use
    Keep EF6 on .NET FrameworkLegacy app with no runtime pressure
    EF6 on modern .NETRuntime upgrade needed, ORM migration too risky
    EF6 → EF CoreClean 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.

Show full SKILL.md (196 more words)Show less

Current Upstream Notes

  • The August 2026 EF Core vs EF6 comparison keeps the ORM migration decision separate from runtime modernization. EF6 remains supported but is not actively developed, and it can remain the right ORM when EDMX, ObjectContext, or complex legacy mappings dominate the risk.
  • EF Core v10.0.11 servicing does not make EF Core a drop-in replacement or change EF6 guidance by itself; move only when the project has a bounded migration slice and database-backed equivalence tests.
mermaid
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

Deliver

  • realistic EF6 maintenance or migration guidance based on actual codebase audit
  • clear separation between runtime upgrade and ORM upgrade work
  • bounded migration slices with concrete validation checkpoints
  • reduced risk for legacy data access changes

Validate

  • EF6 feature inventory is complete before migration planning starts
  • migration assumptions are backed by real feature usage, not guesses
  • EF6-only features (EDMX, spatial types, ObjectContext patterns) are identified early
  • integration tests run against the real database provider, not mocks or InMemory
  • the proposed path avoids unnecessary churn in stable data access code

References

  • references/migration.md - decision framework, migration approaches, EF6-to-EF Core feature mapping, and common pitfalls
  • references/patterns.md - repository and unit of work patterns, query optimization, concurrency handling, auditing, and testing strategies for EF6 codebases

© managedcode, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in catalog/Frameworks/Entity-Framework-6/skills/entity-framework6 of managedcode/dotnet-skills.

  • SKILL.md
  • manifest.json
  • references/migration.md
  • references/patterns.md

Open the folder on GitHubat commit 535dd55

Compare with similar skills

Entity Framework6 next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Entity Framework6 compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Entity Framework6 this skillmanagedcode/dotnet-skills486—~1.1kAutomated safety check: PassMIT
Ef Corecodewithmukesh/dotnet-claude-kit7511 repos~2.3kAutomated safety check: PassMIT
Content Create Hero Imageprisma/web1.1k—~6.9kAutomated safety check: PassNone
Sea Orm 2FlyinPancake/yoink112—~2.9kAutomated safety check: PassApache-2.0
Prisma Client APIcurvenote/curvenote1692 repos~1.6kAutomated safety check: PassMIT
DB Migrationskurealnum/dotfiles290—~820Automated safety check: PassNone

Similar skills

  • Ef Core

    codewithmukesh/dotnet-claude-kit

    Entity Framework Core patterns for .NET 10. An agent skill from codewithmukesh/dotnet-claude-kit.

    751 GitHub starsUsed in 1 repo~2.3k tokens
    DatabasesAuto-check passed
  • Official

    A skill your agent uses when the operator wants a hero or meta image for a Prisma blog post; asks to create or generate a blog hero, cover, social card, Open Graph, or YouTube image; mentions cover…

    1.1k GitHub stars~6.9k tokensUpdated today
    DatabasesAuto-check passed
  • Sea Orm 2

    FlyinPancake/yoink

    Expert guidance for SeaORM 2.0, Rust's async ORM with strongly-typed columns, nested ActiveModels, Entity Loader API, and entity-first workflow.

    112 GitHub stars~2.9k tokensUpdated 2 days ago
    DatabasesAuto-check passed
  • Prisma Client API

    curvenote/curvenote

    Prisma Client API reference covering model queries, filters, operators, and client methods.

    169 GitHub starsUsed in 2 repos~1.6k tokens
    DatabasesAuto-check passed
  • DB Migrations

    kurealnum/dotfiles

    A skill your agent uses when generating or regenerating Drizzle migration files, changing database schema tables or columns, resolving migration sequence conflicts after rebase, reviewing migration…

    290 GitHub stars~820 tokensUpdated 5 mo ago
    DatabasesAuto-check passed
  • Change Database Schema

    martin-ueding/geo-activity-playground

    How to change the SQLAlchemy data model and generate the matching Alembic migration.

    100 GitHub stars~225 tokensUpdated 10 days ago
    DatabasesAuto-check passed

More from managedcode/dotnet-skills

All 81 skills in this repo
  • Analyzer Config

    managedcode/dotnet-skills

    Use a repo-root .editorconfig to configure free .NET analyzer and style rules.

    486 GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Archunitnet

    managedcode/dotnet-skills

    Use the open-source free ArchUnitNET library for architecture rules in .NET tests.

    486 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Aspire

    managedcode/dotnet-skills

    Build, upgrade, and operate Aspire 13.5.x C or TypeScript application hosts with the current CLI, AppHost, ServiceDefaults, integrations, dashboard, testing, MCP, and deployment patterns for…

    486 GitHub stars~3.6k tokensUpdated today
    Auto-check passed
  • Aspnet Core

    managedcode/dotnet-skills

    Build, debug, modernize, or review ASP.NET Core applications with correct hosting, middleware, security, configuration, logging, and deployment patterns on current .NET.

    486 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • Asynkron Profiler

    managedcode/dotnet-skills

    Use the open-source free Asynkron.Profiler dotnet tool for CLI-first CPU, allocation, exception, contention, and heap profiling of .NET commands or existing trace artifacts.

    486 GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Azure Functions

    managedcode/dotnet-skills

    Build, review, or migrate Azure Functions in .NET with correct execution model, isolated worker setup, bindings, DI, and Durable Functions patterns.

    486 GitHub stars~2.6k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Entity Framework6

What does Entity Framework6 do?

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. Entity Framework6 is an agent skill from managedcode/dotnet-skills. 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.

When should I use Entity Framework6?

Entity Framework6 fits situations like: : EF6 codebases; runtime versus ORM migration decisions; legacy data-access review; : unrelated stacks.

How do I install Entity Framework6 in Claude Code?

Run `npx skills add managedcode/dotnet-skills --skill entity-framework6 -a claude-code`. Or copy the skill folder (catalog/Frameworks/Entity-Framework-6/skills/entity-framework6 in managedcode/dotnet-skills) into .claude/skills/entity-framework6 in your project. Claude Code loads it when a task matches its description.

How do I install Entity Framework6 in Codex?

Run `npx skills add managedcode/dotnet-skills --skill entity-framework6 -a codex`. Or copy the skill folder (catalog/Frameworks/Entity-Framework-6/skills/entity-framework6 in managedcode/dotnet-skills) into .agents/skills/entity-framework6 in your project. Codex loads it when a task matches its description.

Can I use Entity Framework6 in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add managedcode/dotnet-skills --skill entity-framework6 -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/entity-framework6, .gemini/skills/entity-framework6, .github/skills/entity-framework6 and .opencode/skills/entity-framework6 in your project.

What does Entity Framework6 need to run?

Going by SKILL.md and its folder, Entity Framework6 needs the command-line tools its instructions call (dotnet). Compatibility (from SKILL.md): Requires EF6 or a transition plan from EF6 to EF Core or modern .NET..

Does Entity Framework6 access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Entity Framework6 safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Entity Framework6 use?

Entity Framework6 is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Entity Framework6 use?

About 1.1k tokens (SKILL.md is roughly 4.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.7k tokens, read only when the agent opens those files.

What are the alternatives to Entity Framework6?

Skills that share tags, products or a category with Entity Framework6: Ef Core (codewithmukesh/dotnet-claude-kit, 751 stars), Content Create Hero Image (prisma/web, 1.1k stars), Sea Orm 2 (FlyinPancake/yoink, 112 stars) and Prisma Client API (curvenote/curvenote, 169 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Entity Framework6?

managedcode (a GitHub organization) maintains it in managedcode/dotnet-skills, which has 486 GitHub stars. The repository holds 81 skills in this directory. The repository was last updated on October 7, 2026.

Source: managedcode/dotnet-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.