dotnet-upgrade

dotnet-upgrade

Offers a set of ready prompts for analysing and executing a .NET framework upgrade: project discovery, ordering, target frameworks and code modernisation.

Skill files1 file
SKILL.md117 lines
1
---
2
name: dotnet-upgrade
3
description: 'Ready-to-use prompts for comprehensive .NET framework upgrade analysis and execution'
4
---
5
6
# Project Discovery & Assessment
7
- name: "Project Classification Analysis"
8
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."
9
10
- name: "Dependency Compatibility Review"
11
prompt: "Review external and internal dependencies for framework compatibility. Determine the upgrade complexity based on dependency graph depth."
12
13
- name: "Legacy Package Detection"
14
prompt: "Identify legacy `packages.config` projects needing migration to `PackageReference` format."
15
16
# Upgrade Strategy & Sequencing
17
- name: "Project Upgrade Ordering"
18
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."
19
20
- name: "Incremental Strategy Planning"
21
prompt: "Propose an incremental upgrade strategy with rollback checkpoints. Evaluate the use of **Upgrade Assistant** or **manual upgrades** based on project structure."
22
23
- name: "Progress Tracking Setup"
24
prompt: "Generate an upgrade checklist for tracking build, test, and deployment readiness across all projects."
25
26
# Framework Targeting & Code Adjustments
27
- name: "Target Framework Selection"
28
prompt: "Suggest the correct `TargetFramework` for each project (e.g., `net8.0`). Review and update deprecated SDK or build configurations."
29
30
- name: "Code Modernization Analysis"
31
prompt: "Identify code patterns needing modernization (e.g., `WebHostBuilder` → `HostBuilder`). Suggest replacements for deprecated .NET APIs and third-party libraries."
32
33
- name: "Async Pattern Conversion"
34
prompt: "Recommend conversion of synchronous calls to async where appropriate for improved performance and scalability."
35
36
# NuGet & Dependency Management
37
- name: "Package Compatibility Analysis"
38
prompt: "Analyze outdated or incompatible NuGet packages and suggest compatible versions. Identify third-party libraries that lack .NET 8 support and provide migration paths."
39
40
- name: "Shared Dependency Strategy"
41
prompt: "Recommend strategies for handling shared dependency upgrades across projects. Evaluate usage of legacy packages and suggest alternatives in Microsoft-supported namespaces."
42
43
- name: "Transitive Dependency Review"
44
prompt: "Review transitive dependencies and potential version conflicts after upgrade. Suggest resolution strategies for dependency conflicts."
45
46
# CI/CD & Build Pipeline Updates
47
- name: "Pipeline Configuration Analysis"
48
prompt: "Analyze YAML build definitions for SDK version pinning and recommend updates. Suggest modifications for `UseDotNet@2` and `NuGetToolInstaller` tasks."
49
50
- name: "Build Pipeline Modernization"
51
prompt: "Generate updated build pipeline snippets for .NET 8 migration. Recommend validation builds on feature branches before merging to main."
52
53
- name: "CI Automation Enhancement"
54
prompt: "Identify opportunities to automate test and build verification in CI pipelines. Suggest strategies for continuous integration validation."
55
56
# Testing & Validation
57
- name: "Build Validation Strategy"
58
prompt: "Propose validation checks to ensure the upgraded solution builds and runs successfully. Recommend automated test execution for unit and integration suites post-upgrade."
59
60
- name: "Service Integration Verification"
61
prompt: "Generate validation steps to verify logging, telemetry, and service connectivity. Suggest strategies for verifying backward compatibility and runtime behavior."
62
63
- name: "Deployment Readiness Check"
64
prompt: "Recommend UAT deployment verification steps before production rollout. Create comprehensive testing scenarios for upgraded components."
65
66
# Breaking Change Analysis
67
- name: "API Deprecation Detection"
68
prompt: "Identify deprecated APIs or removed namespaces between target versions. Suggest automated scanning using `.NET Upgrade Assistant` and API Analyzer."
69
70
- name: "API Replacement Strategy"
71
prompt: "Recommend replacement APIs or libraries for known breaking areas. Review configuration changes such as `Startup.cs` → `Program.cs` refactoring."
72
73
- name: "Regression Testing Focus"
74
prompt: "Suggest regression testing scenarios focused on upgraded API endpoints or services. Create test plans for critical functionality validation."
75
76
# Version Control & Commit Strategy
77
- name: "Branching Strategy Planning"
78
prompt: "Recommend branching strategy for safe upgrade with rollback capability. Generate commit templates for partial and complete project upgrades."
79
80
- name: "PR Structure Optimization"
81
prompt: "Suggest best practices for creating structured PRs (`Upgrade to .NET [Version]`). Identify tagging strategies for PRs involving breaking changes."
82
83
- name: "Code Review Guidelines"
84
prompt: "Recommend peer review focus areas (build, test, and dependency validation). Create checklists for effective upgrade reviews."
85
86
# Documentation & Communication
87
- name: "Upgrade Documentation Strategy"
88
prompt: "Suggest how to document each project's framework change in the PR. Propose automated release note generation summarizing upgrades and test results."
89
90
- name: "Stakeholder Communication"
91
prompt: "Recommend communicating version upgrades and migration timelines to consumers. Generate documentation templates for dependency updates and validation results."
92
93
- name: "Progress Tracking Systems"
94
prompt: "Suggest maintaining an upgrade summary dashboard or markdown checklist. Create templates for tracking upgrade progress across multiple projects."
95
96
# Tools & Automation
97
- name: "Upgrade Tool Selection"
98
prompt: "Recommend when and how to use: `.NET Upgrade Assistant`, `dotnet list package --outdated`, `dotnet migrate`, and `graph.json` dependency visualization."
99
100
- name: "Analysis Script Generation"
101
prompt: "Generate scripts or prompts for analyzing dependency graphs before upgrading. Propose AI-assisted prompts for Copilot to identify upgrade issues automatically."
102
103
- name: "Multi-Repository Validation"
104
prompt: "Suggest how to validate automation output across multiple repositories. Create standardized validation workflows for enterprise-scale upgrades."
105
106
# Final Validation & Delivery
107
- name: "Final Solution Validation"
108
prompt: "Generate validation steps to confirm the final upgraded solution passes all validation checks. Suggest production deployment verification steps post-upgrade."
109
110
- name: "Deployment Readiness Confirmation"
111
prompt: "Recommend generating final test results and build artifacts. Create a checklist summarizing completion across projects (builds/tests/deployment)."
112
113
- name: "Release Documentation"
114
prompt: "Generate a release note summarizing framework changes and CI/CD updates. Create comprehensive upgrade summary documentation."
115
116
---
117

© GitHub, Inc. · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

1 view
Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…