WindowsAppSDK
AGENTS.md4.7k starsChanged 11 months agoMITView on GitHub
Comprehensive guidance for AI contributions to the Windows App SDK. The SDK follows this organization: For C#/C++/IDL files: For XAML files:
Trending
Quiet this year.about the whole repository
Who's talking about microsoft/WindowsAppSDK
- microsoft/microsoft-ui-xaml“Discussion: WinUI 3.0 XAML Designer”GitHub · Sep 19, 2021 · 376 reactions
- dotnet/maui“Make MAUI into 1 workload and lots of NuGets instead of a full workload”GitHub · Nov 9, 2022 · 59 reactions
- dotnet/maui“Windows Unpackaged support in .NET MAUI ”GitHub · Oct 8, 2022 · 27 reactions
- dotnet/maui“After updating Windows 10, Windows can no longer manage any appx packages, and I can't deploy WinUI 3 apps …”GitHub · Nov 13, 2024 · 25 reactions
- dotnet/maui“Add Support for WinUI Unpackaged Apps”GitHub · Oct 28, 2021 · 16 reactions
The biggest 5 of 17 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 17
Talked about on GitHub, Hacker News and Bluesky (17 times).
On GitHub · 13
- Sep 19, 2021Discussion: WinUI 3.0 XAML Designer — microsoft/microsoft-ui-xaml376 reactions · 427 comments
- Nov 9, 2022Make MAUI into 1 workload and lots of NuGets instead of a full workload — dotnet/maui59 reactions · 7 comments
- Oct 8, 2022Windows Unpackaged support in .NET MAUI — dotnet/maui27 reactions · 4 comments
- Nov 13, 2024After updating Windows 10, Windows can no longer manage any appx packages, and I can't deploy WinUI 3 apps from VS — dotnet/maui25 reactions · 57 comments
- Oct 28, 2021Add Support for WinUI Unpackaged Apps — dotnet/maui16 reactions · 18 comments
8 more on GitHub
- Sep 10, 2025Update Win2D to Support WinAppSDK v1.8 Meta Package — microsoft/Win2D13 reactions · 1 comment
- Nov 6, 2021Proposal: Include WinUI 3 test projects (as already exist for standard UWP apps) — microsoft/microsoft-ui-xaml13 reactions · 17 comments
- Sep 26, 2021[Bug] Maui Essentials WebAuthenticator not working in WinUI — dotnet/maui11 reactions · 50 comments
- Sep 14, 2024When the WinUI3 window of Windows App SDK 1.6 is launched, it will cause any window with the TOPMOST style of any other process to lose the TOPMOST effect — microsoft/microsoft-ui-xaml10 reactions · 1 comment
- Dec 12, 2023Moving mouse wheel and click hangs WinUI application — microsoft/microsoft-ui-xaml10 reactions · 14 comments
- Sep 7, 2022Simplify and make more robust the process for Single-instance WinUI apps — dotnet/maui10 reactions · 21 comments
- Apr 11, 2022Unable to run Windows application from command line — dotnet/maui9 reactions · 21 comments
- Mar 1, 2025Proposal: Set owner for Microsoft.UI.Xaml.Window — microsoft/microsoft-ui-xaml8 reactions
On Hacker News · 3
- Oct 19, 2021UWP won't get new features. Is moved to bugfix only mode3 points
- Nov 19, 2021Windows App SDK version 1.0 (first stable release)1 point
- Nov 17, 2021Windows App SDK (Previously Known as Project Reunion)1 point
On Bluesky · 1
- Jan 26, 2025I didn't. Should I file an issue here? github.com/microsoft/Wi... — @peymanr34.bsky.social0 likes and reposts · 1 reply
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository4 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- issue-triage-reportSkill
- triage-meeting-prepSkill
- worktree-managerSkill
The file
We split this AGENTS.md into the rules it gives an agent
7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 7
Build: Use BuildAll.ps1 or BuildAll.cmd at repo root (builds the full SDK solution)
- Very specific: line 9
Verify: Run tests with TestAll.ps1 or TestAll.cmd
- Distinctive: line 22
Follow modular design – each component should have clear boundaries and responsibilities
- Distinctive: line 27
Ensure all tests pass before submitting changes
- Very specific: line 48
C#: Follow .editorconfig at repo root (4-space indent, Allman braces, UTF-8 BOM)
- Very specific: line 49
C++: Use C++/WinRT; follow docs/Coding-Guidelines.md
- Distinctive: line 50
XAML: Use consistent formatting
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md 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
Windows App SDK – AI Contributor Guide
Comprehensive guidance for AI contributions to the Windows App SDK.
Quick Reference
- Build: Use
BuildAll.ps1orBuildAll.cmdat repo root (builds the full SDK solution) - Run: Deploy and test on Desktop (x64, x86, ARM64) in Debug and Release configurations
- Verify: Run tests with
TestAll.ps1orTestAll.cmd - Exit code 0 = success – do not proceed if build fails
Build Examples
./BuildAll.ps1 # Build all SDK components
./BuildAll.ps1 -Platform x64 -Configuration Release # Specific platform and config
msbuild WindowsAppRuntime.sln /p:Configuration=Debug /p:Platform=x64Key Rules
- Code should be production-quality – follow SDK coding standards and best practices
- Follow modular design – each component should have clear boundaries and responsibilities
- Support all platforms: x64, x86, ARM64 in both Debug and Release
- Set minimum supported OS version to Windows 10 version 1809 (build 17763)
- Include copyright headers in all source files
- Build clean with no warnings or errors
- Ensure all tests pass before submitting changes
Project Structure
The SDK follows this organization:
\dev # Source code for SDK components
\<ComponentName> # Individual SDK component
\build # Build scripts and pipeline definitions
\test # Test projects
\tools # Development tools and utilities
\specs # Feature specifications
\docs # Documentation- ComponentName: SDK component (e.g.,
AppLifecycle,DynamicDependency,MRTCore) - Language: Primarily C++ (C++/WinRT) with some C# projections
- Tests: Located under
\testwith component-specific test projects
Style Enforcement
- C#: Follow
.editorconfigat repo root (4-space indent, Allman braces, UTF-8 BOM) - C++: Use C++/WinRT; follow
docs/Coding-Guidelines.md - XAML: Use consistent formatting
Copyright Headers
For C#/C++/IDL files:
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.For XAML files:
<!-- Copyright (c) Microsoft Corporation.
Licensed under the MIT License. -->When to Ask for Clarification
- Ambiguous requirements after reviewing docs
- Cross-feature impact unclear
- API usage patterns not well documented
Detailed Documentation
- Coding Guidelines – Complete coding standards and checklist
- Contributor Guide – Contribution requirements
- PR Template – Pull request checklist
- Windows App SDK Docs – Official documentation
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.

