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…

Apache-2.0Auto-check passedDevOps & Cloud

Install Winui App

skills CLI
$ npx skills add LanceMcCarthy/DevOpsExamples --skill winui-app -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install LanceMcCarthy/DevOpsExamples winui-app --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/LanceMcCarthy/DevOpsExamples.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.copilot/skills/winui-app .claude/skills/winui-app && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
winui-app
GitHub stars
172
Used in
1 other repo
Token cost
~2.8k tokens
SKILL.md length
1,401 words
Files
21 (incl. references, assets)
Skills in repo
3
Repo updated
First seen
Licence
Apache-2.0

At a glance

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…

  • Works in 12 steps: Classify the task as environment/setup,… → If the task is about preparing a machine… → Read references/_sections.md, then load… → …
  • Creating a brand new app
  • SKILL.md covers Required Flow, Common Routes, Environment Rules and Reference Rules
  • Calls dotnet and winget

What it does

Winui App is an agent skill from LanceMcCarthy/DevOpsExamples. 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…

Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 23 other files, including reference files and assets (for example `agents/openai.yaml`, `config.yaml` and `references/_sections.md`).

It sits in DevOps & Cloud, covering Theming and dark mode, CI/CD and Refactoring. It works with Windows, C#, Angular and ASP.NET Core. The repository describes itself as: A repo to show you how to use a private NuGet feed to restore packages in Azure DevOps, GitHub Actions, GitLab CI and AppCenter. The licence is Apache-2.0.

When your agent uses it

  • Creating a brand new app
  • Preparing a machine for WinUI
  • Troubleshooting
  • Environment-checking

Example prompts

  • “/winui-app”

Workflow steps

12 steps, taken from the first numbered list in SKILL.md.

  1. Classify the task as environment/setup, new-app bootstrap, design, implementation, review, or troubleshooting.
  2. If the task is about preparing a machine for WinUI, auditing readiness, or creating a brand new app, start with the bundled…
  3. Read references/_sections.md, then load only the reference files that match the task.
  4. Make the packaging model explicit before creating or refactoring the app. Default to packaged for Store-like product workflows and Visual…
  5. When the task is an opaque XAML compiler failure such as MSB3073 or XamlCompiler.exe, read…
  6. For any work that creates or changes a WinUI app, make a complete but minimal edit set, then build the app and run it before responding to…
  7. Treat launch verification as incomplete until the app shows objective success signals such as a responsive top-level window, expected…
  8. Prefer Microsoft Learn for requirements, API expectations, and platform guidance.
  9. Prefer WinUI Gallery for concrete control usage, shell composition, and design details.
  10. Prefer WindowsAppSDK-Samples for scenario-level APIs such as windowing, lifecycle, notifications, deployment, and custom controls.
  11. Build toward WinUI and Fluent guidance first. Treat native WinUI shells, controls, interactions, and control chrome as the default…
  12. For grouped command surfaces such as document actions, editor formatting, view toggles, or page-level toolbars, favor a native CommandBar…

What it can do on your machine

Read from SKILL.md and the folder at commit 49aa91f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • dotnet
    • winget

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Winui App loads about 2.8k tokens when it runs, and up to ~16k if it reads all its reference files. Until then it costs about 136 tokens; SKILL.md has 1,401 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~136
When it runs · the whole SKILL.md, loaded when a task matches
~2.8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~16k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from LanceMcCarthy/DevOpsExamples at commit 49aa91f, republished under its Apache-2.0 licence (© LanceMcCarthy). 1,401 words, ~2,818 tokens.

