You could try this [0] I’ve started doing this and it’s helped a lot.
1. I understand fully the code and everything it does 2. You can pick up on mistakes super early and it can adjust the plan is it goes. 3. Faster than writing it by hand but slower than letting the LLM do it.
[0] https://ankursethi.com/blog/prevent-cognitive-debt-by-manual...