tdd-workflow-advanced
Installation
SKILL.md
TDD Workflow — Anti-Patterns
This skill extends tdd-workflow with common testing mistakes and how to fix them. Load tdd-workflow first.
When to Activate
- Tests were written after the implementation, not before
- Tests spy on private methods or internal state
- Tests use
waitForTimeout/sleepas a synchronization mechanism - Test B relies on test A having run first (shared state)
- The system under test itself is being mocked
Anti-Patterns
Writing Code Before Tests
Wrong: