nuget-manager

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

Updated Jan 26, 2026
One-click install
npx skills add https://github.com/Was85/ralph-rlm-agent-framework --skill nuget-manager-was85
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nuget-manager
Source: https://github.com/Was85/ralph-rlm-agent-framework/tree/main/claude-code/shell/.claude/skills/nuget-manager
Command: npx skills add https://github.com/Was85/ralph-rlm-agent-framework --skill nuget-manager-was85

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill prevents common errors and security risks associated with manually editing .csproj files for NuGet package management in .NET projects, ensuring only safe, automated methods are used.

Core Features & Use Cases

  • Enforces dotnet CLI: Mandates the use of dotnet add package, dotnet remove package, and dotnet restore for all package operations.
  • Safe Version Updates: Guides users through a verified process for updating package versions, including searching for available versions and restoring dependencies.
  • Use Case: When adding a new logging library to a .NET Core application, this Skill ensures the dotnet add package command is used, preventing accidental corruption of the project file and ensuring all dependencies are correctly registered.

Quick Start

Use the nuget-manager skill to add the 'Newtonsoft.Json' package to your 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 add a NuGet package to a .NET project without editing the csproj file?

To safely add a NuGet package to a .NET project, use the dotnet CLI command `dotnet add package` rather than manually editing the .csproj file. This ensures dependencies are correctly registered and prevents accidental project file corruption.

Why should I use the dotnet CLI for NuGet dependency management instead of manual csproj edits?

Using the dotnet CLI for NuGet dependency management prevents common errors and security risks associated with manually editing .csproj files. It enforces safe, automated operations for adding, removing, and updating packages.

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

The best way to update NuGet package versions is by using the dotnet CLI. This workflow involves searching for available versions, applying the update, and running `dotnet restore` to verify and restore all dependencies correctly.

How do I remove a NuGet package from a .NET csproj file safely?

To remove a NuGet package from a .NET project safely, execute the `dotnet remove package` command. This automated method ensures the project file remains intact and properly configured without direct manual manipulation.

Can I use direct csproj file manipulation for .NET package management?

Direct .csproj file manipulation for package management is strongly discouraged. You must use the dotnet CLI for all NuGet operations to ensure safe addition, removal, and version updates while preventing accidental file corruption.

Does NuGet package management with the dotnet CLI require restoring dependencies?

Yes, restoring dependencies is required during NuGet package management. After adding, removing, or updating packages with the dotnet CLI, you must run `dotnet restore` to ensure all dependencies are correctly verified and downloaded.