{"kind":"Skill","metadata":{"namespace":"community","name":"dotnet-upgrade","version":"0.1.0"},"spec":{"description":"Ready-to-use prompts for comprehensive .NET framework upgrade analysis and execution","files":{"SKILL.md":"---\nname: dotnet-upgrade\ndescription: 'Ready-to-use prompts for comprehensive .NET framework upgrade analysis and execution'\n---\n\n# Project Discovery \u0026 Assessment\n  - name: \"Project Classification Analysis\"\n    prompt: \"Identify all projects in the solution and classify them by type (`.NET Framework`, `.NET Core`, `.NET Standard`). Analyze each `.csproj` for its current `TargetFramework` and SDK usage.\"\n\n  - name: \"Dependency Compatibility Review\"\n    prompt: \"Review external and internal dependencies for framework compatibility. Determine the upgrade complexity based on dependency graph depth.\"\n\n  - name: \"Legacy Package Detection\"\n    prompt: \"Identify legacy `packages.config` projects needing migration to `PackageReference` format.\"\n\n  # Upgrade Strategy \u0026 Sequencing\n  - name: \"Project Upgrade Ordering\"\n    prompt: \"Recommend a project upgrade order from least to most dependent components. Suggest how to isolate class library upgrades before API or Azure Function migrations.\"\n\n  - name: \"Incremental Strategy Planning\"\n    prompt: \"Propose an incremental upgrade strategy with rollback checkpoints. Evaluate the use of **Upgrade Assistant** or **manual upgrades** based on project structure.\"\n\n  - name: \"Progress Tracking Setup\"\n    prompt: \"Generate an upgrade checklist for tracking build, test, and deployment readiness across all projects.\"\n\n  # Framework Targeting \u0026 Code Adjustments\n  - name: \"Target Framework Selection\"\n    prompt: \"Suggest the correct `TargetFramework` for each project (e.g., `net8.0`). Review and update deprecated SDK or build configurations.\"\n\n  - name: \"Code Modernization Analysis\"\n    prompt: \"Identify code patterns needing modernization (e.g., `WebHostBuilder` → `HostBuilder`). Suggest replacements for deprecated .NET APIs and third-party libraries.\"\n\n  - name: \"Async Pattern Conversion\"\n    prompt: \"Recommend conversion of synchronous calls to async where appropriate for improved performance and scalability.\"\n\n  # NuGet \u0026 Dependency Management\n  - name: \"Package Compatibility Analysis\"\n    prompt: \"Analyze outdated or incompatible NuGet packages and suggest compatible versions. Identify third-party libraries that lack .NET 8 support and provide migration paths.\"\n\n  - name: \"Shared Dependency Strategy\"\n    prompt: \"Recommend strategies for handling shared dependency upgrades across projects. Evaluate usage of legacy packages and suggest alternatives in Microsoft-supported namespaces.\"\n\n  - name: \"Transitive Dependency Review\"\n    prompt: \"Review transitive dependencies and potential version conflicts after upgrade. Suggest resolution strategies for dependency conflicts.\"\n\n  # CI/CD \u0026 Build Pipeline Updates\n  - name: \"Pipeline Configuration Analysis\"\n    prompt: \"Analyze YAML build definitions for SDK version pinning and recommend updates. Suggest modifications for `UseDotNet@2` and `NuGetToolInstaller` tasks.\"\n\n  - name: \"Build Pipeline Modernization\"\n    prompt: \"Generate updated build pipeline snippets for .NET 8 migration. Recommend validation builds on feature branches before merging to main.\"\n\n  - name: \"CI Automation Enhancement\"\n    prompt: \"Identify opportunities to automate test and build verification in CI pipelines. Suggest strategies for continuous integration validation.\"\n\n  # Testing \u0026 Validation\n  - name: \"Build Validation Strategy\"\n    prompt: \"Propose validation checks to ensure the upgraded solution builds and runs successfully. Recommend automated test execution for unit and integration suites post-upgrade.\"\n\n  - name: \"Service Integration Verification\"\n    prompt: \"Generate validation steps to verify logging, telemetry, and service connectivity. Suggest strategies for verifying backward compatibility and runtime behavior.\"\n\n  - name: \"Deployment Readiness Check\"\n    prompt: \"Recommend UAT deployment verification steps before production rollout. Create comprehensive testing scenarios for upgraded components.\"\n\n  # Breaking Change Analysis\n  - name: \"API Deprecation Detection\"\n    prompt: \"Identify deprecated APIs or removed namespaces between target versions. Suggest automated scanning using `.NET Upgrade Assistant` and API Analyzer.\"\n\n  - name: \"API Replacement Strategy\"\n    prompt: \"Recommend replacement APIs or libraries for known breaking areas. Review configuration changes such as `Startup.cs` → `Program.cs` refactoring.\"\n\n  - name: \"Regression Testing Focus\"\n    prompt: \"Suggest regression testing scenarios focused on upgraded API endpoints or services. Create test plans for critical functionality validation.\"\n\n  # Version Control \u0026 Commit Strategy\n  - name: \"Branching Strategy Planning\"\n    prompt: \"Recommend branching strategy for safe upgrade with rollback capability. Generate commit templates for partial and complete project upgrades.\"\n\n  - name: \"PR Structure Optimization\"\n    prompt: \"Suggest best practices for creating structured PRs (`Upgrade to .NET [Version]`). Identify tagging strategies for PRs involving breaking changes.\"\n\n  - name: \"Code Review Guidelines\"\n    prompt: \"Recommend peer review focus areas (build, test, and dependency validation). Create checklists for effective upgrade reviews.\"\n\n  # Documentation \u0026 Communication\n  - name: \"Upgrade Documentation Strategy\"\n    prompt: \"Suggest how to document each project's framework change in the PR. Propose automated release note generation summarizing upgrades and test results.\"\n\n  - name: \"Stakeholder Communication\"\n    prompt: \"Recommend communicating version upgrades and migration timelines to consumers. Generate documentation templates for dependency updates and validation results.\"\n\n  - name: \"Progress Tracking Systems\"\n    prompt: \"Suggest maintaining an upgrade summary dashboard or markdown checklist. Create templates for tracking upgrade progress across multiple projects.\"\n\n  # Tools \u0026 Automation\n  - name: \"Upgrade Tool Selection\"\n    prompt: \"Recommend when and how to use: `.NET Upgrade Assistant`, `dotnet list package --outdated`, `dotnet migrate`, and `graph.json` dependency visualization.\"\n\n  - name: \"Analysis Script Generation\"\n    prompt: \"Generate scripts or prompts for analyzing dependency graphs before upgrading. Propose AI-assisted prompts for Copilot to identify upgrade issues automatically.\"\n\n  - name: \"Multi-Repository Validation\"\n    prompt: \"Suggest how to validate automation output across multiple repositories. Create standardized validation workflows for enterprise-scale upgrades.\"\n\n  # Final Validation \u0026 Delivery\n  - name: \"Final Solution Validation\"\n    prompt: \"Generate validation steps to confirm the final upgraded solution passes all validation checks. Suggest production deployment verification steps post-upgrade.\"\n\n  - name: \"Deployment Readiness Confirmation\"\n    prompt: \"Recommend generating final test results and build artifacts. Create a checklist summarizing completion across projects (builds/tests/deployment).\"\n\n  - name: \"Release Documentation\"\n    prompt: \"Generate a release note summarizing framework changes and CI/CD updates. Create comprehensive upgrade summary documentation.\"\n\n---\n"},"import":{"commit_sha":"541b7819d8c3545c6df122491af4fa1eae415779","imported_at":"2026-05-18T20:05:35Z","license_text":"MIT License\n\nCopyright GitHub, Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","owner":"github","repo":"github/awesome-copilot","source_url":"https://github.com/github/awesome-copilot/tree/541b7819d8c3545c6df122491af4fa1eae415779/plugins/csharp-dotnet-development/skills/dotnet-upgrade"}},"content_hash":[125,94,75,64,133,227,7,214,111,128,195,64,226,171,90,73,183,15,191,28,159,47,74,69,42,29,203,101,228,2,38,250],"trust_level":"unsigned","yanked":false}
