nuget-manager

Manage NuGet package versions across .NET projects using dotnet CLI.

Updated Jan 12, 2026
One-click install
npx skills add https://github.com/seanspiesman/Agents-and-Workflows --skill nuget-manager-seanspiesman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nuget-manager
Source: https://github.com/seanspiesman/Agents-and-Workflows/tree/main/custom-agents/skills/nuget-manager
Command: npx skills add https://github.com/seanspiesman/Agents-and-Workflows --skill nuget-manager-seanspiesman

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

NuGet package management is error-prone when teams edit project files directly; this skill enforces using the dotnet CLI and provides a safe, auditable workflow for version changes.

Core Features & Use Cases

  • Enforces using dotnet add/remove package for package management and restricts direct edits to only version changes.
  • Detects whether versions are managed per-project (.csproj) or centrally (Directory.Packages.props) and updates the correct location with validation.
  • Use cases include adding a new package, updating to a specific version, or auditing and restoring dependencies across a solution.

Quick Start

Use this skill to update a package version with dotnet CLI after validating the version exists on NuGet.

Frequently Asked Questions about nuget-manager

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

FAQPage Schema
How do I update a NuGet package version across multiple .NET projects?

To update NuGet package versions, the skill detects whether versions are managed per-project in .csproj files or centrally in Directory.Packages.props, then updates the correct location and runs dotnet restore to verify compatibility.

What is the best way to manage NuGet dependencies without breaking my solution?

The best way to manage NuGet dependencies safely is by enforcing dotnet CLI commands for package additions and removals, restricting direct file edits to version changes only, and validating that versions exist on NuGet before applying them.

Does NuGet package management work with centralized Directory.Packages.props files?

Yes, NuGet package management works with centralized Directory.Packages.props files by automatically detecting the central configuration and updating the correct file with validation rather than editing individual .csproj files.

Why should I use the dotnet CLI instead of editing csproj files directly for package management?

You should use the dotnet CLI instead of editing .csproj files directly because manual edits are error-prone; the CLI enforces a safe, auditable workflow for adding, removing, and updating NuGet package versions with validation.

How do I verify a NuGet package version exists before adding it to my project?

To verify a NuGet package version exists before adding it, the skill checks the NuGet registry to confirm version availability, updates the appropriate .csproj or Directory.Packages.props file, and runs dotnet restore to verify compatibility.

What happens if a NuGet package restore fails after a version update?

If a NuGet package restore fails after a version update, it indicates a compatibility issue; the workflow runs dotnet restore specifically to verify compatibility after applying validated version changes to .csproj or Directory.Packages.props files.