Home / microsoft / win-dev-skills · plugins/winui/agent-plugin/skills/winui-dev-workflow/SKILL.md · GitHub

winui-dev-workflow skillA

winui-dev-workflow is agent-read markdown (skill) from microsoft/win-dev-skills: Build and run workflow for WinUI 3 apps with WinApp CLI 0.6+ — project creation with winapp new, project-mode winapp run, BuildAndRun.ps1 analyzer integration, crash diagnosis, and prerequisites. Use when creating, building, running, or fixing build errors in a WinUI 3 project..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

### Create or Open a Project

**New app** — let WinApp CLI install/update the official templates and scaffold:
```powershell
winapp new --name <AppName> --template winui-mvvm --template-version latest --use-defaults
cd <AppName>
```
Run `winapp new --list` to discover the currently installed template short names. Do not install the template pack separately and do not create the output directory first.

**Existing app** — read the `.csproj` to understand:
- `<TargetFramework>` (e.g., `net10.0-windows10.0.26100.0`)
- `<PackageReference>` versions (WindowsAppSDK, CommunityToolkit)
- Project structure and established patterns

### Install Packages

```powershell
dotnet add package <Name>
```
Never specify `--version` — omitting it gets the latest stable and avoids outdated API mismatches.

### Build & Run

WinApp CLI 0.6+ builds a `.csproj` and launches it directly:

```powershell
winapp run . --debug-output
winapp run .\MyApp.csproj -c Release --arch arm64
```

For normal development, prefer the included `BuildAndRun.ps1` wrapper. It invokes project-mode `winapp run`, injects the bundled `Microsoft.WindowsAppSDK.Analyzers`, and turns on `--debug-output` by default:

```powershell
…

Read the whole file at its exact version.

How to install

Latest version
mdr add microsoft/win-dev-skills/winui-dev-workflow@git:20260826.26aa303
Exact content
mdr add microsoft/win-dev-skills/winui-dev-workflow@sha256:1539fce9d3714270

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_56qm2rwgsop7bme3.svg)](https://markdownregistry.com/a/art_56qm2rwgsop7bme3)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260826.26aa303 latest2026-08-26 26aa303 6,508 BA view · diff
git:20260825.f12cc572026-08-25 f12cc57 5,819 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (6508 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

microsoft/win-dev-skills · 448 stars · license MIT · pushed 2026-09-24 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_56qm2rwgsop7bme3
GET https://markdownregistry.com/api/v1/resolve?ref=microsoft/win-dev-skills/winui-dev-workflow
GET https://markdownregistry.com/api/v1/blob/1539fce9d371427024fe2600d4fb61b7d079d28ff868cf9158288da23fee65cf

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from microsoft/win-dev-skills

pr-review skill
microsoft/win-dev-skills · .github/skills/pr-review/SKILL.md · Multi-dimensional review of a PR or feature branch in microsoft/win-dev-skills. Activate on "review my PR / changes /…
git:20260826.26aa303 · audit A · 448 stars
winui-code-review skill
microsoft/win-dev-skills · plugins/winui/agent-plugin/skills/winui-code-review/SKILL.md · Code quality review for WinUI 3 apps — MVVM compliance, x:Bind correctness, accessibility, theming, security, and…
git:20260826.26aa303 · audit A · 448 stars
winui-design skill
microsoft/win-dev-skills · plugins/winui/agent-plugin/skills/winui-design/SKILL.md · Use when designing, reviewing, or fixing WinUI 3: sample and control discovery with winapp find-ui, layout planning…
git:20260826.26aa303 · audit A · 448 stars
winui-packaging skill
microsoft/win-dev-skills · plugins/winui/agent-plugin/skills/winui-packaging/SKILL.md · MSIX packaging, code signing, and distribution for WinUI 3 apps — build for release, certificate generation (winapp…
git:20260826.26aa303 · audit A · 448 stars
winui-session-report skill
microsoft/win-dev-skills · plugins/winui/agent-plugin/skills/winui-session-report/SKILL.md · Analyze the current or a recent agent session (GitHub Copilot CLI or Claude Code) and generate a diagnostic report. Use…
git:20260826.26aa303 · audit A · 448 stars
winui-setup skill
microsoft/win-dev-skills · plugins/winui/agent-plugin/skills/winui-setup/SKILL.md · Install and verify the prerequisites the win-dev-skills WinUI 3 toolchain depends on — .NET SDK 8.0.100+, WinApp CLI…
git:20260826.26aa303 · audit A · 448 stars
winui-ui-testing skill
microsoft/win-dev-skills · plugins/winui/agent-plugin/skills/winui-ui-testing/SKILL.md · Automated UI testing for Windows desktop apps — generate a batch test script with the `winapp ui` UI Automation…
git:20260825.f12cc57 · audit A · 448 stars
winui-wpf-migration skill
microsoft/win-dev-skills · plugins/winui/agent-plugin/skills/winui-wpf-migration/SKILL.md · Migrate WPF applications to WinUI 3 — namespace replacement (System.Windows → Microsoft.UI.Xaml), control mapping…
git:20260826.26aa303 · audit A · 448 stars

Every file in microsoft/win-dev-skills

Browse by kind, by grade A, or by owner.