Completely agree, coding with chatGPT is hard.
I've been using this bot I wrote to code. You describe what you want in your github repo and it just writes the code and pull request for you. <a href="https://github.com/sweepai/sweep">https://github.com/sweepai/sweep</a>.