Workaround for 'internal error' terror (?)

Hey,
I was working on a small feature today and, of course, internal error struck again.
I am not sure whether this workaround would work for everyone but it worked for me, so sharing with you in hope you will find it useful.

  1. Starting prompt: “[your feature description, user story, whatever]. Do not code. Break it down into smallest logical code changes or tasks including a goal, a list of actions and detailed changes you want to implement.”
  2. AI responds with the plan. 2.5 Pro is good at it.
  3. Iterate on the plan till you are happy.
  4. Once you are satisfied: "Write this plan to /docs/your function or feature name.md
  5. Switch to 2.5 Flash or built-in.
  6. Prompt: “Read and understand /docs/your function or feature name.md. Implement task 1.1”
  7. Test and move down the list till completed.

It worked couple of times today for me.

Benefits:

  • negligible amount of internal error terror.
  • expensive 2.5 pro only used for planning. Flash is good on its own but I noticed it is better when following pro structure and just adding here and there.
  • documentation writes itself.

cheers