What problem does it solve?
This Skill prevents fragile Swift changes by enforcing a repeatable TDD workflow that starts with failing tests and ends with reviewed, refactored, and committed code.
Core Features & Use Cases
- Plan → Red → Green → Review → Refactor → Commit pipeline to ensure changes are test-driven and deliberate.
- Swift Testing-first test generation by delegating test writing to the existing
test-engineer agent.
- Verification-focused execution with explicit “Red/Green check” cycles to ensure tests fail first and pass after minimal implementation.
- Use case: You want to add a new TCA feature that requires mocks and careful Effect/MainActor/Sendable handling, while guaranteeing tests remain green through refactors.
Quick Start
Run the tdd skill for your feature description in your Swift/iOS project and let it iterate through the full Plan → Red → Green → Review → Refactor → Commit flow using your project’s CLAUDE.md/AGENTS.md.