·write-ui-tests
*

write-ui-tests

为 GitHub 问题创建 UI 测试并验证它们是否重现了错误。迭代直到测试实际上失败(证明他们发现了问题)。当 PR 缺乏测试或需要为问题创建测试时使用。

11安装·0热度·@dotnet

安装

$npx skills add https://github.com/dotnet/maui --skill write-ui-tests

如何安装 write-ui-tests

通过命令行快速安装 write-ui-tests AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/dotnet/maui --skill write-ui-tests
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:dotnet/maui。

SKILL.md

查看原文

Creates UI tests that reproduce a GitHub issue, following .NET MAUI conventions. Verifies the tests actually fail before completing.

A test that passes does NOT prove it catches the bug. You MUST:

Note: XAML is optional. C#-only pages (as shown above) are simpler and preferred for most test scenarios. Use XAML only when the bug specifically relates to XAML parsing or markup behavior.

为 GitHub 问题创建 UI 测试并验证它们是否重现了错误。迭代直到测试实际上失败(证明他们发现了问题)。当 PR 缺乏测试或需要为问题创建测试时使用。 来源:dotnet/maui。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/dotnet/maui --skill write-ui-tests
分类
*创意媒体
认证
收录时间
2026-03-09
更新时间
2026-03-11

Browse more skills from dotnet/maui

快速解答

什么是 write-ui-tests?

为 GitHub 问题创建 UI 测试并验证它们是否重现了错误。迭代直到测试实际上失败(证明他们发现了问题)。当 PR 缺乏测试或需要为问题创建测试时使用。 来源:dotnet/maui。

如何安装 write-ui-tests?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/dotnet/maui --skill write-ui-tests 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/dotnet/maui