nuget-manager

Manage NuGet package operations for .NET projects using the dotnet CLI.

Updated Dec 28, 2025
One-click install
npx skills add https://github.com/74nu5/Narratum --skill nuget-manager-74nu5
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nuget-manager
Source: https://github.com/74nu5/Narratum/tree/main/.github/skills/nuget-manager
Command: npx skills add https://github.com/74nu5/Narratum --skill nuget-manager-74nu5

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill provides a structured and safe way to manage NuGet packages in .NET projects, preventing common errors and ensuring project integrity.

Core Features & Use Cases

  • Add/Remove Packages: Safely add or remove NuGet packages using the dotnet CLI.
  • Update Versions: Strictly controlled process for updating package versions, including verification and restoration.
  • Use Case: When you need to add a new logging library to your .NET solution or update an existing dependency to its latest stable version.

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, utilize the `dotnet add package` command to safely include the dependency in your .NET project. This enforces strict procedures to prevent common errors and ensures project integrity during package installation.

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

Updating NuGet package versions safely requires a strictly controlled process using the dotnet CLI. It mandates pre-verification of package existence and post-update `dotnet restore` validation to ensure project integrity and successful dependency resolution.

How do I remove a NuGet dependency from a .NET solution?

To remove a NuGet dependency, apply the `dotnet remove package` command. This structured approach ensures safe package removal from your .NET projects or solutions while preventing common dependency management errors.

Why do I need to run dotnet restore after updating a NuGet package version?

Running `dotnet restore` after a NuGet package version update is required for post-update validation. It ensures the new dependency versions are correctly resolved and restored, maintaining the overall integrity of your .NET project.

Does this NuGet package management approach work with both .NET projects and solutions?

Yes, this approach manages NuGet package operations for both .NET projects and solutions using the `dotnet` CLI. It enforces strict procedures for adding, removing, and updating package versions across your entire codebase.