roslyn-analyzers - Build and validate Roslyn analyzers
Build, review, debug, package, and test Roslyn diagnostic analyzers, code fix providers, and incremental source generators.
Tags
Updated: 2026-11-30Roslynanalyzerscode fixessource generatorsincremental generatorsC#VB.NETcode analysisNuGet packagingcompiler tooling
Capabilities
What this skill does
- Build diagnostic analyzers
- Review analyzer designs
- Debug diagnostics and fixes
- Implement code fix providers
- Implement incremental generators
- Resolve Roslyn symbols
- Write C# and VB tests
- Package analyzer NuGet artifacts
- Document diagnostic IDs
- Validate builds and tests
Inputs
- Repository conventions
- Target framework configuration
- Package management configuration
- Analyzer and generator source
- Diagnostic rules and examples
- Test framework configuration
- Packaging layout
- SourceWriter reference
Outputs
- Analyzer source code
- Code fix provider source code
- Generated source code
- Diagnostic and code fix tests
- Diagnostic documentation
- Analyzer assembly versions
- Analyzer NuGet packages
- Build and test results
Requirements
- Roslyn analyzer project
- .NET build environment
- Roslyn test harness
- Code analysis API support
