Migrates Entity Framework 6 Code-First projects to EF Core. Use when upgrading projects that already use DbContext with Code-First models (no EDMX files) and need to move to EF Core. Triggers for "migrate EF6 to EF Core", "upgrade Entity Framework to EF Core", "convert EF6 Code-First to EF Core", "replace EntityFramework package with EF Core", or "modernize Entity Framework".
安装
npx skills add microsoft/upgrade-agent-plugins --skill migrating-ef6-code-first-to-ef-corenpx skills add microsoft/upgrade-agent-plugins --skill migrating-ef6-code-first-to-ef-core -a claude-code -gnpx skills add microsoft/upgrade-agent-plugins --skill migrating-ef6-code-first-to-ef-core -a codex -ggemini skills install https://github.com/microsoft/upgrade-agent-plugins.git --path plugins/upgrade-agent/upgrade/dotnet/skills/lazy/data/migrating-ef6-code-first-to-ef-coregh skill install microsoft/upgrade-agent-plugins migrating-ef6-code-first-to-ef-coregit clone --depth 1 https://github.com/microsoft/upgrade-agent-plugins /tmp/microsoft__upgrade-agent-plugins
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/microsoft__upgrade-agent-plugins/plugins/upgrade-agent/upgrade/dotnet/skills/lazy/data/migrating-ef6-code-first-to-ef-core ~/.claude/skills/migrating-ef6-code-first-to-ef-core # Claude Code
cp -R /tmp/microsoft__upgrade-agent-plugins/plugins/upgrade-agent/upgrade/dotnet/skills/lazy/data/migrating-ef6-code-first-to-ef-core ~/.agents/skills/migrating-ef6-code-first-to-ef-core # Codex, Cursor, Gemini CLI, Copilot, OpenCode