Use when writing new features, fixing bugs, refactoring code, or structuring test-driven development cycles. Guide the TDD red-green-refactor loop across languages and frameworks: test-first design, coverage targets, mocking strategy, test organization, and CI integration.