When you need to go back
“Undo the last change you made. It broke [describe what stopped working]. Please revert it.”
Free AI prompt · Start Here
A ready-to-use prompt from the chapter When Things Break. Paste it into Claude, ChatGPT, Lovable, Bolt or any AI coding tool.
“I'm stuck and confused. Here is what my app is supposed to do: [describe your goal]. Here is what is happening instead: [describe the problem]. Here is the error I see: [paste error]. Please help me fix just this one thing.”
“Undo the last change you made. It broke [describe what stopped working]. Please revert it.”
“I see this error: [paste the error]. I don't understand it. What went wrong and how do I fix it? Please explain in simple terms.”
“Stop. Let's go back to when [describe what was working] was working correctly. What changed since then? Walk me through it step by step.”
“Don't change anything else. Only fix [describe the specific problem]. Do not modify any other files or features.”
“Build me a personal homepage. Include my name at the top in large bold text, a short bio paragraph, a professional photo placeholder, and links to my X, LinkedIn, and GitHub. Use a clean, minimal design with lots of whitespace. Make it look modern and work on mobile.”
“Create a portfolio website with: 1) A hero section with my name and a one-line tagline. 2) A grid of 6 project cards, each with an image, title, short description, and a link. 3) An about section with a photo and bio. 4) A contact section with my email. Use a purple and white color scheme.”