Skill / SKILL.md

Csharp Nullable Reference Types

Aaronontheweb/dotnet-skills

Guidelines for introducing and using nullable reference types (NRT) and System.Diagnostics.CodeAnalysis nullable attributes in C# / .NET codebases. Covers the nullability model, flow analysis, the null-forgiving operator, API design rules, the full attribute catalog (AllowNull, DisallowNull, MaybeNull, NotNull, NotNullWhen, MaybeNullWhen, NotNullIfNotNull, MemberNotNull, MemberNotNullWhen, DoesNotReturn, DoesNotReturnIf), the C# 14 field keyword, incremental migration of legacy codebases, and a code-generation checklist.
2 views 1,283 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Guidelines for introducing and using nullable reference types (NRT) and System.Diagnostics.CodeAnalysis nullable attributes in C# / .NET codebases. Covers the nullability model, flow analysis, the null-forgiving operator, API design rules, the full attribute catalog (AllowNull, DisallowNull, MaybeNull, NotNull, NotNullWhen, MaybeNullWhen, NotNullIfNotNull, MemberNotNull, MemberNotNullWhen, DoesNotReturn, DoesNotReturnIf), the C# 14 field keyword, incremental migration of legacy codebases, and a code-generation checklist.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/Aaronontheweb/dotnet-skills' skill-source

Use the complete skill-source/skills/csharp-nullable-reference-types directory with your client’s skill installer.

  • skills/csharp-nullable-reference-types

    master · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/csharp-nullable-reference-types

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
62c64b253f5133eec554f83a66416442717aaef3d48022ee0a76992f45a23ecb
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills