·twd-test-writer
</>

twd-test-writer

TWD 測試編寫上下文 — 教導 AI 代理程式如何編寫正確的 TWD(開發時測試)瀏覽器內測試。在編寫、檢查或修改 TWD 測試文件 (*.twd.test.ts) 時使用此文件。

24安裝·0熱度·@brikev

安裝

$npx skills add https://github.com/brikev/twd --skill twd-test-writer

如何安裝 twd-test-writer

透過命令列快速安裝 twd-test-writer AI 技能到你的開發環境

  1. 開啟終端機: 開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 執行安裝指令: 複製並執行以下指令:npx skills add https://github.com/brikev/twd --skill twd-test-writer
  3. 驗證安裝: 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

來源:brikev/twd。

SKILL.md

查看原文

You are writing tests for TWD (Test While Developing), an in-browser testing library. Tests run in the browser (not Node.js) with a sidebar UI for instant visual feedback. Syntax is similar to Jest/Cypress but with key differences.

TWD tests should focus on full user flows, not granular unit-style assertions. Each it() block should test a meaningful user journey through a page — load, interact, verify — rather than isolating individual elements.

NEVER import describe, it, beforeEach from Jest, Mocha, or other libraries. They MUST come from twd-js/runner. expect MUST come from twd-js.

TWD 測試編寫上下文 — 教導 AI 代理程式如何編寫正確的 TWD(開發時測試)瀏覽器內測試。在編寫、檢查或修改 TWD 測試文件 (*.twd.test.ts) 時使用此文件。 來源:brikev/twd。

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/brikev/twd --skill twd-test-writer
分類
</>開發工具
認證
收錄時間
2026-02-20
更新時間
2026-03-11

Browse more skills from brikev/twd

快速解答

什麼是 twd-test-writer?

TWD 測試編寫上下文 — 教導 AI 代理程式如何編寫正確的 TWD(開發時測試)瀏覽器內測試。在編寫、檢查或修改 TWD 測試文件 (*.twd.test.ts) 時使用此文件。 來源:brikev/twd。

如何安裝 twd-test-writer?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/brikev/twd --skill twd-test-writer 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

這個 Skill 的原始碼在哪?

https://github.com/brikev/twd

詳情

分類
</>開發工具
來源
skills.sh
收錄時間
2026-02-20