nuget-manager

Manage NuGet packages in .NET projects using the dotnet CLI.

1|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/ajilantony/copilot-agentops --skill nuget-manager-ajilantony
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nuget-manager
Source: https://github.com/ajilantony/copilot-agentops/tree/main/skills/nuget-manager
Command: npx skills add https://github.com/ajilantony/copilot-agentops --skill nuget-manager-ajilantony

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures consistent and safe management of NuGet packages in .NET projects, preventing common errors associated with manual file edits and promoting the use of the dotnet CLI.

Core Features & Use Cases

  • Safe Package Addition/Removal: Strictly uses dotnet add package and dotnet remove package commands.
  • Controlled Version Updates: Allows direct editing only for updating package versions, followed by mandatory verification.
  • Version Verification: Checks if a target version exists on NuGet before applying changes.
  • Centralized vs. Project Management: Identifies whether package versions are managed in Directory.Packages.props or individual .csproj files.
  • Use Case: Quickly and safely update all instances of a specific NuGet package across your solution without risking project corruption.

Quick Start

Use the nuget-manager skill to add the Serilog package to the WebApi project.

Frequently Asked Questions about nuget-manager

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

FAQPage Schema
How do I safely update NuGet package versions across a .NET solution?

To safely update NuGet package versions across a .NET solution, you can directly edit the configuration files to change versions, followed by mandatory verification to ensure the target version exists on NuGet before applying changes. This prevents project corruption.

What is the best way to add or remove NuGet packages in .NET projects without breaking the build?

The best way to add or remove NuGet packages in .NET projects without breaking the build is to strictly use the `dotnet add package` and `dotnet remove package` CLI commands, ensuring project integrity through automated verification rather than manual file edits.

Does this approach support central package management in .NET?

Yes, the approach supports central package management in .NET by identifying whether package versions are managed in a `Directory.Packages.props` file or within individual `.csproj` files to apply updates correctly.

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

You should use the dotnet CLI for dependency management instead of editing .csproj files directly to prevent common errors associated with manual edits, enforcing strict procedures for package additions, removals, and version updates while prioritizing project integrity.

Can I verify if a specific NuGet package version exists before updating my .NET project?

Yes, you can verify if a specific NuGet package version exists before updating your .NET project, as the management process includes mandatory version verification checks against NuGet before applying any changes.