·Testing

在用户询问"Effect 测试"、"@effect/vitest"、"it.effect"、"it.live"、"it.scoped"、"it.layer"、"it.prop"、"Schema Arbitrary"、"属性测试"、"fast-check"、"TestClock"、"测试 effect"、"mock 服务"、"测试层"、"TestContext"、"Effect.provide test"、"时间测试"、"Effect 测试工具"、"单元测试 Effect"、"生成测试数据"、"flakyTest"、"测试覆盖率"、"100% 覆盖率"、"服务测试"、"测试替身"、"mock 服务",或需要理解如何测试基于 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 测试"、"@effect/vitest"、"it.effect"、"it.live"、"it.scoped"、"it.layer"、"it.prop"、"Schema Arbitrary"、"属性测试"、"fast-check"、"TestClock"、"测试 effect"、"mock 服务"、"测试层"、"TestContext"、"Effect.provide test"、"时间测试"、"Effect 测试工具"、"单元测试 Effect"、"生成测试数据"、"flakyTest"、"测试覆盖率"、"100% 覆盖率"、"服务测试"、"测试替身"、"mock 服务",或需要理解如何测试基于 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 测试"、"@effect/vitest"、"it.effect"、"it.live"、"it.scoped"、"it.layer"、"it.prop"、"Schema Arbitrary"、"属性测试"、"fast-check"、"TestClock"、"测试 effect"、"mock 服务"、"测试层"、"TestContext"、"Effect.provide test"、"时间测试"、"Effect 测试工具"、"单元测试 Effect"、"生成测试数据"、"flakyTest"、"测试覆盖率"、"100% 覆盖率"、"服务测试"、"测试替身"、"mock 服务",或需要理解如何测试基于 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