What problem does it solve?
This Skill facilitates Test-Driven Development (TDD) by generating test files from templates and coordinating the red-green-refactor cycle, ensuring robust test coverage and higher code quality from the start. It automates test setup, saving time and promoting best practices.
Core Features & Use Cases:
- Test File Generation: Creates unit, integration, and performance test files for Mojo and Python, providing a structured starting point.
- TDD Workflow Guidance: Supports the "write tests first" principle and the red-green-refactor cycle, ensuring testable code.
- Use Case: Before writing any new code for a feature, use this skill to generate a unit test file. Write a failing test, then implement the minimal code to make it pass, ensuring your code is always testable and correct.
Quick Start:
Use the phase-test-tdd skill to generate a unit test file for 'matrix_multiply'.