dotnet-add-analyzers

Installation
SKILL.md

dotnet-add-analyzers

Add and configure .NET code analyzers to an existing project. Covers built-in Roslyn CA rules, nullable reference types enforcement, trimming/AOT compatibility analyzers, and third-party analyzer packages.

Prerequisites: Run [skill:dotnet-version-detection] first — analyzer features vary by SDK version. Run [skill:dotnet-project-analysis] to understand the current project layout.

Scope

  • Built-in Roslyn CA rules and AnalysisLevel configuration
  • Nullable reference types enforcement
  • Trimming and AOT compatibility analyzers
  • Third-party analyzer packages and severity configuration

Out of scope

  • EditorConfig hierarchy and IDE code style preferences -- see [skill:dotnet-editorconfig]
  • Solution layout and Directory.Build.props -- see [skill:dotnet-project-structure]
  • New project scaffolding with analyzers -- see [skill:dotnet-scaffold-project]
Related skills

More from novotnyllc/dotnet-artisan

Installs
4
GitHub Stars
208
First Seen
Feb 24, 2026