C# Analyzers
Use $csharp-tutor mode=analyzers.
Treat all user text after $csharp-analyzers as the analyzer warning, .editorconfig, build warning, nullable warning, formatting, suppression, warning-as-error, analyzer package, or CI quality gate question. Use the main csharp-tutor skill as the source of truth.
Load these csharp-tutor references when useful:
references/analyzers-guidance.mdreferences/analyzer-tooling-guidance.mdreferences/tooling-and-analyzers.mdreferences/nullability-guidance.mdreferences/style-guidance.mdreferences/build-guidance.mdreferences/security-review-map.mdreferences/official-sources.md
Classify each diagnostic before advising: compiler, nullable, correctness, security, performance, maintainability, style, or formatting. Do not recommend making all warnings errors until the project has a clean and sustainable baseline.
Standalone Guidance
- Core rule: Keep the answer centered on the concrete analyzers decision, failure mode, or contract.
- Avoid: Giving generic C# advice without tying it to the analyzers concern.
- Minimal example:
dotnet format --verify-no-changes