Refactor high-complexity React components in Dify frontend. Use when `pnpm analyze-component...
npx skills add managedcode/dotnet-skills --skill "dotnet-entity-framework6"
Install specific skill from multi-skill repository
# 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.
# SKILL.md
name: dotnet-entity-framework6
version: "1.0.0"
category: "Data"
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."
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
- deciding whether to keep EF6, move to modern .NET, or port to EF Core
- reviewing EDMX, code-first, or legacy ASP.NET/WPF/WinForms data access
Workflow
- Treat EF6 as stable and supported but no longer the innovation path; do not promise EF Core-only features to EF6 applications.
- Decide separately between runtime migration and ORM migration; moving to modern .NET can happen before or without moving to EF Core.
- Review advanced mapping usage, lazy loading, stored procedures, and designer-driven models before planning a port because these often drive migration cost.
- Prefer small, validated migration slices rather than big-bang rewrites of the data layer.
- Use
dotnet-entity-framework-coreonly when the app is actually ready to adopt EF Core patterns and provider support. - Keep performance and behavior checks close to the real database provider, not only mock or in-memory tests.
Deliver
- realistic EF6 maintenance or migration guidance
- clear separation between runtime upgrade and ORM upgrade work
- reduced risk for legacy data access changes
Validate
- migration assumptions are backed by real feature usage
- EF6-only features are identified early
- the proposed path avoids avoidable churn
References
- EF6 to EF Core Migration Guide - decision framework, migration approaches, feature mapping, and common pitfalls when moving from EF6 to EF Core
- EF6 Maintenance Patterns - repository and unit of work patterns, query optimization, concurrency handling, auditing, and testing strategies for EF6 codebases
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.