Some tips:
1. Doing one piece at a time generally helps. So you can do library files first, for instance.
2. Make sure that the code is well tested before you do the migration and then be sure to migrate the tests.
3. If possible try to use a stronger model like GPT-5.4, if you’re using a less strong model then you might need to work a little harder.