- Update QA agent (qa.md) with TDD Red phase commands: - *tdd-start: Initialize TDD for story - *write-failing-tests: Generate failing tests (Red phase) - *tdd-refactor: Participate in refactor with safety checks - Add TDD methodology and test isolation principles - Update Dev agent (dev.md) with TDD Green/Refactor phase commands: - *tdd-implement: Implement minimal code to pass tests (Green phase) - *make-tests-pass: Iterative test-driven implementation - *tdd-refactor: Collaborate on safe refactoring - Add TDD discipline and test-first validation rules - Enhance test-design.md with TDD-first support: - Add TDD mode for Red phase test design - Mocking strategy selection matrix (mock/fake/stub) - Smallest-next-test principle - Deterministic test data strategies - Create TDD quality gates template (tdd-quality-gates.md): - Phase-specific gate criteria (Red/Green/Refactor) - Pass/Fail/Concerns criteria per phase - Recovery procedures for gate failures - Integration with existing BMAD quality gates All agents now support both traditional and TDD workflows. TDD features are conditionally available when tdd.enabled=true. |
||
|---|---|---|
| .. | ||
| analyst.md | ||
| architect.md | ||
| bmad-master.md | ||
| bmad-orchestrator.md | ||
| dev.md | ||
| pm.md | ||
| po.md | ||
| qa.md | ||
| sm.md | ||
| ux-expert.md | ||