Here’s my workflow, it takes that a few steps further: https://taoofmac.com/space/blog/2025/05/13/2230
[1] https://notes.jessmart.in/My+Writings/Pair+Programming+with+...
READMEs per module also help, but it really depends a lot on the model. Gemini will happily traipse all over your codebase at random, gpt-4.1 will do inline imports inside functions because it seems to lack any sort of situational awareness, Claude so far gets things mostly right.