What problem does it solve?
This Skill provides clear, actionable guidelines to prevent misuse of C# Nullable Reference Types (NRT), stop developers from silencing nullability warnings with fake defaults, and ensure property nullability reflects actual business intent.
Core Features & Use Cases
- Consistent property strategies for DTOs, request models, EF Core entities, domain models, and record types to reduce runtime null errors.
- Clear exceptions and patterns such as allowing null-forgiving only for EF Core navigation properties, initializing collections with empty collections, and using required/init/set appropriately.
- Practical guidance for null checks, guard clauses, and compiler flow-analysis friendly patterns to improve code reliability and readability.
Quick Start
Apply these C# NRT guidelines to review and update your project's property declarations so that nullability, required annotations, and collection initialization align with business semantics.