apex-migration

Official

Port PowerShell E2E tests to C# Apex

AuthorNuGet
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you migrate NuGet PowerShell end-to-end (E2E) tests into C# Apex tests while preserving the exact scenario and assertions, so your test suite becomes faster, more consistent, and easier to maintain.

Core Features & Use Cases

  • Scenario-preserving migration workflow: Read the PowerShell E2E test, translate constructs, verify compilation, and remove the original function.
  • Correct Apex file selection by interaction surface: Routes PMC, UI, IVs, sync/binding redirect, audit, and .NET project-creation scenarios to the appropriate Apex test file.
  • Deterministic translation rules: Converts common PowerShell project factories, PMC command execution patterns, assertions, package creation, and NuGet.config manipulation into the closest Apex equivalents.
  • Safety guardrails: Advises when tests should not be migrated and when existing Apex coverage already exists (avoid duplicate gating).

Quick Start

Use the apex-migration skill to rewrite a PowerShell E2E test from test/EndToEnd/tests/ that calls Install-PackageTest or Update-PackageTest into a matching C# Apex test under test/NuGet.Tests.Apex/... .

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: apex-migration
Download link: https://github.com/NuGet/NuGet.Client/archive/main.zip#apex-migration

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.