agentleFS
MicrosoftKnown publishermicrosoft/WindowsAppSDK/AGENTS.md

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

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the microsoft/WindowsAppSDK repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about microsoft/WindowsAppSDK

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

8 more on GitHub

On Bluesky · 1

  • 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.

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
  1. Very specific:

    Build: Use BuildAll.ps1 or BuildAll.cmd at repo root (builds the full SDK solution)

    line 7
  2. Very specific:

    Verify: Run tests with TestAll.ps1 or TestAll.cmd

    line 9
  3. Distinctive:

    Follow modular design – each component should have clear boundaries and responsibilities

    line 22
  4. Distinctive:

    Ensure all tests pass before submitting changes

    line 27
  5. Very specific:

    C#: Follow .editorconfig at repo root (4-space indent, Allman braces, UTF-8 BOM)

    line 48
  6. Very specific:

    C++: Use C++/WinRT; follow docs/Coding-Guidelines.md

    line 49
  7. Distinctive:

    XAML: Use consistent formatting

    line 50

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Windows App SDK – AI Contributor Guide

Comprehensive guidance for AI contributions to the Windows App SDK.

Quick Reference

  • Build: Use BuildAll.ps1 or BuildAll.cmd at 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.ps1 or TestAll.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=x64

Key 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 \test with component-specific test projects

Style Enforcement

  • C#: Follow .editorconfig at 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

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.