/csharp-dotnet-development:dotnet-upgradefrom csharp-dotnet-development
Guides .NET upgrade discovery, dependency-aware sequencing, framework targeting, compatibility fixes, CI/CD updates, and validation for .NET Framework, .NET Core, modern .NET, and .NET Standard projects.
Ships in csharp-dotnet-development. 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.
None: SKILL.md is the whole skill.
Plan and execute .NET upgrade work by classifying projects, sequencing dependencies, selecting supported target frameworks, modernizing code and pipelines, validating behavior, and packaging the work into reviewable PRs and release documentation.
.csproj files, packages.config, NuGet dependencies, and CI YAML before recommending changes..NET Framework, .NET Core, modern .NET, and .NET Standard libraries separately.TargetFramework, TargetFrameworks, legacy TargetFrameworkVersion, imported properties, conditions, SDK-style usage, and build configuration. Static declarations are not evaluated MSBuild results.packages.config projects and plan PackageReference conversion only where supported, preserving binding redirects and build assets.Startup.cs, or hosting models when the chosen target still supports the existing behavior.UseDotNet@2, NuGetToolInstaller, build validation, and feature-branch checks.| Prompt name | Use it to produce |
|---|---|
| Project Classification Analysis | Identify all projects and classify by .NET Framework, .NET Core, .NET Standard; inspect .csproj, TargetFramework, and SDK usage. |
| Dependency Compatibility Review | Review external and internal dependencies for compatibility and complexity based on dependency graph depth. |
| Legacy Package Detection | Identify packages.config projects that need migration to PackageReference. |
| Prompt name | Use it to produce |
|---|---|
| Project Upgrade Ordering | Upgrade order from least to most dependent components; isolate class library upgrades before API or Azure Function migrations. |
| Incremental Strategy Planning | Rollback checkpoints and whether to use an installed Microsoft upgrade workflow, reviewed manual changes, or a combination. |
| Progress Tracking Setup | Upgrade checklist for builds/tests/deployment readiness across all projects. |
| Prompt name | Use it to produce |
|---|---|
| Target Framework Selection | A supported TFM for each project, such as net10.0 for the verified LTS snapshot; preserve compatible targets for remaining consumers. |
| Code Modernization Analysis | Replacements for deprecated .NET APIs and third-party libraries, including WebHostBuilder → HostBuilder. |
| Async Pattern Conversion | Candidate synchronous calls to convert to async for performance and scalability. |
| Prompt name | Use it to produce |
|---|---|
| Package Compatibility Analysis | Outdated or incompatible NuGet packages, compatible versions, libraries without selected-target support, and migration paths. |
| Shared Dependency Strategy | Handling shared dependency upgrades and alternatives in Microsoft-supported namespaces. |
| Transitive Dependency Review | Version conflict risks and resolution strategies after upgrade. |
| Prompt name | Use it to produce |
|---|---|
| Pipeline Configuration Analysis | YAML build definition updates, SDK version pinning, UseDotNet@2, and NuGetToolInstaller. |
| Build Pipeline Modernization | Updated SDK/build-runner configuration for the selected target and feature-branch validation builds. |
| CI Automation Enhancement | Automated test and build verification in CI pipelines. |
| Area | Prompts and expected output |
|---|---|
| Testing & Validation | Build Validation Strategy; Service Integration Verification for logging, telemetry, service connectivity, backward compatibility, runtime behavior; Deployment Readiness Check for UAT and production rollout. |
| Breaking Change Analysis | Installed upgrade tooling and official breaking-change/analyzer evidence; required API replacements and regression tests for endpoints, authentication, serialization and critical behavior. |
| Version Control & Commit Strategy | Branching Strategy Planning, PR Structure Optimization with Upgrade to .NET [Version], tagging strategies for breaking changes, and Code Review Guidelines. |
| Documentation & Communication | Upgrade Documentation Strategy, Stakeholder Communication, Progress Tracking Systems, dashboard or markdown checklist. |
| Tools & Automation | Verified installed upgrade workflow, SDK-appropriate package commands, evaluated project graphs, and bounded assessment scripts; no automatic global tool installation. |
| Final Validation & Delivery | Final Solution Validation, Deployment Readiness Confirmation, post-upgrade build artifacts, Release Documentation, and enterprise-scale validation evidence. |
| Tool | Use |
|---|---|
| Installed Microsoft upgrade workflow | Discover actual scenario/project support and permissions before use; use manual changes if unavailable. |
| SDK package-list command | Use the syntax supported by the installed SDK to review direct/transitive package compatibility. |
Existing MSBuild or dotnet build/test workflow | Preserve legacy build requirements; do not assume every .NET Framework project builds with the SDK CLI. |
graph.json | Visualize dependency graph and sequence upgrades. |
## .NET upgrade plan
**Status:** assessed | ready to upgrade | blocked
**Target:** selected runtime/TFM, support source and verification date
**Strategy:** installed Microsoft upgrade workflow | manual | hybrid
### Project inventory
| Project | Current type | Current TargetFramework | SDK-style | packages.config | Recommended target | Order |
| --- | --- | --- | --- | --- | --- | --- |
| `<project.csproj>` | `.NET Framework` | `<target>` | yes/no | yes/no | `<supported target>` | 1 |
### Dependency and package findings
| Package/project | Issue | Migration path | Risk |
| --- | --- | --- | --- |
| `<dependency>` | <compatibility/version/conflict> | <replacement or version> | low/medium/high |
### Code and pipeline changes
- Code modernization: required compatibility fixes, approved behavior changes, and preserved contracts.
- CI/CD: `UseDotNet@2`, `NuGetToolInstaller`, build/test validation, feature-branch checks.
### Validation
- Build: <command/result>
- Unit tests: <command/result>
- Integration/UAT: <plan/result>
- Logging/telemetry/connectivity: <checks>
- Deployment readiness: <status>
### Delivery plan
- Branching strategy: <strategy>
- PR structure: `Upgrade to .NET [Version]`
- Rollback checkpoints: <checkpoints>
- Release notes: <summary>
packages.config projects and PackageReference migration needs are identified.WebHostBuilder → HostBuilder, async conversion, and Startup.cs → Program.cs where applicable.UseDotNet@2, NuGetToolInstaller, and validation builds.What SKILL.md sets; muted values are Claude Code's defaults
9 skills in this plugin
/aspnet-minimal-api-openapiCreate or review ASP.NET Minimal API endpoints with typed results, DTO validation, endpoint groups, filters, ProblemDetails, and OpenAPI documentation. Use this skill when asked to add Minimal APIs, document endpoints with Swagger/OpenAPI, use .NET 9 built-in OpenAPI, or design request and response types./csharp-asyncReview, design, and fix C# async code using Task, Task<T>, ValueTask<T>, cancellation, ConfigureAwait, async streams, and TAP conventions. Use when the user asks for C# async best practices, deadlock fixes, async method naming, parallel awaits, or replacing .Wait(), .Result, and async void./csharp-mstestApply modern MSTest 3.x/4.x testing practices for C# projects. Use when asked to write or review MSTest unit tests, choose assertion APIs, convert ExpectedException tests, design data-driven tests, use TestContext, configure lifecycle hooks, add categories or work items, or run dotnet test for MSTest./csharp-nunitDesign, write, and review NUnit tests for .NET projects, including standard tests, data-driven tests, assertions, setup/teardown, categories, and isolation with mocks. Use this skill when the user asks for NUnit best practices, `dotnet test`, `[TestCase]`, `[TestCaseSource]`, or C# unit test structure./csharp-tunitWrite, review, or migrate C# unit tests using TUnit. Use when the user asks for TUnit best practices, .NET test project setup, TUnit assertions, lifecycle hooks, data-driven tests, parallel execution, retries, categories, or xUnit-to-TUnit migration./csharp-xunitApply xUnit best practices for C# unit tests, including test project setup, Fact and Theory structure, data-driven tests, assertions, fixtures, mocking, categorization, diagnostics, and dotnet test execution. Use when asked for xUnit guidance or to write .NET unit tests.npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin csharp-dotnet-developmentOther plugins' skills for the same job