grey-haven-tdd-typescript
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseTDD TypeScript Skill
TDD TypeScript 技能
Expert TypeScript/JavaScript TDD implementation using strict red-green-refactor methodology with Vitest testing framework.
采用严格的红-绿-重构方法论,结合Vitest测试框架,提供专业的TypeScript/JavaScript TDD实现方案。
Description
说明
Implement features by writing failing tests first, minimal code to pass, then refactoring. Comprehensive TypeScript/React TDD patterns.
通过先编写失败的测试用例,再编写最少代码让测试通过,最后进行重构的方式实现功能。涵盖全面的TypeScript/React TDD模式。
What's Included
包含内容
- Examples: TDD cycles, React component TDD, utility function TDD
- Reference: Red-green-refactor patterns, Vitest best practices
- Templates: Test templates, implementation workflows
- 示例:TDD循环、React组件TDD、工具函数TDD
- 参考资料:红-绿-重构模式、Vitest最佳实践
- 模板:测试模板、实现工作流
Use When
适用场景
- Implementing TypeScript features with TDD
- React component development
- Ensuring high test coverage
- 使用TDD实现TypeScript功能
- React组件开发
- 确保高测试覆盖率
Related Agents
相关Agent
tdd-typescript-implementer
Skill Version: 1.0
tdd-typescript-implementer
技能版本:1.0