github avatar

Winui3 Migration Guide

The winui3-migration-guide skill provides a reference for developers migrating Universal Windows Platform (UWP) applications to WinUI 3 and the Windows App SDK, mapping deprecated UWP APIs to their correct modern equivalents with before/after code examples. It addresses critical areas including namespace changes, threading model updates (CoreDispatcher to DispatcherQueue), windowing changes (CoreWindow to AppWindow), and dialogs, while also identifying the three most common mistakes that code generation tools make during migration. The skill serves Windows desktop developers who need accurate API guidance to modernize legacy UWP codebases or validate that generated code follows WinUI 3 standards rather than outdated UWP patterns.

skills.sh installs
5.7K
GitHub stars
41K
last updated
Aug 21, 2026

Install

$ npx -y skills add github/awesome-copilot --skill winui3-migration-guide --agent claude-code

Installs into .claude/skills of the current project.

Files

WinUI 3 Migration Guide

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.


Namespace Changes

All Windows.UI.Xaml.* namespaces move to Microsoft.UI.Xaml.*:

UWP NamespaceWinUI 3 Namespace
Windows.UI.XamlMicrosoft.UI.Xaml
Windows.UI.Xaml.ControlsMicrosoft.UI.Xaml.Controls
Windows.UI.Xaml.MediaMicrosoft.UI.Xaml.Media
Windows.UI.Xaml.InputMicrosoft.UI.Xaml.Input
Windows.UI.Xaml.DataMicrosoft.UI.Xaml.Data
Windows.UI.Xaml.NavigationMicrosoft.UI.Xaml.Navigation
Windows.UI.Xaml.ShapesMicrosoft.UI.Xaml.Shapes
Windows.UI.CompositionMicrosoft.UI.Composition
Windows.UI.InputMicrosoft.UI.Input
Windows.UI.ColorsMicrosoft.UI.Colors
Windows.UI.TextMicrosoft.UI.Text
Windows.UI.CoreMicrosoft.UI.Dispatching (for dispatcher)

Top 3 Most Common Copilot Mistakes

1. ContentDialog Without XamlRoot

Sponsors

Details

Repository
github.com/github/awesome-copilot
Categories
Git & Pull Requests, Documentation, AI & Agent Building

More from github/awesome-copilot

All 318
1github avatarweb-codergithub/awesome-copilotExpert 10x engineer with comprehensive knowledge of web development, internet protocols, and web standards. Use when working with HTML, CSS, JavaScript, web API5.5Kskills.sh installs
2github avatarpremium-frontend-uigithub/awesome-copilotA comprehensive guide for GitHub Copilot to craft immersive, high-performance web experiences with advanced motion, typography, and architectural craftsmanship.5Kskills.sh installs
3github avatarazure-pricinggithub/awesome-copilotFetches real-time Azure retail pricing using the Azure Retail Prices API (prices.azure.com) and estimates Copilot Studio agent credit consumption. Use when the 4.7Kskills.sh installs
4github avatarcopilot-spacesgithub/awesome-copilotUse Copilot Spaces to provide project-specific context to conversations. Use this skill when users mention a "Copilot space", want to load context from a shared4.4Kskills.sh installs
5github avatarflowstudio-power-automate-mcpgithub/awesome-copilotFoundation skill for Power Automate via FlowStudio MCP — auth setup, the reusable MCP helper (Python + Node.js), tool discovery via `list_skills` / `tool_search4.2Kskills.sh installs
6github avatargsap-framer-scroll-animationgithub/awesome-copilotUse this skill whenever the user wants to build scroll animations, scroll effects, parallax, scroll-triggered reveals, pinned sections, horizontal scroll, text 4Kskills.sh installs