Conversation
- Expanded Testing section in agent with Unit Test App project setup, [TestMethod] vs [UITestMethod] attributes, and code examples - Added Testing rules to instructions file - Added Testing Migration section to migration guide skill with UWP-to-WinUI 3 test project mapping and updated checklist Reference: https://learn.microsoft.com/en-us/windows/apps/winui/winui3/testing/create-winui-unit-test-project Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Adds a WinUI 3 / Windows App SDK “expert” toolkit to the repository to help steer Copilot away from legacy UWP APIs and toward correct WinUI 3 desktop patterns.
Changes:
- Added a WinUI 3 expert agent plus a migration-focused skill.
- Added WinUI 3 coding instructions (apply to XAML/C#/csproj).
- Added an installable
winui3-developmentplugin, and registered the new assets across docs + marketplace.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| skills/winui3-migration-guide/SKILL.md | New migration guide skill with common pitfalls, mappings, and a checklist. |
| instructions/winui3.instructions.md | New instruction set to enforce WinUI 3 patterns across XAML/C#/csproj. |
| agents/winui3-expert.agent.md | New “WinUI 3 Expert” agent with guidance on APIs, UX, MVVM, windowing, threading, etc. |
| plugins/winui3-development/.github/plugin/plugin.json | New plugin manifest bundling the agent + skill. |
| plugins/winui3-development/README.md | New plugin README documenting installation and included items. |
| docs/README.skills.md | Adds the new skill to the skills index table. |
| docs/README.instructions.md | Adds the new instructions file to the instructions index table. |
| docs/README.agents.md | Adds the new agent to the agents index table. |
| docs/README.plugins.md | Adds the new plugin to the plugins index table. |
| .github/plugin/marketplace.json | Registers the new plugin in the marketplace listing. |
|
Just got a small merge conflict @niels9001 - just need to run the update script after merging |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Head branch was pushed to by a user without write access
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
#codeowner |
CODEOWNERS Update RequiredThe # Added via #codeowner from PR #865
+/agents/winui3-expert.agent.md `@niels9001`
+/instructions/winui3.instructions.md `@niels9001`
+/plugins/winui3-development/ `@niels9001`
+/skills/winui3-migration-guide/ `@niels9001`Summary of ChangesThe following ownership entries have been identified:
Note: I was unable to automatically create a PR with these changes due to authentication limitations in the workflow environment. A maintainer will need to manually apply these updates to the CODEOWNERS file on the
|
CODEOWNERS Update StatusI've successfully prepared the CODEOWNERS updates for this PR, but encountered a technical limitation when attempting to create the pull request automatically. Prepared ChangesThe following CODEOWNERS entries have been created on branch
Manual Steps RequiredTo complete this process, a maintainer with repository write access needs to:
Alternatively, the changes can be reviewed locally: git fetch origin
git checkout -b update-codeowners-865
git cherry-pick a6d093dTechnical NoteThe
|
|
#codeowner |
|
I attempted to update the CODEOWNERS file for this PR, but encountered a technical issue with the PR creation tool. The following entries should be added to the CODEOWNERS file: The changes have been prepared on branch
|
|
I attempted to update the CODEOWNERS file for this PR, but encountered a technical issue with the PR creation tool. The following entries should be added to the CODEOWNERS file: The changes have been prepared on branch
|
|
#codeowner |
|
✅ CODEOWNERS has been updated! A pull request has been created to assign ownership of the WinUI 3 related files to The following entries have been added:
|
Assigns ownership of WinUI 3 related files to @niels9001: - agents/winui3-expert.agent.md - instructions/winui3.instructions.md - plugins/winui3-development/ - skills/winui3-migration-guide/ Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Pull Request Checklist
Description
Adds a comprehensive WinUI 3 / Windows App SDK development toolkit — an agent, instruction set, skill, and plugin — to help developers build high-quality desktop Windows apps with correct, modern APIs.
The problem: AI coding assistants frequently generate incorrect WinUI 3 code by using legacy UWP APIs that dominate training data. The top risks are ContentDialog without XamlRoot, MessageDialog instead of ContentDialog, and CoreDispatcher instead of DispatcherQueue, among many others.
What's included:
Sources: WinUI Gallery copilot instructions, Windows App SDK migration guides, and documented common Copilot code generation pitfalls.
By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.