dotnet-winui — Claude Code skill: WinUI 3 and installation
The dotnet-winui Claude Code skill supports WinUI 3 app development. It covers project setup, XAML patterns, deployment choices, and moving apps from UWP.
no license 103 installs ★ 92 updated 2026-02-27
npx skills add wshaddix/dotnet-skills --skill dotnet-winui -a claude-codeWhat dotnet-winui does
This skill guides WinUI 3 project setup and XAML development. It covers compiled bindings with x:Bind, deferred loading through x:Load, and MVVM integration using CommunityToolkit.Mvvm. Its scope also includes MSIX and unpackaged deployment, Windows integration, and UWP migration.
Project guidance includes UseWinUI, a Windows-specific target framework, and a generic host pattern for registering services and windows. The stated baseline is .NET 8.0+ with Windows App SDK 1.6+; examples target net8.0-windows10.0.19041.0. Desktop UI testing and WPF patterns belong to separate skills.
What it helps with
- set up a WinUI 3 project with
UseWinUIand a Windows target framework - apply
x:Bindand deferred loading withx:Load - connect MVVM through
CommunityToolkit.Mvvm - choose between MSIX and unpackaged deployment
- move a UWP app to WinUI 3
Example prompts for the agent
- Set up a WinUI 3 project with
UseWinUIandnet8.0-windows10.0.19041.0. - Show how to use
x:Bindandx:Loadon a XAML page. - Help migrate this UWP app to WinUI 3.
How to install dotnet-winui
1Skills CLI (Vercel)
npx skills add wshaddix/dotnet-skills --skill dotnet-winui -a claude-code2Manually: put the files in place
~/.claude/skills/dotnet-winui/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/dotnet-winui/
1Skills CLI (Vercel)
npx skills add wshaddix/dotnet-skills --skill dotnet-winui -a codex2Manually: put the files in place
.agents/skills/dotnet-winui/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add wshaddix/dotnet-skills --skill dotnet-winui -a cursor2Manually: put the files in place
.cursor/skills/dotnet-winui/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install wshaddix/dotnet-skills skills/dotnet-winui2Manually: put the files in place
.github/skills/dotnet-winui/SKILL.md1Skills CLI (Vercel)
npx skills add wshaddix/dotnet-skills --skill dotnet-winui -a gemini-cli2Platform CLI
gemini skills install https://github.com/wshaddix/dotnet-skills --path skills/dotnet-winuiManually: put the files in place
.devin/skills/dotnet-winui/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add wshaddix/dotnet-skills --skill dotnet-winui -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about dotnet-winui
How do I install dotnet-winui in Claude Code?
Run npx skills add wshaddix/dotnet-skills --skill dotnet-winui -a claude-code. The skill file is placed at ~/.claude/skills/dotnet-winui/SKILL.md.
What does dotnet-winui do?
It provides guidance for WinUI 3 app development, including project configuration, XAML and MVVM patterns, deployment modes, Windows integration, and UWP migration.
What does dotnet-winui require?
Its stated baseline is .NET 8.0+ and Windows App SDK 1.6+. The examples use net8.0-windows10.0.19041.0.