nuget-preflight

Preflights NuGet packages by validating metadata, builds, tests, scans, and version consistency.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/darylmcd/Roslyn-Backed-MCP --skill nuget-preflight
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nuget-preflight
Source: https://github.com/darylmcd/Roslyn-Backed-MCP/tree/main/skills/nuget-preflight
Command: npx skills add https://github.com/darylmcd/Roslyn-Backed-MCP --skill nuget-preflight

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

NuGet publishing can fail late due to missing metadata, insecure dependencies, or versioning inconsistencies. This Skill provides a deterministic, automated gate that checks all required properties and ensures packages meet quality standards before release.

Core Features & Use Cases

  • Per-project metadata checks (PackageId, Version, Description, Authors, License) to ensure publish readiness.
  • Release build, test discovery/run, and vulnerability scanning to enforce quality and security gates.
  • Version consistency across multiple packable projects and optional changelog verification to support compliant releases.

Quick Start

Load a solution, then run NuGet Preflight to verify publish readiness for all packable projects.

Frequently Asked Questions about nuget-preflight

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate NuGet package metadata before publishing a release?

Validating NuGet package metadata before publishing requires checking fields like PackageId, Version, Description, Authors, and License. Automated preflight gates inspect these required properties, collect optional fields, and verify publish readiness across all packable projects.

What is the best way to run a security vulnerability scan on NuGet packages before release?

Running a security vulnerability scan on NuGet packages before release is best handled by an automated preflight gate. It performs a Release build, executes tests, and runs a vulnerability scan to enforce quality and security standards before publishing.

How do I check version consistency across multiple packable projects in a solution?

Checking version consistency across multiple packable projects involves evaluating the PackageVersion property across the loaded workspace. A preflight validation gate automatically detects versioning inconsistencies to ensure all projects align before a compliant release.

Can I run preflight checks on a specific NuGet project instead of the entire workspace?

Preflight checks can target a specific NuGet project instead of the entire workspace. If a project is provided, the validation focuses exclusively on that target, otherwise it automatically evaluates all packable projects in the loaded solution.

Why do my NuGet publishing builds fail late in the release process?

NuGet publishing builds fail late due to missing metadata, insecure dependencies, or versioning inconsistencies. An automated preflight gate catches these issues early by validating properties, running builds, and executing tests before release.

What NuGet package properties are required for a successful release?

Required NuGet package properties for a successful release include PackageId, Version, Description, Authors, PackageLicenseExpression, IsPackable, RepositoryUrl, PackageProjectUrl, and PackageReadmeFile. Preflight validation checks these fields to determine publish readiness.