Install any skill in seconds. Free to start, no credit card required.
Get Started Free →xu-xiang/tdd-workflow
在编写新功能、修复 Bug 或重构代码时使用此技能。强制执行测试驱动开发(TDD),包括单元测试、集成测试和 E2E 测试,且覆盖率需达到 80% 以上。
Passed 20 of 22 test cases with the skill, and 17 of 22 without it.
3 fixed17 passed either way2 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 3 test cases the skill fixed. Same model, same prompt, with and without the skill.
We need to mock our AI vector embedding utility module located at `@/lib/openai` in Jest for unit testing. What mock return structure should `generateEmbedding` produce?
| Checked | Without skill | With skill |
|---|---|---|
| The mock implementation returns a 1536-dimensional array. | Missed | Passed |
The instructions your model reads when the skill loads.
此技能確保所有程式碼開發遵循 TDD 原則,並具有完整的測試覆蓋率。
總是先寫測試,然後實作程式碼使測試通過。
test cases passed, vs 17 / 22 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.