winapp-frameworks
Skill1.3k starsChanged 2 months agoMITView on GitHub
Framework-specific Windows development guidance for Electron, .NET (WPF, WinForms), C++, Rust, Flutter, and Tauri. Use when packaging or adding Windows features to an Electron app, .NET desktop app, Flutter app, Tauri app, Rust app, or C++ app.
- Installs packages
Trending
More talk lately.about the whole repository
Who's talking about microsoft/winappCli
- openclaw/openclaw-windows-node“Seed v3 Colophon design system for OpenClaw Windows Hub”GitHub · Sep 10, 2026 · 1 reactions
- sudosubin/agents.nix“copilot-plugins.github.microsoft.winappcli: init at 0.7.1”GitHub · Oct 4, 2026
- P4suta/Snaply“build(deps): update all non-major dependencies”GitHub · Oct 4, 2026
- P4suta/TateYoko“build(deps): update all non-major dependencies”GitHub · Oct 4, 2026
- P4suta/typing-sound“build(deps): update all non-major dependencies”GitHub · Oct 4, 2026
The biggest 5 of 36 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 36
Talked about on GitHub and Bluesky (36 times).
On GitHub · 35
- Sep 10, 2026Seed v3 Colophon design system for OpenClaw Windows Hub — openclaw/openclaw-windows-node1 reaction · 4 comments
- Oct 4, 2026copilot-plugins.github.microsoft.winappcli: init at 0.7.1 — sudosubin/agents.nix0 reactions
- Oct 4, 2026build(deps): update all non-major dependencies — P4suta/Snaply0 reactions · 2 comments
- Oct 4, 2026build(deps): update all non-major dependencies — P4suta/TateYoko0 reactions · 2 comments
- Oct 4, 2026build(deps): update all non-major dependencies — P4suta/typing-sound0 reactions · 1 comment
30 more on GitHub
- Oct 4, 2026Bump Microsoft.Windows.SDK.BuildTools.WinApp from 0.7.0 to 0.7.1 — mirrorpulse/MirrorPulse0 reactions
- Oct 4, 2026agent-plugins.github.microsoft.winappcli: init at 0.7.1 — sudosubin/agents.nix0 reactions
- Oct 3, 2026Bump the windows-app-sdk group with 2 updates — lzvsrx/LZ-AGENT0 reactions
- Oct 3, 2026chore(deps-node): update dependency @microsoft/winappcli to v0.7.1 — scottlz0310/md-peruse0 reactions
- Oct 2, 2026Bump Microsoft.Windows.SDK.BuildTools.WinApp from 0.6.1 to 0.7.1 — Has-X/Registry0 reactions
- Oct 2, 2026Bump the dotnet-dependencies group with 6 updates — rhamenator/SimpleLoanCalculator0 reactions · 1 comment
- Oct 2, 2026chore(deps): update dependency microsoft.windows.sdk.buildtools.winapp to 0.7.1 — SheepReaper/nes-emulator-30 reactions
- Oct 2, 2026Update dependency Microsoft.Windows.SDK.BuildTools.WinApp to 0.7.1 - autoclosed — mfakane/azunyan0 reactions
- Oct 2, 2026fix(deps): update dependency microsoft.windows.sdk.buildtools.winapp to 0.7.1 — sebdanielsson/varys0 reactions
- Sep 26, 2026Bump the windows-app-sdk group with 2 updates — lzvsrx/LZ-AGENT0 reactions · 1 comment
- Sep 25, 2026Bump Microsoft.Windows.SDK.BuildTools.WinApp from 0.6.1 to 0.7.0 — Has-X/Registry0 reactions · 1 comment
- Sep 25, 2026Bump the dotnet-dependencies group with 6 updates — rhamenator/SimpleLoanCalculator0 reactions · 2 comments
- Sep 24, 2026Bump Microsoft.Windows.SDK.BuildTools.WinApp from 0.3.2 to 0.7.0 — trsdn/md2loop-windows0 reactions
- Sep 18, 2026Bump the dotnet-dependencies group with 6 updates — rhamenator/SimpleLoanCalculator0 reactions · 2 comments
- Sep 12, 2026Bump Microsoft.Windows.SDK.BuildTools.WinApp from 0.5.0 to 0.6.1 — jacob-krarup-madsen/WinForge0 reactions · 1 comment
- Sep 11, 2026Bump the dotnet-dependencies group with 6 updates — rhamenator/SimpleLoanCalculator0 reactions · 2 comments
- Sep 4, 2026UI 驱动三选一:winapp ui、FlaUI、UIAutomationClient — trytoreachpeak0/8005-test-lab0 reactions · 2 comments
- Sep 3, 2026refactor: migrate MSIX packaging/signing to Microsoft's winapp CLI — recregt/winsp0 reactions
- Sep 3, 2026Bump Microsoft.Windows.SDK.BuildTools.WinApp from 0.3.2 to 0.6.1 — trsdn/md2loop-windows0 reactions · 1 comment
- Sep 1, 2026Bump Microsoft.Windows.SDK.BuildTools.WinApp from 0.6.0 to 0.6.1 — onlytrisdev/chrome-native-adblock0 reactions
- Aug 28, 2026Bump the dotnet-dependencies group with 6 updates — rhamenator/SimpleLoanCalculator0 reactions · 2 comments
- Aug 21, 2026Bump the dotnet-dependencies group with 5 updates — rhamenator/SimpleLoanCalculator0 reactions · 2 comments
- Aug 19, 2026build(deps-dev): bump @microsoft/winappcli from 0.5.0 to 0.6.0 — baiyuscc13724-max/deepseek-harness-desktop0 reactions · 1 comment
- Aug 19, 2026fix(deps): update dependency microsoft.windows.sdk.buildtools.winapp to 0.6.1 — sebdanielsson/varys0 reactions
- Aug 18, 2026chore(deps): update dependency microsoft.windows.sdk.buildtools.winapp to 0.6.1 [automerge] — DevSecNinja/home-assistant-win-companion0 reactions
- Aug 14, 2026Bump Microsoft.Windows.SDK.BuildTools.WinApp from 0.3.1 to 0.6.0 — Has-X/Registry0 reactions · 1 comment
- Aug 14, 2026Bump the dotnet-dependencies group with 5 updates — rhamenator/SimpleLoanCalculator0 reactions · 2 comments
- Aug 9, 2026Add Windows WinApp computer provider — albert-zen/zen0 reactions
- Jul 2, 2026using winapp cii — peaceshi/Avalonia-NativeAOT-SingleFile0 reactions
- Feb 8, 2026Electron deployment: Add Windows packaging with Microsoft WinAppCli — ok-very/autoart0 reactions
On Bluesky · 1
- May 6, 2026Does winappcli help? github.com/microsoft/wi... — @drustheaxe.bsky.social0 likes and reposts · 1 reply
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llms.txtllms.txt
- code-qualitySkill
- pr-lifecycleSkill
- pr-reviewSkill
- spec-reviewSkill
- winapp-find-apiSkill
- winapp-find-uiSkill
- winapp-identitySkill
- winapp-manifestSkill
- winapp-mauiSkill
- winapp-packageSkill
- winapp-sandboxSkill
- winapp-setupSkill
- winapp-signingSkill
- winapp-troubleshootSkill
- winapp-ui-automationSkill
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 4 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 7
Use this skill when:
- Very specific: line 29
Use the npm package (@microsoft/winappcli), not the standalone CLI.
- Distinctive: line 45
Use JS bindings to call Windows App SDK APIs directly from JavaScript without native addons (for example AI APIs, notifications, and file …
- Very specific: line 46
Use native addons when you need Win32/COM APIs, third-party C++ libraries, or .NET assemblies: --template cpp for C++ (node-gyp), or …
- Distinctive: line 63
No native addon step needed — unlike Electron, .NET can call Windows APIs directly
- Very specific: line 67
Use -- when the app's flag is also a dotnet run option (--configuration, --framework, --project, -c, -f, -r, ...), e.g.
- Very specific: line 95
Add .winapp/packages to include/lib paths in your build system
- Very specific: line 98
Use the windows crate for Windows API bindings
- Distinctive: line 109
Use winapp specifically for MSIX distribution and package identity features
- Very specific: line 127
Startup debugging (any framework): use winapp create-debug-identity <exe> so your IDE can F5-launch the exe with identity from the first …
- Very specific: line 138
Not sure which command to use?
- Very specific: line 142
Run winapp <command> --help for current command options, or winapp --cli-schema for the complete machine-readable command schema.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
When to use
Use this skill when:
- Working with a specific app framework and need to know the right winapp workflow
- Choosing the correct install method (npm package vs. standalone CLI)
- Looking for framework-specific guides for step-by-step setup, build, and packaging
Each framework has a detailed guide — refer to the links below rather than trying to guess commands.
Framework guides
| Framework | Install method | Guide |
| Electron | npm install --save-dev @microsoft/winappcli | Electron setup guide |
| .NET (WPF, WinForms, Console) | winget install Microsoft.winappcli | .NET guide |
| .NET MAUI | winget install Microsoft.winappcli | MAUI guide + winapp-maui skill |
| C++ (CMake, MSBuild) | winget install Microsoft.winappcli | C++ guide |
| Rust | winget install Microsoft.winappcli | Rust guide |
| Flutter | winget install Microsoft.winappcli | Flutter guide |
| Tauri | winget install Microsoft.winappcli | Tauri guide |
Key differences by framework
Electron (npm package)
Use the npm package (@microsoft/winappcli), not the standalone CLI. The npm package includes:
- The native winapp CLI binary bundled inside
node_modules - A Node.js SDK with helpers for creating native C#/C++ addons
- Electron-specific commands under
npx winapp node - Generated JS bindings (
.winapp/bindings/) for direct JavaScript access to Windows App SDK APIs
Quick start:
npm install --save-dev @microsoft/winappcli
npx winapp init . --use-defaults --add-js-bindings
npx winapp node create-addon --template cs # create a C# native addon
npx winapp node add-electron-debug-identity # register identity for debuggingWindows integration guidance:
- Use JS bindings to call Windows App SDK APIs directly from JavaScript without native addons (for example AI APIs, notifications, and file pickers). Custom WinRT components with .winmd metadata can also be added via
winapp.jsBindings.additionalWinmdsin package.json. - Use native addons when you need Win32/COM APIs, third-party C++ libraries, or .NET assemblies:
--template cppfor C++ (node-gyp), or--template csfor C#. - Mixing JS bindings and native addons in one Electron app is fine.
Additional Electron guides:
- Notification JS bindings guide
- Windows APIs JS bindings guide (file picker + imaging)
- Phi Silica JS bindings guide
- WinML JS bindings guide
- Packaging guide
- C++ notification addon guide
- WinML addon guide
- Phi Silica addon guide
.NET (WPF, WinForms, Console)
.NET projects have direct access to Windows APIs. Key differences:
- Projects with NuGet references to
Microsoft.Windows.SDK.BuildToolsorMicrosoft.WindowsAppSDKdon't needwinapp.yaml— winapp auto-detects SDK versions from the.csproj - The key prerequisite is
Package.appxmanifest, notwinapp.yaml - No native addon step needed — unlike Electron, .NET can call Windows APIs directly
winapp initautomatically adds theMicrosoft.Windows.SDK.BuildTools.WinAppNuGet package, enablingdotnet runwith automatic identity registration- Arguments written after
dotnet rungo to the launched application, exactly as they would without the package; configure the launcher itself with theWinAppRun*MSBuild properties - Example combining both:
dotnet run -p:WinAppRunDetach=true --app-arg(WinApp detaches, the app receives--app-arg) - Use
--when the app's flag is also adotnet runoption (--configuration,--framework,--project,-c,-f,-r, ...), e.g.dotnet run -- --configuration Release; otherwise the SDK claims it and the app never sees it
If you already have a Package.appxmanifest (e.g., WinUI 3 apps or projects with an existing packaging setup), you likely don't need winapp init — your project is already configured for packaged builds. Just make sure:
- Your
.csprojreferences theMicrosoft.WindowsAppSDKNuGet package (WinUI 3 apps already have this) - The project properties are set up for packaged builds (e.g.,
<WindowsPackageType>MSIX</WindowsPackageType>or equivalent) - WinUI 3 apps created from Visual Studio templates are typically already fully configured
Quick start:
winapp init . --use-defaults
dotnet build <path-to-project.csproj> -c Debug -p:Platform=x64
winapp run bin\x64\Debug\<tfm>\win-x64\Replace <tfm> with your target framework (e.g., net10.0-windows10.0.26100.0), and adjust x64 to match your target architecture.
.NET MAUI
MAUI has one important quirk: its checked-in Platforms/Windows/Package.appxmanifest is full of $placeholder$ tokens that winapp package does not resolve. MAUI's resizetizer fills them at build/publish time into a generated manifest:
- Resizetizer manifest:
obj\<Config>\<TFM>\<RID>\resizetizer\m\Package.appxmanifest - Fully-resolved output manifest:
bin\<Config>\<TFM>\<RID>\AppxManifest.xml
Publish the Windows head first, then point winapp package --manifest at the generated manifest — never the source one. See the dedicated winapp-maui skill for the full workflow, CI examples, and troubleshooting.
C++ (CMake, MSBuild)
C++ projects use winapp primarily for SDK projections (CppWinRT headers) and packaging:
winapp init --setup-sdks stabledownloads Windows SDK + App SDK and generates CppWinRT headers- Headers generated in
.winapp/generated/include - Response file at
.cppwinrt.rspfor build system integration - Add
.winapp/packagesto include/lib paths in your build system
Rust
- Use the
windowscrate for Windows API bindings - winapp handles manifest, identity, packaging, and certificate management
- Typical build output:
target/release/myapp.exe
Flutter
- Flutter handles the build (
flutter build windows) - winapp handles manifest, identity, packaging
- Build output:
build\windows\x64\runner\Release\
Tauri
- Tauri has its own bundler for
.msiinstallers - Use winapp specifically for MSIX distribution and package identity features
- winapp adds capabilities beyond what Tauri's built-in bundler provides (identity, sparse packages, Windows API access)
Debugging by framework
| Framework | Recommended command | Notes |
| .NET | winapp run .\bin\x64\Debug\<tfm>\win-x64\ | Build with dotnet build -c Debug -p:Platform=x64 first; GUI apps launch via AUMID, console apps automatically via an execution alias |
| C++ | winapp run .\build\Debug | Console apps are detected and launched via an execution alias automatically |
| Rust | winapp run .\target\debug | Console apps are detected and launched via an execution alias automatically |
| Flutter | winapp run .\build\windows\x64\runner\Debug | GUI app — plain winapp run works |
| Tauri | winapp run .\dist | Stage exe to dist/ first (avoids copying entire target/ tree); GUI app |
| Electron | npx winapp node add-electron-debug-identity | Uses Electron-specific identity registration; winapp run is not recommended for Electron |
Key rules:
- GUI apps (Flutter, Tauri, WPF): use
winapp run <build-output>— launches via AUMID activation - Console apps (C++, Rust, .NET console): plain
winapp run <build-output>— winapp detects a console app from the built binary's PE subsystem and launches it via an execution alias, so stdin/stdout reach your terminal. It stages the requireduap5:ExecutionAliasinto the AppX layout itself, so no manifest edit is needed. Pass--without-aliasto force AUMID activation instead (the app then prints nothing);--with-aliasonly forces an alias for a windowed app - Electron: different mechanism — uses
npx winapp node add-electron-debug-identitybecauseelectron.exeis innode_modules/, not your build output - Startup debugging (any framework): use
winapp create-debug-identity <exe>so your IDE can F5-launch the exe with identity from the first instruction
For full debugging scenarios and IDE setup, see the Debugging Guide.
Related skills
- Setup:
winapp-setup— initial project setup withwinapp init - Manifest:
winapp-manifest— creating and customizingPackage.appxmanifest - Signing:
winapp-signing— certificate generation and management - Packaging:
winapp-package— creating MSIX installers from build output - Identity:
winapp-identity— enabling package identity for Windows APIs during development - MAUI:
winapp-maui— packaging/signing .NET MAUI Windows apps and resolving the resizetizer manifest - Not sure which command to use? See
winapp-troubleshootfor a command selection flowchart
CLI reference
Run winapp <command> --help for current command options, or winapp --cli-schema for the complete machine-readable command schema.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

