If you're asking your AI (like Claude Code) to perform multiple steps, the odds of it failing to follow the plan are high, leaving you in a mess that will be hard to get out of.
A Documented Plan is CRITICAL!
You MUST have your AI lay out a plan of how it plans to perform your multi-step request.
1. Have it write it up in a markdown file.
2. You review it and make any changes.
3. Potentially have it add a way to verify it.
4. Potentially have a rollback plan.
Withotu AI, this type of document sounds burdensome, but AI can knock it out in a matter of seconds. You just review it and make sure it's correct.
Once you verify it's good, tell it to implement that plan and check off items as they're completed so it can keep up with where it is.
You'll get SIGNIFICANTLY better results!