dotnet-nuget-authoring
Installation
SKILL.md
dotnet-nuget-authoring
NuGet package authoring for .NET library authors: SDK-style .csproj package properties (PackageId, PackageTags, PackageReadmeFile, PackageLicenseExpression), source generator NuGet packaging with analyzers/dotnet/cs/ folder layout and buildTransitive targets, multi-TFM packages, symbol packages (snupkg) with deterministic builds, package signing (author signing with certificates, repository signing), package validation (EnablePackageValidation, Microsoft.DotNet.ApiCompat.Task for API compatibility), and NuGet versioning strategies (SemVer 2.0, pre-release suffixes, NBGV integration).
Version assumptions: .NET 8.0+ baseline. NuGet client bundled with .NET 8+ SDK. Microsoft.DotNet.ApiCompat.Task 8.0+ for API compatibility validation.
Scope
- SDK-style csproj package properties and metadata
- Source generator NuGet packaging with analyzers folder layout
- Multi-TFM packages and symbol packages (snupkg)
- Package signing (author and repository signing)
- Package validation (EnablePackageValidation, API compatibility)
- NuGet versioning strategies (SemVer 2.0, NBGV)