TDD Feature Implementation
Tests first, then implementation—for small features or bug fixes.
Prompt
Style:
Interactive Fill-in (Auto replaces below)
Implement this with **TDD**.
**Story**: {user story}
**Stack**: {test framework, lang}
**Existing code**:
```
{paste}
```
Steps:
1. Test cases (happy, edge, failure)
2. **Failing tests** first
3. **Minimal implementation** to pass
4. Refactor notes
5. Remaining integration risks
Label red/green at each step.Copy & open AI model directly:
Recommended companions
Install these MCP servers or Skills so the AI can pull repo, docs, or browser context automatically.