什麼是 winui3-migration-guide?
UWP 到 WinUI 3 的遷移參考。使用之前/之後的程式碼片段將舊版 UWP API 對應到修正的 Windows App SDK 等效項。涵蓋命名空間變更、執行緒(CoreDispatcher 到 DispatcherQueue)、視窗(CoreWindow 到 AppWindow)、對話方塊、選擇器、共享、列印、後台任務以及最常見的 Copilot 程式碼產生錯誤。 來源:github/awesome-copilot。
UWP 到 WinUI 3 的遷移參考。使用之前/之後的程式碼片段將舊版 UWP API 對應到修正的 Windows App SDK 等效項。涵蓋命名空間變更、執行緒(CoreDispatcher 到 DispatcherQueue)、視窗(CoreWindow 到 AppWindow)、對話方塊、選擇器、共享、列印、後台任務以及最常見的 Copilot 程式碼產生錯誤。
透過命令列快速安裝 winui3-migration-guide AI 技能到你的開發環境
來源:github/awesome-copilot。
Use this skill when migrating UWP apps to WinUI 3 / Windows App SDK, or when verifying that generated code uses correct WinUI 3 APIs instead of legacy UWP patterns.
| Windows.UI.Xaml | Microsoft.UI.Xaml | | Windows.UI.Xaml.Controls | Microsoft.UI.Xaml.Controls | | Windows.UI.Xaml.Media | Microsoft.UI.Xaml.Media | | Windows.UI.Xaml.Input | Microsoft.UI.Xaml.Input | | Windows.UI.Xaml.Data | Microsoft.UI.Xaml.Data | | Windows.UI.Xaml.Navigation | Microsoft.UI.Xaml.Navigation |
| Windows.UI.Xaml.Shapes | Microsoft.UI.Xaml.Shapes | | Windows.UI.Composition | Microsoft.UI.Composition | | Windows.UI.Input | Microsoft.UI.Input | | Windows.UI.Colors | Microsoft.UI.Colors | | Windows.UI.Text | Microsoft.UI.Text | | Windows.UI.Core | Microsoft.UI.Dispatching (for dispatcher) |
UWP 到 WinUI 3 的遷移參考。使用之前/之後的程式碼片段將舊版 UWP API 對應到修正的 Windows App SDK 等效項。涵蓋命名空間變更、執行緒(CoreDispatcher 到 DispatcherQueue)、視窗(CoreWindow 到 AppWindow)、對話方塊、選擇器、共享、列印、後台任務以及最常見的 Copilot 程式碼產生錯誤。 來源:github/awesome-copilot。
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/github/awesome-copilot --skill winui3-migration-guideUWP 到 WinUI 3 的遷移參考。使用之前/之後的程式碼片段將舊版 UWP API 對應到修正的 Windows App SDK 等效項。涵蓋命名空間變更、執行緒(CoreDispatcher 到 DispatcherQueue)、視窗(CoreWindow 到 AppWindow)、對話方塊、選擇器、共享、列印、後台任務以及最常見的 Copilot 程式碼產生錯誤。 來源:github/awesome-copilot。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/github/awesome-copilot --skill winui3-migration-guide 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/github/awesome-copilot