Good vibe-coding prompts

Does anybody have good prompt that’ll undo a large, multi-file change made by a coding agent? I’ll occasionally write a prompt that will lead the agent to change a handful of files (HTML, CSS, JS) all at once. But if I don’t like that change, I ask it to undo it and it really struggles to understand that all those files need reverting together. Using Codex btw.

Cheers :+1:

Tip: Keep backup files.

2 Likes

Indeed. One way to manage that would be to use git as a fundamental part of your development process. Handling multi-file coordinated changes and being able to apply them or back them out as a unit is some of the core functionality that it’s designed to support.

2 Likes