modernizing-csharp-version

Official

Effortlessly modernize your C# code to the latest features and versions.

Authormicrosoft
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill solves the challenge of modernizing C# code to leverage the latest language features and version upgrades, simplifying the migration process and improving code quality.

Core Features & Use Cases

  • Version Detection: Automatically identifies the current and target C# versions.
  • Feature Modernization: Applies modern C# language features across versions, from 7.0 to 15.
  • Assessment and Reporting: Generates detailed reports for code analysis and modernization stages.
  • Integration: Can be invoked as a sub-step in broader migration processes like .NET Target Framework (TFM) upgrades.

Quick Start

Run the skill with the target version, for example: 'upgrade to C# 12'.

Dependency Matrix

Required Modules

None required

Components

scriptsreferencesassets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: modernizing-csharp-version
Download link: https://github.com/microsoft/upgrade-agent-plugins/archive/main.zip#modernizing-csharp-version

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.