MJ
Hi Khishamuddin, nice to meet you! Not only you are facing this issue, it's a very common problem we face when we start with AI Generated or "Vibe" coding. AI model are smart enough to generate precise and industry level code, but they need deep context, instructions and thought process. Also it should not be one shot process, but a step by step approach. You can have a look at how Gemini CLI is doing. With this process, we can fix a problem one at a time and make our final product best as it can be.