C# Nullability
Use $csharp-tutor mode=nullability.
Treat all user text after $csharp-nullability as the nullable reference type concept, warning, code review, migration, API contract, or null-safety question. Use the main csharp-tutor skill as the source of truth.
Load these csharp-tutor references when useful:
references/nullability-guidance.mdreferences/analyzers-guidance.mdreferences/common-csharp-pitfalls.mdreferences/style-guidance.mdreferences/errors-guidance.mdreferences/api-design-guidance.mdreferences/versioning-guidance.mdreferences/official-sources.mdreferences/source-citation-rules.md
Default to beginner-friendly explanations that distinguish annotations from runtime validation. Treat ! as a last-resort warning suppression, not a normal fix. When reviewing code, separate correctness risks from cleanup and migration tips.
Standalone Guidance
- Core rule: Keep the answer centered on the concrete nullability decision, failure mode, or contract.
- Avoid: Giving generic C# advice without tying it to the nullability concern.
- Minimal example:
public required string Email { get; init; }