write-xaml-tests
OfficialAutomate XAML unit tests for MAUI controls.
Authordotnet
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the creation and maintenance of XAML unit tests for MAUI controls, enabling consistent validation of XAML parsing, XamlC compilation, and source generation without manual test setup.
Core Features & Use Cases
- Automated XAML unit tests: Generates tests that cover XAML parsing, inflation, bindings, and error scenarios.
- XamlC and Source Generator testing: Verifies IL generation and code-generation behavior across MAUI controls.
- Use Case: When you need to reproduce or guard against XAML-related regressions in the Controls.Xaml.UnitTests project.
Quick Start
Create MauiXXXXX.xaml and MauiXXXXX.xaml.cs test scaffolds under src/Controls/tests/Xaml.UnitTests/Issues following the conventions described in the guidelines.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: write-xaml-tests Download link: https://github.com/dotnet/maui/archive/main.zip#write-xaml-tests Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.