winui-wpf-migration

winui-wpf-migration is a skill for Claude Code from microsoft/winappCli. It costs 64 tokens per session (2,183 once invoked), scanned A, original, MIT.

A setup guide for the tools and Windows settings needed to build WinUI 3 desktop apps. It checks the .NET SDK, WinApp CLI, Developer Mode, and extra requirements for Native AOT and Windows Sandbox.

In plain words
What is it for?
Use it to inspect, install, or repair a WinUI 3 development toolchain and verify that the environment is ready for other WinUI tasks.
Why use it?
It finds missing or outdated prerequisites before they cause confusing build or testing errors. It installs or upgrades only what is needed and identifies changes that require user approval.

Skill for Claude Code ✓ vendor

Written for Claude Code: shipped in a Claude Code plugin.

Part of the winui plugin — 7 skills, 1 agent shipped together

Good fit Use it to inspect, install, or repair a WinUI 3 development toolchain and verify that the environment is ready for other WinUI tasks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/winappcli/winui-wpf-migration
About the project

winapp CLI is a command-line tool for Windows application development that manages SDKs, app identity, manifests, certificates, packaging, and build tools. It helps developers using frameworks such as .NET, Win32, CMake, Electron, or Rust access Windows-native development capabilities. The catalogue add-ons provide agent workflows for using the CLI.

microsoft/winappCli · 1,403 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add microsoft/winappCli --skill winui-wpf-migration
Clone the repo
git clone --depth 1 https://github.com/microsoft/winappCli

Made for: Claude Code.

Or install winui, the plugin that ships this one along with the rest of its 7 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for winui-wpf-migration

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/winappcli/winui-wpf-migration/github.svg)](https://agentmods.dev/skills/microsoft/winappcli/winui-wpf-migration)
Your own site
<a href="https://agentmods.dev/skills/microsoft/winappcli/winui-wpf-migration"><img src="https://agentmods.dev/badge/skills/microsoft/winappcli/winui-wpf-migration/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for winui-wpf-migration

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/winappcli/winui-wpf-migration"><img src="https://agentmods.dev/badge/skills/microsoft/winappcli/winui-wpf-migration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,183 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00064 $0.02183
Opus 5.5 $0.00026 $0.00873
Sonnet 5.5 $0.00013 $0.00437
Haiku 4.5 $0.00006 $0.00218

Measured 11d ago against content hash 4e8bfa25b94d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

winui-wpf-migration scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/winui/agent-plugin/skills/winui-wpf-migration/SKILL.md · 110 lines

How it starts

The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.

WPF to WinUI 3 Migration

Port WPF code to WinUI 3 while preserving the application's behavior, deployment, stored data, and external contracts.

When to Use

  • Convert WPF XAML, controls, bindings, or System.Windows.* APIs to WinUI 3.
  • Port dispatcher calls, windows, dialogs, file pickers, or imaging code.
  • Adapt observable properties, commands, resources, and tests during a WPF migration.
  • Fix project, runtime, installer, or signing failures caused by that migration.

Use winui-design for control samples, winui-dev-workflow for project setup and build/run commands, and winui-packaging when packaging is in scope. Keep the target project's versions, deployment, and required behavior when using those workflows.

Migration Sequence

Port bounded groups of files in dependency order:

  1. Project files — prepare the WinUI target, package references, XAML/resource items, native references, and assets. Keep assembly names and deployment settings required by existing callers.
  2. Models and shared logic — remove UI-framework dependencies from reusable logic. Share CLI/UI behavior through a library when needed, without executable-to-executable project references.
  3. MVVM — replace custom observable/command infrastructure with CommunityToolkit.Mvvm. Preserve setter transformations, defaults, serialization attributes, notifications, and command behavior.
  4. Resource strings — migrate the application's .resx strings and their code/XAML consumers to .resw, connect the PRI resource index and accessor, and keep stable keys.
  5. Services and imaging — replace WPF types and propagate asynchronous APIs through callers. Preserve codec, metadata, cancellation, and error behavior.
  6. View models — move UI updates onto their owning dispatcher queue and adapt binding/command notifications.
  7. Views and pages — start with leaf views. Port markup, styles, converters, templates, keyboard behavior, and accessibility.
  8. Main view and shell — integrate the converted views, navigation, windows, and owner-dependent dialogs/pickers.
  9. Application startup — merge initialization, resources, activation, and cleanup into the WinUI lifecycle.
  10. Existing installer, packaging, or signing steps — update only the affected steps if the port changes the files they consume or when those files are ready.
  11. Tests — adapt async calls, resource access, pixel/metadata assertions, settings fixtures, and integration scenarios.

Read the full file on GitHub · 110 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago Changed · -2 lines · -9 tokens per session 4e8bfa25b94d
  2. 1mo ago Changed · -27 tokens per session 50c58cdb73ba
  3. 1mo ago First seen · 112 lines · 100 tokens per session scan A b8756a23a41d

Subscribe to this mod's changes

winui-wpf-migration is a skill published in the GitHub repository microsoft/winappCli (1,403 stars, last pushed today), licensed MIT. It adds 64 tokens to every session and 2,183 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-07.

Related

winui-wpf-migration compared with skills from other repositories

winui-wpf-migration next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
winui-wpf-migrationmicrosoft/winappCliSkill1.4ktodayMITA64Claude Code
author-labelsvercel/vercelSkill17k5d agoApache-2.0A25Claude Code, Codex
latchbio-integrationsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A45Claude Code, Codex
claw-adminx-cmd/x-cmdSkill4.8k6d agoApache-2.0A48Claude Code, Codex
x-netsx-cmd/x-cmdSkill4.8k6d agoApache-2.0A69Claude Code, Codex
x-themex-cmd/x-cmdSkill4.8k6d agoApache-2.0A74Claude Code, Codex
x-arpx-cmd/x-cmdSkill4.8k6d agoApache-2.0A64Claude Code, Codex