dotnet-modern-csharp
OfficialWrite modern, idiomatic C# code.
Authormanagedcode
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps developers write modern, idiomatic C# code that is compatible with the repository's target framework and language version, avoiding outdated patterns and ensuring feature compatibility.
Core Features & Use Cases
- Language Version Awareness: Detects the repository's effective C# language version and guides feature selection accordingly.
- Modern Syntax Adoption: Recommends and applies modern C# features (e.g., primary constructors, records, collection expressions) where appropriate.
- Compatibility Checks: Ensures chosen features are supported by the project's target framework and
LangVersion. - Use Case: When upgrading a .NET project to a new version, this Skill can identify and refactor code to leverage new C# language features safely and effectively.
Quick Start
Use the dotnet-modern-csharp skill to refactor the provided C# code to use more modern language features.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: dotnet-modern-csharp Download link: https://github.com/managedcode/dotnet-skills/archive/main.zip#dotnet-modern-csharp Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.