One of the biggest problems with AI is that it doesn't get better and better. It makes the same mistakes over and over instead of learning like a junior eng would.
AI is like the absolute worst outsourced devs I've ever worked with - enthusiastically saying "yes I can do that" to everything and then delivering absolute garbage that takes me longer to fix/convince them to do right than it would have taken for me to just do it myself.
Current models have no memory, they don't learn. You have to learn for them for now. You have to put the learnings in the instructions and in code comments. If you don't describe WHAT your code SHOULD do and WHY you write it in THAT particular way it will have no idea and the code may just look like bad non-standard code waiting to be "improved".
It works best if you keep close to mainstream styles and if you keep it easy and straight-forward.
AI is like the absolute worst outsourced devs I've ever worked with - enthusiastically saying "yes I can do that" to everything and then delivering absolute garbage that takes me longer to fix/convince them to do right than it would have taken for me to just do it myself.