Be the product manager. Just like real iterative development, you have to take time occasionally to reduce technical debt explicitly.
Adding unit tests, increasing modularity, reducing duplication, and the like are all things you can tell the LLM to do explicitly. And it is happy to do it.
And you can have coding standards as part of your design criteria. Set and document these early in the project and audit the code at least enough to see they are being enforced.
Adding unit tests, increasing modularity, reducing duplication, and the like are all things you can tell the LLM to do explicitly. And it is happy to do it.
And you can have coding standards as part of your design criteria. Set and document these early in the project and audit the code at least enough to see they are being enforced.