nuget-manager

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

Updated Mar 6, 2026
One-click install
npx skills add https://github.com/bryandrenner/ai-agent-configs --skill nuget-manager-bryandrenner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nuget-manager
Source: https://github.com/bryandrenner/ai-agent-configs/tree/main/general/copilot/skills/nuget-manager
Command: npx skills add https://github.com/bryandrenner/ai-agent-configs --skill nuget-manager-bryandrenner

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill streamlines the process of managing NuGet packages in .NET projects, ensuring consistency and preventing common errors associated with manual file edits.

Core Features & Use Cases

  • Safe Package Management: Add, remove, and update NuGet packages using the dotnet CLI.
  • Version Control Enforcement: Strictly enforces rules for updating package versions, prioritizing CLI commands and specific workflows for direct file edits.
  • Use Case: When adding a new logging library to your ASP.NET Core project, use this skill to ensure it's done correctly via the dotnet add package command.

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 add a NuGet package to a .NET project using the dotnet CLI?

To add a NuGet package using the dotnet CLI, run the `dotnet add package` command within your target project directory. This skill automates this workflow to ensure packages are safely added without manual file edits.

What is the best way to update NuGet package versions in a .NET solution?

The best way to update NuGet package versions is by using specific version update procedures enforced by this skill. It prioritizes the `dotnet` CLI commands to maintain consistency and prevent errors associated with direct file edits.

Do I need PowerShell or jq installed to manage NuGet packages with this tool?

Yes, you need either `jq` or PowerShell installed, along with the .NET SDK. These dependencies are required to perform version verification during NuGet package operations within your solutions.

Can I manually edit project files to remove NuGet dependencies?

Manually editing project files to remove NuGet dependencies is strongly discouraged. This skill enforces strict rules for package removal, prioritizing the `dotnet` CLI to safely remove dependencies and prevent configuration errors.

Why does my NuGet package update fail when editing the .csproj file directly?

Directly editing a .csproj file for NuGet updates often fails due to formatting or version mismatch errors. This skill prevents these issues by enforcing a strict `dotnet` CLI workflow and using `jq` or PowerShell for version verification.

How do I safely remove a NuGet package from an ASP.NET Core project?

To safely remove a NuGet package from an ASP.NET Core project, use the `dotnet remove package` command. This skill ensures the removal process follows CLI procedures, avoiding broken references caused by manual file edits.