Creates XAML unit tests for GitHub issues in the Controls.Xaml.UnitTests project. Tests XAML parsing, compilation (XamlC), and source generation. Use when testing XAML-specific behavior, not UI interactions.
安装
npx skills add dotnet/maui --skill write-xaml-testsnpx skills add dotnet/maui --skill write-xaml-tests -a claude-code -gnpx skills add dotnet/maui --skill write-xaml-tests -a codex -ggemini skills install https://github.com/dotnet/maui.git --path .github/skills/write-xaml-testsgh skill install dotnet/maui write-xaml-testsgit clone --depth 1 https://github.com/dotnet/maui /tmp/dotnet__maui
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/dotnet__maui/.github/skills/write-xaml-tests ~/.claude/skills/write-xaml-tests # Claude Code
cp -R /tmp/dotnet__maui/.github/skills/write-xaml-tests ~/.agents/skills/write-xaml-tests # Codex, Cursor, Gemini CLI, Copilot, OpenCode