skills/.curated/winui-app/SKILL.md
Bootstrap, develop, and design modern WinUI 3 desktop applications with C# and the Windows App SDK using official Microsoft guidance, WinUI Gallery patterns, Windows App SDK samples, and CommunityToolkit components. Use when creating a brand new app, preparing a machine for WinUI, reviewing, refactoring, planning, troubleshooting, environment-checking, or setting up WinUI 3 XAML, controls, navigation, windowing, theming, accessibility, responsiveness, performance, deployment, or related Windows app design and development work.
npx skillsauth add openai/skills winui-appInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill for WinUI 3 and Windows App SDK work that needs grounded setup guidance, app bootstrap, modern Windows UX decisions, or concrete implementation patterns.
--force unless the user explicitly asked to overwrite existing files.config.yaml:winget configure -f config.yaml --accept-configuration-agreements --disable-interactivity
winui template is already available and the toolchain is usable, note the partial failure and continue. If prerequisites are still missing, stop and report the blocker clearly.dotnet new list winui
references/foundation-environment-audit-and-remediation.md and summarize readiness under present, missing, uncertain, and recommended optional tools.dotnet new winui -o <name>. Add template options only when the user asked for them. Supported options: -f|--framework net10.0|net9.0|net8.0, -slnx|--use-slnx, -cpm|--central-pkg-mgmt, -mvvm|--use-mvvm, -imt|--include-mvvm-toolkit, -un|--unpackaged, -nsf|--no-solution-file, --force. Do not invent unsupported flags. If the user asks for packaged behavior, pass --unpackaged false. Otherwise keep the template default.dotnet build against the generated .csproj.references/_sections.md, then load only the reference files that match the task..exe launches after each change.MSB3073 or XamlCompiler.exe, read references/foundation-template-first-recovery.md and simplify back toward the current dotnet new winui scaffold for the chosen packaging model before inventing custom recovery structure.CommandBar or other stock WinUI command surface before building a custom row with Grid, StackPanel, Border, or ad hoc button groupings.GridView or other scroll-owning collection will still render a horizontal poster rail correctly.Border wrappers around sections, lists, or cards unless the border is doing distinct work that the contained control or parent surface does not already provide. Avoid "double-card" compositions where a section Border wraps child items that already render as cards.| Request | Read first |
| --- | --- |
| Check whether this PC can build WinUI apps | references/foundation-environment-audit-and-remediation.md |
| Install missing WinUI prerequisites | references/foundation-environment-audit-and-remediation.md |
| Start a new packaged or unpackaged app | references/foundation-setup-and-project-selection.md |
| Recover from opaque XAML compiler or startup failures while staying anchored to the template scaffold | references/foundation-template-first-recovery.md |
| Build, run, or verify that a WinUI app actually launched | references/build-run-and-launch-verification.md |
| Review app structure, pages, resources, and bindings | references/foundation-winui-app-structure.md |
| Choose shell, navigation, title bar, or multi-window patterns | references/shell-navigation-and-windowing.md |
| Choose controls or responsive layout patterns | references/controls-layout-and-adaptive-ui.md |
| Apply Mica, theming, typography, icons, or Fluent styling | references/styling-theming-materials-and-icons.md |
| Improve accessibility, keyboarding, or localization | references/accessibility-input-and-localization.md |
| Diagnose responsiveness or UI-thread performance | references/performance-diagnostics-and-responsiveness.md |
| Decide whether to use CommunityToolkit | references/community-toolkit-controls-and-helpers.md |
| Handle lifecycle, notifications, or deployment | references/windows-app-sdk-lifecycle-notifications-and-deployment.md |
| Run a review checklist | references/testing-debugging-and-review-checklists.md |
config.yaml in this skill directory as the bundled bootstrap source of truth.references/foundation-environment-audit-and-remediation.md and keep uncertain signals explicit instead of implying success.config.yaml is missing, say so clearly and fall back to the official Microsoft workflow instead of pretending the bundled path exists.development
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output should be a bitmap asset rather than repo-native code or vector. Do not use when the task is better handled by editing existing SVG/vector/code-native assets, extending an established icon or logo system, or building the visual directly in HTML/CSS/canvas.
tools
Build a composable CLI for Codex from API docs, an OpenAPI spec, existing curl examples, an SDK, a web app, an admin tool, or a local script. Use when the user wants Codex to create a command-line tool that can run from any repo, expose composable read/write commands, return stable JSON, manage auth, and pair with a companion skill.
tools
Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).
tools
Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry CLI; perform read-only queries using the `sentry` command.