Install any skill in seconds. Free to start, no credit card required.
Get Started Free →shinpr/typescript-testing
Applies Vitest test design and quality standards. Provides coverage requirements and mock usage guides.
Passed 18 of 21 test cases with the skill, and 11 of 21 without it.
and 7 more in the full report
8 fixed13 passed either way3 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 8 test cases the skill fixed. Same model, same prompt, with and without the skill.
During refactoring of `user-profile.ts`, a test in `user-profile.test.ts` fails because internal class helper methods were renamed while expected public behavior remains unchanged. Should the failing test be deleted or fixed?
| Checked | Without skill | With skill |
|---|---|---|
| Fixes the test while protecting ongoing behavior | Missed | Passed |
| Prohibits test deletion unless source requirements confirm the behavior is no longer required | Missed | Passed |
The instructions your model reads when the skill loads.
在选择测试框架或命令之前,先检查 package.json、锁文件、测试配置以及现有测试的导入方式。仅当配置了 Vitest 时才应用 Vitest 专属规则;否则使用仓库已配置的 TypeScript 测试工具,同时保留以下关于行为、隔离性与依据的规则。如果无法确认可运行的测试工具,请报告已检查的路径以及缺失的命令或配置。
import { describe, it, expect, beforeEach, vi } from 'vitest'vi.mock()单元测试
集成测试
跨功能验证
test cases passed, vs 11 / 21 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.