·vitest-testing
</>

vitest-testing

為此 Nuxt 4 專案編寫並執行 Vitest 單元測試。建立或修改可組合項目、元件、服務、公用程式或 Lambda 處理程序時自動觸發。每當編寫測試、新增測試覆蓋率、測試新功能、修復錯誤(先編寫回歸測試)或當使用者提到測試、單元測試、vitest、TDD、覆蓋率或測試覆蓋率時,請使用此技能。在 app/composables/、app/components/、app/utils/、services/ 或 terraform/lambda/src/ 中建立任何新檔案時也可使用。

14安裝·5熱度·@ralphcrisostomo

安裝

$npx skills add https://github.com/ralphcrisostomo/nuxt-development-skills --skill vitest-testing

如何安裝 vitest-testing

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

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

來源:ralphcrisostomo/nuxt-development-skills。

SKILL.md

查看原文

| app/composables/ .ts | tests/app/composables/ .test.ts | | app/components/ .vue | app/components/tests/ .test.ts (DOM tests) OR tests/app/components/ .test.ts (logic-only) | | app/utils/ .ts | tests/app/utils/ .test.ts | | services/ .ts | tests/services/ .test.ts | | utils/ .ts | tests/utils/ .test.ts |

| terraform/lambda/src/ /index.ts | terraform/lambda/src/ /tests/index.test.ts |

Use tests/ co-location only for component DOM tests and Lambda handlers. Everything else goes in the top-level tests/ mirror tree.

為此 Nuxt 4 專案編寫並執行 Vitest 單元測試。建立或修改可組合項目、元件、服務、公用程式或 Lambda 處理程序時自動觸發。每當編寫測試、新增測試覆蓋率、測試新功能、修復錯誤(先編寫回歸測試)或當使用者提到測試、單元測試、vitest、TDD、覆蓋率或測試覆蓋率時,請使用此技能。在 app/composables/、app/components/、app/utils/、services/ 或 terraform/lambda/src/ 中建立任何新檔案時也可使用。 來源:ralphcrisostomo/nuxt-development-skills。

可引用資訊

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

安裝指令
npx skills add https://github.com/ralphcrisostomo/nuxt-development-skills --skill vitest-testing
分類
</>開發工具
認證
收錄時間
2026-03-10
更新時間
2026-03-10

Browse more skills from ralphcrisostomo/nuxt-development-skills

快速解答

什麼是 vitest-testing?

為此 Nuxt 4 專案編寫並執行 Vitest 單元測試。建立或修改可組合項目、元件、服務、公用程式或 Lambda 處理程序時自動觸發。每當編寫測試、新增測試覆蓋率、測試新功能、修復錯誤(先編寫回歸測試)或當使用者提到測試、單元測試、vitest、TDD、覆蓋率或測試覆蓋率時,請使用此技能。在 app/composables/、app/components/、app/utils/、services/ 或 terraform/lambda/src/ 中建立任何新檔案時也可使用。 來源:ralphcrisostomo/nuxt-development-skills。

如何安裝 vitest-testing?

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

這個 Skill 的原始碼在哪?

https://github.com/ralphcrisostomo/nuxt-development-skills

詳情

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