I have a part of the “dev loop” here that reads each file and “fixes it” based on user instruction. Look at the modification prompt I have. It certainly needs work however I think it’s the start of what could help you write a script to fix your code. I suggest using starcoder instruction fine tuned model instead however