The task was to upgrade a WordPress blog to the latest version, keeping ONLY comments and posts .
Using AI
- You could do one solution architecture per day and going far , far away by letting AI to generate code. Also, if it is wrong, I do another one next day .
- Do NOT let AI to generate 1 file with everything
- Do NOT let AI to correct small errors that you can solve as programmer ( it will take hours for a 5 minute job). Let AI know the new version.
- Do let AI to generate code in the language/framework that you are most familiar with .
- Tell AI the steps necessary to make the task .
- Do let AI to generate tests for each step , in order to know that is correct. Aim for completeness
- Make the steps easy + fast to run from start to end
- Do NOT aim for the perfect solution – you can make it perfect later.
- If AI hallucinates, start the chat over with a fresh new beginning .
Caveat
Caveat