Migrates Azure Functions projects from legacy HostBuilder or in-process model to the modern Version 2.x pattern using IHostApplicationBuilder and Application Insights. Use when upgrading Azure Functions to isolated worker V2, replacing HostBuilder with FunctionsApplication.CreateBuilder, or adding Application Insights telemetry.
安装
npx skills add microsoft/upgrade-agent-plugins --skill migrating-azure-functions-to-v2npx skills add microsoft/upgrade-agent-plugins --skill migrating-azure-functions-to-v2 -a claude-code -gnpx skills add microsoft/upgrade-agent-plugins --skill migrating-azure-functions-to-v2 -a codex -ggemini skills install https://github.com/microsoft/upgrade-agent-plugins.git --path plugins/upgrade-agent/upgrade/dotnet/skills/lazy/cloud/migrating-azure-functions-to-v2gh skill install microsoft/upgrade-agent-plugins migrating-azure-functions-to-v2git clone --depth 1 https://github.com/microsoft/upgrade-agent-plugins /tmp/microsoft__upgrade-agent-plugins
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/microsoft__upgrade-agent-plugins/plugins/upgrade-agent/upgrade/dotnet/skills/lazy/cloud/migrating-azure-functions-to-v2 ~/.claude/skills/migrating-azure-functions-to-v2 # Claude Code
cp -R /tmp/microsoft__upgrade-agent-plugins/plugins/upgrade-agent/upgrade/dotnet/skills/lazy/cloud/migrating-azure-functions-to-v2 ~/.agents/skills/migrating-azure-functions-to-v2 # Codex, Cursor, Gemini CLI, Copilot, OpenCode