·Testing

當用戶詢問“效果測試”、“@effect/vitest”、“it.effect”、“it.live”、“it.scoped”、“it.layer”、“it.prop”、“Schema Arbitrary”、“基於屬性的測試”、“fast-check”、“TestClock”、“測試效果”、“mocking services”、“測試層”、“TestContext”、“Effect.provide”時,應該使用此技能test”、“時間測試”、“Effect 測試實用程序”、“單元測試 Effect”、“生成測試數據”、“flakyTest”、“測試覆蓋率”、“100% 覆蓋率”、“服務測試”、“測試替身”、“模擬服務”,或者需要了解如何測試基於 Effect 的代碼。

0安裝·0熱度·@andrueandersoncs

安裝

$npx skills add https://github.com/andrueandersoncs/claude-skill-effect-ts --skill Testing

SKILL.md

Effect testing uses @effect/vitest as the standard test runner integration. This package provides Effect-aware test functions that handle Effect execution, scoped resources, layer composition, and TestClock injection automatically.

The two pillars of Effect testing that enable 100% test coverage:

Together, these two pillars mean: services eliminate external dependencies from tests, and Arbitrary eliminates hand-crafted test data. The result is fast, deterministic, comprehensive tests with 100% coverage.

當用戶詢問“效果測試”、“@effect/vitest”、“it.effect”、“it.live”、“it.scoped”、“it.layer”、“it.prop”、“Schema Arbitrary”、“基於屬性的測試”、“fast-check”、“TestClock”、“測試效果”、“mocking services”、“測試層”、“TestContext”、“Effect.provide”時,應該使用此技能test”、“時間測試”、“Effect 測試實用程序”、“單元測試 Effect”、“生成測試數據”、“flakyTest”、“測試覆蓋率”、“100% 覆蓋率”、“服務測試”、“測試替身”、“模擬服務”,或者需要了解如何測試基於 Effect 的代碼。 來源:andrueandersoncs/claude-skill-effect-ts。

查看原文

可引用資訊

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

安裝指令
npx skills add https://github.com/andrueandersoncs/claude-skill-effect-ts --skill Testing
分類
</>開發工具
認證
收錄時間
2026-02-01
更新時間
2026-02-18

快速解答

什麼是 Testing?

當用戶詢問“效果測試”、“@effect/vitest”、“it.effect”、“it.live”、“it.scoped”、“it.layer”、“it.prop”、“Schema Arbitrary”、“基於屬性的測試”、“fast-check”、“TestClock”、“測試效果”、“mocking services”、“測試層”、“TestContext”、“Effect.provide”時,應該使用此技能test”、“時間測試”、“Effect 測試實用程序”、“單元測試 Effect”、“生成測試數據”、“flakyTest”、“測試覆蓋率”、“100% 覆蓋率”、“服務測試”、“測試替身”、“模擬服務”,或者需要了解如何測試基於 Effect 的代碼。 來源:andrueandersoncs/claude-skill-effect-ts。

如何安裝 Testing?

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

這個 Skill 的原始碼在哪?

https://github.com/andrueandersoncs/claude-skill-effect-ts