scenario-initialization

Aggregate source control and scenario parameters before upgrade workflow initialization.

19|2|Updated May 13, 2026
One-click install
npx skills add https://github.com/microsoft/upgrade-agent-plugins --skill scenario-initialization
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scenario-initialization
Source: https://github.com/microsoft/upgrade-agent-plugins/tree/main/plugins/upgrade-agent/upgrade/skills/system/scenario-initialization
Command: npx skills add https://github.com/microsoft/upgrade-agent-plugins --skill scenario-initialization

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill manages the pre-initialization process, aggregating system and scenario-specific parameters, and initializing the upgrade workflow in one consolidated step.

Core Features & Use Cases

  • Parameter Aggregation: Combines system-level (source control) and scenario-specific parameters for efficient workflow setup.
  • Workflow Initialization: Prepares and sets the stage for scenario-specific tool execution, including setting the source branch, commit strategy, and handling pending changes.
  • Use Case: Ideal for scenarios where a smooth pre-initialization step is critical before actual code modifications can be performed.

Quick Start

Initialize the upgrade workflow for a scenario using the 'scenario-initialization' skill.

Frequently Asked Questions about scenario-initialization

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

FAQPage Schema
How do I manage pre-initialization for upgrade workflows in source control?

Pre-initialization for upgrade workflows aggregates system-level source control and scenario-specific parameters, preparing the environment and applying changes prior to tool execution. It handles user confirmation and sets the source branch before calling the initialization step.

What is parameter aggregation for scenario initialization?

Parameter aggregation combines system-level source control settings and scenario-specific variables into one consolidated step. This ensures efficient workflow setup by preparing the environment and handling pending changes before actual code modifications occur.

Do I need proper source control setup before initializing an upgrade scenario?

Yes, proper source control setup is required. The pre-initialization process needs to set the source branch, define a commit strategy, and handle pending changes before it can successfully prepare the environment for tool execution.

How do I prepare the environment for scenario-specific tool execution?

You prepare the environment by consolidating source control parameters and scenario-specific settings. The initialization step sets the stage for tool execution by managing the commit strategy and requiring user confirmation before proceeding.

What's the best way to handle pending changes before calling initialize_scenario?

The best way is using a pre-initialization step that handles pending changes directly. It prompts for user confirmation, applies necessary source control changes, and sets the commit strategy prior to calling the scenario initialization.

When should I not use an automated pre-initialization step for upgrades?

You should avoid automated pre-initialization if your workflow lacks proper source control setup or requires manual user confirmation. The process explicitly requires user interaction and pending change management before executing environment preparation.