·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-10

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