[deleted]

  • Tests, then force the AI to run the tests after a new change. You also need to manage the architecture.

  • Sometimes I can tell its spiraling so I usually ask it to take a step back or I (gasp) take a look at the problem myself lol

  • it means you don’t have proper architecture, modularity and separation of concerns. some of what you save in coding has to be reinvested in architecture and test

    if each module has one job, AI is not going to refactor unrelated modules.

    if your code is one giant monolithic block, well thats whats your going to get

  • when you use AI for coding, leave “breadcrumbs” everywhere for it to understand the architecture