If you are giving that much freedom to AI in generating your artifacts, then you should reconsider some agentic guidelines at the places where your domain spaces meet.
A well-architected agentic structure consists of many guiding hands. I personally use a collection of AGENT.md files throughout my codebases. This ensures that no matter the framework, the model, or the agent that hops on the code, it is instantly onboarded with the standards of delivery. (I use 3 different platforms interchangeably for the same tasks, slightly different flavours).
The hint on where to put these guiding hands is exactly the place where you see the inconsistencies.