nuget-manager

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

Updated Jan 7, 2026
One-click install
npx skills add https://github.com/lbussell/agent-skills --skill nuget-manager-lbussell
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nuget-manager
Source: https://github.com/lbussell/agent-skills/tree/main/skills/nuget-manager
Command: npx skills add https://github.com/lbussell/agent-skills --skill nuget-manager-lbussell

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill streamlines the management of NuGet packages in .NET projects, ensuring consistency and preventing common errors associated with package addition, removal, and version updates.

Core Features & Use Cases

  • Safe Package Management: Enforces the use of dotnet CLI commands for adding and removing packages, maintaining project integrity.
  • Controlled Version Updates: Guides users through a strict workflow for updating package versions, including verification and restoration steps.
  • Centralized vs. Project Management: Detects whether package versions are managed centrally in Directory.Packages.props or individually in .csproj files.
  • Use Case: Update all instances of a specific NuGet package across a solution to a new, verified version without breaking the build.

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 update a NuGet package version across a .NET solution without breaking the build?

To update a NuGet package version safely, this skill enforces a strict workflow using the `dotnet` CLI, including version verification and package restoration steps to maintain project integrity and prevent build failures.

Does NuGet package management work with centralized version control in .NET?

Yes, centralized NuGet package management is supported. The skill detects whether package versions are managed centrally in `Directory.Packages.props` or individually within `.csproj` files and adjusts the workflow accordingly.

What do I need to manage .NET dependencies using the dotnet CLI?

You need the .NET SDK installed to manage dependencies. Optionally, `jq` or PowerShell is required for advanced version verification during the package update and restoration process.

How do I add or remove NuGet packages from a .NET project safely?

You can safely add or remove NuGet packages by enforcing the use of `dotnet` CLI commands. This approach maintains project integrity and prevents common errors associated with manual package modifications.

What is the best way to handle dependency management for .NET projects?

The best way to handle dependency management is by using a controlled workflow that enforces `dotnet` CLI commands for adding, removing, and updating packages, ensuring consistency and verifying versions before applying changes.