Agreed, using a planning phase makes a huge difference. It will break the implementation into steps, making reviewing or manually refactoring parts of the code far more easily.
Comment on How AI assistance impacts the formation of coding skills
ElBarto@piefed.social 1 day agoDo you tell Claude to make a plan first?
That helps me tremendously. Whenever something needs to be modified, I tell it to update the plan first, and to stick to the plan.
That way, Claude doesn’t rewrite code that has already been implemented as part of the plan.
And understanding the plan helps understanding the code.
Sometimes if I know there will be a lot of code produced, I’ll tell it to add a quick comment on every piece it adds or modifies with a reference to the step in the plan it refers to. Makes code reviewing much more pleasant and easier to follow. And the bugs and hallucinations stick out more too.
priapus@piefed.social 22 hours ago
Calabast@lemmy.ml 15 hours ago
Smart, I’ll definitely try that out.
ElBarto@piefed.social 5 hours ago
You probably know this, but aside from that, Claude has “plan mode”. When writing, hit “Shift+Tab” a few times until you select it. Claude won’t immediately start coding when you give it instructions.
Also, ask him about the “superpowers* and “ask questions” skills. Game changers too.