Adopts modern WinForms async APIs (.NET 9/10) including Control.InvokeAsync, Form.ShowAsync/ShowDialogAsync, and TaskDialog.ShowDialogAsync. Use when replacing Control.Invoke or Control.BeginInvoke with InvokeAsync, converting Form.ShowDialog to ShowDialogAsync, replacing synchronous MessageBox with TaskDialog.ShowDialogAsync, updating UI from background threads or async methods, implementing…
安装
npx skills add microsoft/upgrade-agent-plugins --skill managing-winforms-async-apisnpx skills add microsoft/upgrade-agent-plugins --skill managing-winforms-async-apis -a claude-code -gnpx skills add microsoft/upgrade-agent-plugins --skill managing-winforms-async-apis -a codex -ggemini skills install https://github.com/microsoft/upgrade-agent-plugins.git --path plugins/upgrade-agent/upgrade/dotnet/skills/lazy/desktop/winforms/managing-winforms-async-apisgh skill install microsoft/upgrade-agent-plugins managing-winforms-async-apisgit 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/desktop/winforms/managing-winforms-async-apis ~/.claude/skills/managing-winforms-async-apis # Claude Code
cp -R /tmp/microsoft__upgrade-agent-plugins/plugins/upgrade-agent/upgrade/dotnet/skills/lazy/desktop/winforms/managing-winforms-async-apis ~/.agents/skills/managing-winforms-async-apis # Codex, Cursor, Gemini CLI, Copilot, OpenCode