Nullable Enablement Skill
This skill guides the process of enabling C# nullable reference types on files in the NuGet.Client repository that currently opt out with #nullable disable. The codebase has nullable globally enabled via build/common.project.props, so individual files opt out with #nullable disable at the top. Migration means removing that directive, annotating types correctly, and updating the public API surface files.
The work is inherently incremental — don't try to migrate an entire project at once. Work in batches of related files, fix cascading warnings, build, and repeat.
Coding Guidelines for Nullable Migration
Nullable migration is a rare chance to modernize internal types. Beyond just annotating, apply the immutability and non-null design principles from