Download SKILL.mdSave it as .claude/skills/winui-app/SKILL.md (or your agent's skills folder). This skill also uses 20 other files; get the full folder from GitHub.
name
winui-app
description
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.

WinUI App

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.

Required Flow

  1. Classify the task as environment/setup, new-app bootstrap, design, implementation, review, or troubleshooting.
  2. If the task is about preparing a machine for WinUI, auditing readiness, or creating a brand new app, start with the bundled setup-and-scaffold flow in this skill before broader design, implementation, or troubleshooting work:
    • Pick the app name when the request is for a new app.
    • Use the exact name the user gave when it is already a safe folder name.
    • If the user did not give a name, derive a short PascalCase name from the request and state what you chose.
    • Create the project in the user's current workspace unless they asked for another location.
    • Do not use --force unless the user explicitly asked to overwrite existing files.
    • Run the bundled WinGet configuration from the skill directory so the relative path stays exactly config.yaml:
powershell
winget configure -f config.yaml --accept-configuration-agreements --disable-interactivity
  • Treat the configuration as intended to enable Developer Mode, install or update Visual Studio Community 2026, and install the Managed Desktop, Universal, and Windows App SDK C# components needed for WinUI development.
  • Assess the configuration result before continuing. Continue on success. If it fails, inspect the output instead of guessing. If the 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.
  • Verify the template is available before scaffolding:
powershell
dotnet new list winui
  • For diagnostics-only environment requests, explain that the bundled bootstrap may change the machine and get confirmation before running it. If the user declines changes, use the manual verification guidance in references/foundation-environment-audit-and-remediation.md and summarize readiness under present, missing, uncertain, and recommended optional tools.
  • For a brand new app, scaffold with 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.
  • Verify a new scaffold by confirming the expected project file exists and running dotnet build against the generated .csproj.
  • Launch a newly scaffolded app through the correct path for its actual packaging model and confirm there is a real top-level window instead of relying only on the launcher process exit code.
  1. Read references/_sections.md, then load only the reference files that match the task.
  2. Make the packaging model explicit before creating or refactoring the app. Default to packaged for Store-like product workflows and Visual Studio deploy/F5 flows. Default to unpackaged when the user expects repeatable CLI build-and-run loops or direct .exe launches after each change.
  3. When the task is an opaque XAML compiler failure such as 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.
  4. For any work that creates or changes a WinUI app, make a complete but minimal edit set, then build the app and run it before responding to the user. Do this by default even when the user did not explicitly ask for verification. If a running app instance locks the output while more work remains, stop it, rebuild, relaunch, and continue verification. When the work is complete and launch verification succeeds, leave the final verified app instance running for the user unless they explicitly asked you not to.
  5. Treat launch verification as incomplete until the app shows objective success signals such as a responsive top-level window, expected window title, or other clear startup behavior. A spawned process by itself is not enough.
  6. Prefer Microsoft Learn for requirements, API expectations, and platform guidance.
  7. Prefer WinUI Gallery for concrete control usage, shell composition, and design details.
  8. Prefer WindowsAppSDK-Samples for scenario-level APIs such as windowing, lifecycle, notifications, deployment, and custom controls.
  9. Build toward WinUI and Fluent guidance first. Treat native WinUI shells, controls, interactions, and control chrome as the default implementation path.
  10. For grouped command surfaces such as document actions, editor formatting, view toggles, or page-level toolbars, favor a native CommandBar or other stock WinUI command surface before building a custom row with Grid, StackPanel, Border, or ad hoc button groupings.
  11. Do not invent app-specific controls, bespoke component libraries, or custom chrome to replace stock WinUI behavior unless the user explicitly asks for that customization, the existing product design system already requires it, or a verified platform gap leaves no clean native option.
  12. When customization is needed, first compose, template, or restyle built-in WinUI controls and system resources before adding CommunityToolkit dependencies or authoring a new custom control.
  13. Use CommunityToolkit only when built-in WinUI controls or helpers do not cover the need cleanly.
  14. Support both light and dark mode by default. Treat single-theme output as an exception that requires an explicit user request or an existing product constraint.
  15. Use theme-aware resources, system brushes, and WinUI styling hooks instead of hard-coded light-only or dark-only colors when building or revising UI.
  16. Make scroll ownership explicit for collection layouts. When a page already scrolls vertically, do not assume a nested GridView or other scroll-owning collection will still render a horizontal poster rail correctly.
  17. Do not add extra 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.
  18. Treat responsiveness as a shell-plus-page problem, not only a control-resize problem. Plan explicit wide, medium, and phone-width behavior for navigation, padding, content density, and footer/tool regions, and simplify or hide nonessential UI as width shrinks.
Show full SKILL.md (437 more words)Show less

Common Routes

RequestRead first
Check whether this PC can build WinUI appsreferences/foundation-environment-audit-and-remediation.md
Install missing WinUI prerequisitesreferences/foundation-environment-audit-and-remediation.md
Start a new packaged or unpackaged appreferences/foundation-setup-and-project-selection.md
Recover from opaque XAML compiler or startup failures while staying anchored to the template scaffoldreferences/foundation-template-first-recovery.md
Build, run, or verify that a WinUI app actually launchedreferences/build-run-and-launch-verification.md
Review app structure, pages, resources, and bindingsreferences/foundation-winui-app-structure.md
Choose shell, navigation, title bar, or multi-window patternsreferences/shell-navigation-and-windowing.md
Choose controls or responsive layout patternsreferences/controls-layout-and-adaptive-ui.md
Apply Mica, theming, typography, icons, or Fluent stylingreferences/styling-theming-materials-and-icons.md
Improve accessibility, keyboarding, or localizationreferences/accessibility-input-and-localization.md
Diagnose responsiveness or UI-thread performancereferences/performance-diagnostics-and-responsiveness.md
Decide whether to use CommunityToolkitreferences/community-toolkit-controls-and-helpers.md
Handle lifecycle, notifications, or deploymentreferences/windows-app-sdk-lifecycle-notifications-and-deployment.md
Run a review checklistreferences/testing-debugging-and-review-checklists.md

Environment Rules

  • Do not guess whether the machine is ready for WinUI development. Verify it.
  • Use the bundled setup-and-scaffold flow in this skill for fresh setup, remediation, and first-project scaffolding instead of delegating to another skill.
  • Treat config.yaml in this skill directory as the bundled bootstrap source of truth.
  • Treat uncertain environment signals as uncertain, not as success.
  • If the task is audit-only and the user declines machine changes, use the manual verification guidance in references/foundation-environment-audit-and-remediation.md and keep uncertain signals explicit instead of implying success.
  • If config.yaml is missing, say so clearly and fall back to the official Microsoft workflow instead of pretending the bundled path exists.
  • Keep environment readiness, packaging choice, and application startup verification as separate checks. Passing one does not prove the others.
  • Fail closed on ambiguous launch results. If the app did not clearly open, keep debugging.
  • After creating or editing a WinUI app, do not stop at a successful build. Launch the app, confirm objective startup behavior, and leave the final verified app instance running before returning control to the user unless they explicitly say not to run it.

Reference Rules

  • Keep C# as the primary path. Mention C++ or C++/WinRT only when the difference is material.
  • Preserve the conventions of an existing codebase instead of forcing a generic sample structure onto it.
  • Treat WinUI design guidance and native controls as the baseline. Do not drift into bespoke component systems or app-specific replacements for standard controls unless the user explicitly requests them or the existing codebase already depends on them.
  • Support light and dark mode by default for app UI work unless the user explicitly asks for a single-theme result or the product already enforces one.
  • Favor built-in WinUI controls and system styling hooks before adding CommunityToolkit dependencies, custom controls, or app-specific surface systems.
  • Put detailed control, theming, shell, scrolling, responsiveness, packaging, and recovery guidance in the matching reference files instead of duplicating those rules here.

© LanceMcCarthy, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 20 other files (references, assets) in .copilot/skills/winui-app of LanceMcCarthy/DevOpsExamples.

  • SKILL.md
  • LICENSE.txt
  • agents/openai.yaml
  • assets/winui.png
  • config.yaml
  • references/_sections.md
  • references/accessibility-input-and-localization.md
  • references/build-run-and-launch-verification.md
  • references/community-toolkit-controls-and-helpers.md
  • references/controls-layout-and-adaptive-ui.md
  • references/foundation-environment-audit-and-remediation.md
  • references/foundation-setup-and-project-selection.md
  • references/foundation-template-first-recovery.md
  • references/foundation-winui-app-structure.md
  • references/motion-animations-and-polish.md
  • references/performance-diagnostics-and-responsiveness.md
  • references/sample-source-map.md
  • references/shell-navigation-and-windowing.md
  • … and 3 more

Open the folder on GitHubat commit 49aa91f

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in LanceMcCarthy/DevOpsExamples, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Winui App next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Winui App compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Winui App this skillLanceMcCarthy/DevOpsExamples1721 repos~2.8kAutomated safety check: PassApache-2.0
Modern Web GuidanceJetBrains/skills3643 repos~1.4kAutomated safety check: PassApache-2.0
Ionic FrameworkLeoYeAI/openclaw-master-skills2.2k—~5.5kAutomated safety check: PassMIT
Golemuigolemui/golemui113—~2.2kAutomated safety check: PassMIT
Frontend UI Foundryjiushiwon/wg-skills112—~1.4kAutomated safety check: PassApache-2.0
Novu Framework Integrationnovuhq/novu40k—~7.2kAutomated safety check: PassCustom licence

Similar skills

  • Modern Web Guidance

    JetBrains/skills

    Official

    Search tool for modern web development best practices. An agent skill from JetBrains/skills.

    364 GitHub starsUsed in 3 repos~1.4k tokens
    DevOps & CloudAuto-check passed
  • Ionic Framework

    LeoYeAI/openclaw-master-skills

    Comprehensive Ionic Framework expert skill consolidating core concepts, component reference, CLI usage, theming, layout, page lifecycle, framework-specific patterns for Angular/React/Vue…

    2.2k GitHub stars~5.5k tokensUpdated 2 mo ago
    MobileAuto-check passed
  • Golemui

    golemui/golemui

    Build, validate, and debug GolemUI forms in React, Angular, Vue, Lit, or vanilla JS.

    113 GitHub stars~2.2k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Frontend UI Foundry

    jiushiwon/wg-skills

    A skill your agent uses when generating UI for a specific scenario (mobile/PC/官网/管理端/营销页/文档/金融/原生/3D), when refactoring an existing HTML/Vue/React project to a unified design system, when extracting…

    112 GitHub stars~1.4k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Build code-first notification workflows with @novu/framework.

    40k GitHub stars~7.2k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Official

    Migrate a .NET 10 project or solution to .NET 11 and resolve all breaking changes.

    5.6k GitHub starsUsed in 1 repo~3.6k tokens
    DevOps & CloudAuto-check passed

More from LanceMcCarthy/DevOpsExamples

  • Configure Telerik Nuget

    LanceMcCarthy/DevOpsExamples

    Helps setup, configure and manage Telerik NuGet feeds in your repo's nuget.config file.

    172 GitHub stars~976 tokensUpdated 6 days ago
    Auto-check passed
  • GitHub Actions Failure Debugging

    LanceMcCarthy/DevOpsExamples

    Guide for debugging failing GitHub Actions workflows. An agent skill from LanceMcCarthy/DevOpsExamples.

    172 GitHub stars~312 tokensUpdated 6 days ago
    Auto-check passed

Questions about Winui App

What does Winui App do?

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…. Winui App is an agent skill from LanceMcCarthy/DevOpsExamples. 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.

When should I use Winui App?

Winui App fits situations like: creating a brand new app; preparing a machine for WinUI; troubleshooting; environment-checking.

How do I install Winui App in Claude Code?

Run `npx skills add LanceMcCarthy/DevOpsExamples --skill winui-app -a claude-code`. Or copy the skill folder (.copilot/skills/winui-app in LanceMcCarthy/DevOpsExamples) into .claude/skills/winui-app in your project. Claude Code loads it when a task matches its description.

How do I install Winui App in Codex?

Run `npx skills add LanceMcCarthy/DevOpsExamples --skill winui-app -a codex`. Or copy the skill folder (.copilot/skills/winui-app in LanceMcCarthy/DevOpsExamples) into .agents/skills/winui-app in your project. Codex loads it when a task matches its description.

Can I use Winui App in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LanceMcCarthy/DevOpsExamples --skill winui-app -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/winui-app, .gemini/skills/winui-app, .github/skills/winui-app and .opencode/skills/winui-app in your project.

What does Winui App need to run?

Going by SKILL.md and its folder, Winui App needs the command-line tools its instructions call (dotnet and winget).

Does Winui App access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Winui App safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Winui App use?

Winui App is published under the Apache-2.0 licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Winui App use?

About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 13k tokens, read only when the agent opens those files.

What are the alternatives to Winui App?

Skills that share tags, products or a category with Winui App: Modern Web Guidance (JetBrains/skills, 364 stars), Ionic Framework (LeoYeAI/openclaw-master-skills, 2.2k stars), Golemui (golemui/golemui, 113 stars) and Frontend UI Foundry (jiushiwon/wg-skills, 112 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Winui App?

LanceMcCarthy (a GitHub user) maintains it in LanceMcCarthy/DevOpsExamples, which has 172 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 1, 2026.

Source: LanceMcCarthy/DevOpsExamples on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.