test-driven-development - Apply a strict red-green-refactor workflow
Guides test-first development through framework detection, failing-test verification, minimal implementation, and refactoring.
Tags
Updated: 2026-10-04Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Detect test frameworks
- Establish a green baseline
- Write failing behavior tests
- Verify red-green-refactor cycles
- Cover edge and error cases
- Refactor under passing tests
Inputs
- Feature requirements
- Bug reports
- Project source files
- Test configuration
- Existing test suite
Outputs
- Test files
- Production code changes
- Test execution results
- Refactored code
Requirements
- Access to project files
- A configured test runner
- Permission to run tests
