nuget-manager

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

3|Updated Jul 25, 2025
One-click install
npx skills add https://github.com/tfsugjp/csharptemplate --skill nuget-manager-tfsugjp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nuget-manager
Source: https://github.com/tfsugjp/csharptemplate/tree/main/.github/skills/nuget-manager
Command: npx skills add https://github.com/tfsugjp/csharptemplate --skill nuget-manager-tfsugjp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manage NuGet packages across .NET projects and solutions with safe, CLI-driven workflows. It prevents unsafe edits to project files and centralizes version management when possible to maintain build integrity.

Core Features & Use Cases

  • Enforce using the dotnet CLI for adding and removing packages.
  • Detect centralized version management via Directory.Packages.props or per-project csproj files.
  • Provide a strict version-update workflow that verifies availability on NuGet and validates a successful restore.

Quick Start

Update a package version across the solution using the dotnet CLI and the appropriate centralized or per-project workflow.

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 multi-project .NET solution?

To update a NuGet package version across a .NET solution, this Skill enforces a strict workflow using the dotnet CLI. It verifies package availability on NuGet, applies the update via centralized Directory.Packages.props or per-project csproj files, and validates a successful restore.

What is the safest way to add or remove NuGet packages in .NET projects?

The safest way to manage NuGet packages is by using the dotnet CLI commands, specifically dotnet add package and dotnet remove package. This Skill prevents unsafe manual edits to project files and enforces a controlled restore workflow to maintain build integrity.

Does centralized NuGet version management work with Directory.Packages.props?

Yes, centralized NuGet version management is fully supported. This Skill detects whether your .NET projects use Directory.Packages.props for centralized control or per-project csproj files, applying the appropriate dotnet CLI workflow for your specific configuration.

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

You should use the dotnet CLI instead of directly editing csproj files to prevent unsafe modifications and maintain build integrity. This Skill automates safe add, remove, and update operations while validating package availability and ensuring a successful restore.

Do I need the dotnet CLI to manage NuGet packages in my .NET solution?

Yes, the dotnet CLI is required to manage NuGet packages with this Skill. It relies entirely on dotnet commands for adding, removing, and updating packages, and optionally uses dotnet package search to verify version availability before applying changes.

What are the limitations of automating NuGet package updates with this approach?

The main limitation is its strict dependency on the dotnet CLI and specific .NET project structures like Directory.Packages.props or csproj files. It does not support manual project file editing and mandates a controlled restore workflow, which may restrict custom package management scripts.