tdd - Test-Driven Development
Guides test-driven development using a red-green-refactor loop to implement features, fix bugs, and verify type constraints.
Tags
Updated: 2026-09-23Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Execute red-green-refactor cycle
- Design testable public interfaces
- Mock external system boundaries
- Write integration-style tests
- Reproduce bugs with tests
- Perform compile-time type testing
Inputs
- User feature requirements
- Public API specifications
- Bug reports
- External system boundary dependencies
Outputs
- Test files and test suites
- Production code implementation
- Refactored source code
- Type assertion utilities
Requirements
- TypeScript environment for type checking
