migrate-package

Audit, preview, apply, and verify NuGet package migrations across a solution.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/darylmcd/Roslyn-Backed-MCP --skill migrate-package
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate-package
Source: https://github.com/darylmcd/Roslyn-Backed-MCP/tree/main/skills/migrate-package
Command: npx skills add https://github.com/darylmcd/Roslyn-Backed-MCP --skill migrate-package

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Managing NuGet package upgrades and replacements across large solutions is error-prone and time-consuming. This Skill orchestrates a Roslyn-driven workflow to audit, preview, apply, and verify dependency migrations safely.

Core Features & Use Cases

  • Audit current package references across projects to identify where the old package is used.
  • Preview migration changes, including version bumps, dependency constraints, and potential conflicts.
  • Apply migrations with built-in compile checks and post-migration verification to ensure the solution remains healthy.
  • Use bulk/family migrations with API maps to migrate multiple related packages consistently.

Quick Start

Provide the old package, new package, and target version to start the migration flow.

Frequently Asked Questions about migrate-package

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely migrate NuGet packages across multiple projects in a solution?

You can safely migrate NuGet packages by orchestrating a Roslyn-driven workflow that audits current references, previews version bumps and conflicts, applies upgrades per package, and runs post-migration build verification across the solution.

What is the best way to handle bulk NuGet package migrations with related dependencies?

The best way to handle bulk NuGet package migrations is by using API maps to migrate multiple related packages consistently. This approach ensures family migrations are applied uniformly while maintaining build verification checks across the solution.

Do I need a loaded Roslyn workspace to automate NuGet dependency updates?

Yes, automating NuGet dependency updates requires a loaded Roslyn or MSBuild workspace. The Roslyn-driven workflow depends on this environment to audit project references, apply per-package upgrades, and perform compile checks safely.

Can I preview NuGet package migration changes before applying them to my solution?

Yes, you can preview NuGet package migration changes before application. The workflow generates a preview that includes version bumps, dependency constraints, and potential conflicts, allowing you to review impacts across all projects prior to committing upgrades.

How does build verification work after applying NuGet package upgrades?

Build verification works by running compile checks during and after applying NuGet package upgrades. This post-migration verification ensures the solution remains healthy and catches any dependency conflicts or breaking changes introduced by the new package versions.

Why do NuGet package replacements fail when updating large solutions manually?

NuGet package replacements fail in large solutions due to missed references, dependency constraint conflicts, and lack of compile checks. Automating the migration with a Roslyn-driven workflow audits all projects and verifies builds to prevent these manual errors.