But adding one additional line: "Plan out how you plan to solve each task before writing the code."
https://twitter.com/Claybight/status/1625225378515021824
It manages to do the job without hassle.