~/codewithstu

// open_source

Dotnet Skills

Open-standard agent skills for .NET that enable AI coding assistants to configure source generators, manage packages, and prepare projects for native AOT

View on GitHub

This is a collection of agent skills for .NET development, following the Agent Skills open standard. These skills enable AI coding assistants to perform common .NET tasks like configuring source generators, managing packages, and preparing projects for native AOT.

Installation

npx skills add im5tu/dotnet-skills

Available Skills

SkillDescription
dotnet-aot-analysisAnalyzes and configures a project for Native AOT compatibility
dotnet-centralise-packagesConverts a solution to use Central Package Management (CPM)
dotnet-enable-autocompleteEnables tab autocomplete for the dotnet CLI
dotnet-enable-testing-platformEnables the Microsoft Testing Platform runner
dotnet-json-polymorphicConfigures polymorphic JSON serialization with [JsonPolymorphic]
dotnet-source-gen-jsonConfigures System.Text.Json source generation for AOT-compatible serialization
dotnet-source-gen-loggingConverts logging to use the LoggerMessage source generator
dotnet-source-gen-options-validationConverts options validation to use the compile-time source generator
dotnet-source-gen-regexConverts Regex instances to use the compile-time source generator
dotnet-update-packagesLists and updates outdated NuGet packages

Compatibility

Works with any Agent Skills compatible tool:

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Other compatible agents