What problem does it solve?
This Skill automates the rigorous Test-Driven Development (TDD) workflow, ensuring you consistently follow Red-Green-Refactor cycles. It eliminates the manual overhead of managing TDD phases, helping you write robust, well-tested code faster and with fewer errors.
Core Features & Use Cases
- Guided TDD Workflow: Systematically guides you through the Red, Green, and Refactor phases of TDD.
- Automated Test & Code Generation: Assists in generating failing tests (Red), implementing code to pass them (Green), and refactoring for optimal design.
- Enforced Git Commit Standards: Automatically suggests and validates TDD-specific commit messages (e.g., "red:", "green:", "refactor:").
- Use Case: You need to implement a new function. Activate TDG to generate the initial failing test, then the code to pass it, and finally refactor, all while maintaining a clear, TDD-compliant commit history.
Quick Start
Use TDG to start a new feature. Guide me through the Red-Green-Refactor process for a new user authentication module.