Comment by mystifyingpoi

7 days ago

> remind the model to use TDD

I don't know how vibe coding works, but how does this work - is the agent actually engaging in the red-green-refactor loop, or does it just generate the result all at once?

if you ask it to, claude code can definitely write tests, then write code, then try to modify one or the other to make them pass in a loop, yes.

if you don't ask, it's much more likely to just one shot the whole thing, and may or may not get it right first time.