microsoft/upgrade-agent-plugins/generating-upgrade-test-baseline
Claude Code and agent skill by microsoft/upgrade-agent-plugins
- vendor
Checking that the SKILL.md file is still in the repository.
Generates behavior-locking tests before a .NET upgrade using the external dotnet-test plugin. Use when executing a generate-test-baseline task for projects with upgrade compatibility risks.
Install
npx vskill@latest install microsoft/upgrade-agent-plugins/generating-upgrade-test-baselineSKILL.md
The same SKILL.md was published earlier as microsoft/upgrade-agent-plugins/generating-upgrade-test-baseline.
Generating an Upgrade Test Baseline
Use the external test-engineer agent to create tests that lock in current behavior before the upgrade changes production code. The generator owns test-framework detection, test-project selection or creation, implementation, build, test, fix, lint, and final validation.
Prerequisite
Read the ## Test Baseline status from scenario-instructions.md. If it is not enabled, complete generate-test-baseline as skipped without invoking the generator.
The test-engineer agent from the dotnet-test plugin is required. If it is unavailable, load managing-dotnet-test-installation and follow it before continuing.
Requirements
- Generate tests only for production projects, never for test projects.
- Do not change production code while establishing the baseline.
- Keep generation within the project scope recorded in
scenario-instructions.md. - Treat
API.0003behavioral changes as must-cover upgrade risks.
Prepare the Generator Brief
- Read the
## Test Baselineblock fromscenario-instructions.md. Use itsProjectslist as the
exact production-project scope.
- For each project, query the assessment for:
API.0003issues as must-cover behavioral changes.API.0002andAPI.0001issues as priority seeds.- The issue location, code sample, and documentation URL when available.
- Invoke
test-engineerwith a goal-oriented brief:
The brief supplies upgrade-specific risk context; it does not replace the generator's own research, planning, or validation pipeline.
Integrate the Result
After test-engineer succeeds:
- Update
scenario-instructions.md: under## Test Baseline, add the project-file path of every
test project used beneath Test projects.
- If the generator created a test project:
- Confirm the project is registered in the repository's solution file.
- Update
plan.md: add the new project-file path to the applicable upgrade task description so the
normal conversion flow retargets it to the target framework before validate-test-baseline. Do not add scope details to tasks.md; it tracks task status only.
- Complete the task when the generator reports that the generated tests build and pass on the
pre-upgrade code.
Generation Failure
Failure to establish a green baseline must not block the upgrade. Follow the Test Coverage generation-failure flow for the user decision and required option-state updates.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 24 Oct 2026.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/upgrade-agent/upgrade/dotnet/skills/lazy/testing/generating-upgrade-test-baseline/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/microsoft/upgrade-agent-plugins/generating-upgrade-test-baseline)