Migrates a single ASP.NET WebForms page (with code-behind, master page, and user controls) to .NET 10 Razor Pages, Blazor, or MVC view while preserving URL and behavior, verified by parity tests.
Ships in .NET Pack (legacy .NET Framework + Migration Pack to .NET 10). Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
One page per run. The page keeps its URL, its behavior and its quirks - unless a person decided otherwise. The new page lives in the .NET 10 host (yarp-strangler-setup); because migrated endpoints win over the YARP fallback, the route switches the moment the page exists and builds.
.aspx + .aspx.cs + .designer.cs, its master page, its user controls.migration/migration-assessment.json (units[].target). No assessment? Pick with the rules in the migration-assessment-report skill's references/webforms-target-rules.md and say which rule you used.migration-safety-net). If there are none, write them first.Write a short list in your reply:
Page_Load, X_Click, Grid_RowUpdating, List_SelectedIndexChanged) and what each one changes.TRAPS.md / the assessment risks.If the code-behind talks to the database or holds business rules, move that code into a service class in a shared library (the one both apps can use through the adapters), and call it from the OLD page too. Run the parity tests. Now both pages can share the same logic, and the migration only translates UI.
Same URL. Razor Pages: @page "/Product.aspx" (add "/Product" too only if you want a clean alias). Blazor: @page "/Admin/Products.aspx". Map with references/control-mapping.md:
OnPostAddToCart) or component methods.System.Web.HttpContext.Current.Session through the adapters on endpoints marked .RequireSystemWebAdapterSession() / [Session], so old and new pages share the cart. Switch to ISession when the last page using that key has moved._Layout.cshtml, master code-behind -> a view component. Keep the visible header text identical (parity compares text).<location> rule get the same rule as a policy or [Authorize(Roles = "...")].@rendermode InteractiveServer. No HttpContext, no session, no cookies inside interactive components - load what you need in a service or pass it in from a Razor Page / SSR wrapper.dotnet build the new host.migration/accepted-differences.md that a person approves. Never edit the baseline to make it pass.migrate: Product.aspx -> Razor Pages.migration/MIGRATION.md (if the orchestrator runs this): page moved, tests green, open human tasks..aspx in place - no traffic reaches it anymore. It's deleted in the decommission phase, after sign-off.fetch replace an UpdatePanel; Blazor replaces heavy interactivity.Old: DropDownList with AutoPostBack, GridView with server paging and sorting, sort order in ViewState.
New: a GET form (<select name="cat" onchange="this.form.submit()">), paging and sorting in the query string (?cat=2&page=2&sort=Price), a plain <table> with links for sorting and paging. The quirk "clicking Name twice doesn't sort Z-A" stays until someone approves fixing it - the parity test for ?sort=Name DESC would catch it.
What SKILL.md sets; muted values are Claude Code's defaults
/dotnet-pack:webforms-page-migratorfrom .NET Pack (legacy .NET Framework + Migration Pack to .NET 10)
npx claudepluginhub stefanthecode/ai-for-developers --plugin dotnet-pack12 skills in this plugin
/adonet-data-access-auditor(.NET) Audit and fix classic ADO.NET data-access code (SqlConnection / SqlCommand / SqlDataReader / DataSet) on .NET Framework. Use this skill whenever the user shares raw ADO.NET code, a DAL / repository built on SqlCommand, stored-proc calls, string-concatenated SQL, or mentions SQL injection, parameterized queries, connection leaks, "using / Dispose", reading the same column multiple times, transactions, or "why does my old data layer leak connections / is it safe". Always use this skill for classic ADO.NET review instead of answering from memory; it applies a fixed security + correctness + performance checklist and rewrites the code./aspnet-mvc-webapi-migrator(.NET) Migrate ASP.NET MVC 5 and Web API 2 code to ASP.NET Core on .NET 10, one controller at a time - actions, routes, filters, model binding, IHttpActionResult, child actions, OutputCache, bundling - plus the app plumbing around them - Global.asax, IHttpModule, IHttpHandler/.ashx, HttpContext.Current, Newtonsoft.Json formatters and XML content negotiation. Use this skill whenever the user wants to "migrate this controller", "Web API 2 to ASP.NET Core", "MVC 5 to .NET 10", "replace Global.asax", "convert this HTTP module to middleware", "port this .ashx handler", or is moving endpoints one by one in a strangler-fig migration. Always use this skill for MVC/Web API migrations instead of answering from memory; it keeps routes, status codes and payloads identical and proves it with parity tests./ef6-to-efcore-migrator(.NET) Move an Entity Framework 6 data layer to .NET 10 in two safe steps - first EF 6.5 on .NET 10 as a bridge (same model, same queries, no rewrite), then EF Core one DbContext at a time behind query parity tests. Covers DbModelBuilder fluent config, EDMX models, lazy loading, database initializers and Seed, DbFunctions/SqlFunctions, string Include, cascade-delete and orphan differences, and a baseline migration for an existing database. Use this skill whenever the user mentions EF6, EntityFramework 6, "EF6 to EF Core", EDMX, DbModelBuilder, "EF6 on .NET 8/10", lazy loading differences, or is moving a data layer in a .NET Framework migration. Always use this skill for EF6 migrations instead of answering from memory./legacy-config-auth-migrator(.NET) Migrate the cross-cutting parts of an ASP.NET Framework app to .NET 10 - web.config and transforms to appsettings + Options, machineKey to Data Protection, Forms authentication / Membership / OWIN cookies to ASP.NET Core cookie auth or Identity (with remote authentication while both apps run), <location> authorization to policies, session and Application state, BinaryFormatter, customErrors and Application_Error. Use this skill whenever the user asks about "web.config in .NET 10", "ConfigurationManager replacement", "machineKey", "Forms authentication to ASP.NET Core", "Membership to Identity", "share login between old and new app", "session in ASP.NET Core", "replace BinaryFormatter", or plans how auth and session work during a migration. Always use this skill for these cross-cutting pieces instead of answering from memory; they are where migrations break for users./legacy-package-migrator(.NET) Migrate a .NET Framework solution from packages.config to PackageReference and Central Package Management (Directory.Packages.props). Use this skill whenever the user mentions packages.config, PackageReference, "migrate packages", Directory.Packages.props, Central Package Management / CPM, transitive package versions, NuGet version drift across projects, "different projects use different versions of the same package", or wants to unify NuGet versions across a multi-project solution (including third-party/vendor extension projects). Always use this skill for these requests; it produces a staged, per-project migration plan plus the actual Directory.Packages.props and .csproj edits, not a generic explanation./migration-assessment-report(.NET) Assess a .NET Framework solution (WebForms, MVC 5, Web API 2, WCF, EF6, class libraries) for a move to .NET 10 and produce a self-contained HTML report - architecture diagrams, a blocker scan, a target per WebForms page (Razor Pages, Blazor or MVC), effort in person-days with and without AI, and a clear split of what an AI agent can do versus what needs a human. Use this skill whenever the user asks "how hard is it to move this to .NET 10", "assess this legacy solution", "give me a migration estimate", "what would it take to modernize this", "should we migrate this WebForms app", or wants a migration report for a manager or a client. Always use this skill for migration assessments instead of answering from memory; it runs a deterministic scanner, reviews the result and renders the report.Other plugins' skills for the same job