What problem does it solve?
This Skill automates the rigorous TDD (Test-Driven Development) Red-Green-Verify cycle, ensuring code quality through agent isolation and multi-layered testing before proceeding to end-to-end validation.
Core Features & Use Cases
- Agent Isolation: Enforces strict separation between test writers and implementers to prevent context pollution.
- TDD Red Phase (G4): Generates example-based and property-based tests that must all fail initially.
- Implement Green Phase (G5): Implements code to make all generated tests pass within a limited iteration count, with test tampering detection.
- Cross-Verify Phase (G6): Conducts mutation testing, property-based testing, and cross-model review for comprehensive validation.
- Use Case: Integrate this Skill into a CI/CD pipeline to automatically enforce TDD best practices for AI-generated code, catching bugs early and ensuring robustness.
Quick Start
Use the hive-tdd-pipeline skill to execute the TDD Red phase, generating failing tests based on the provided SPEC document.