Hosting and deploys
Have a way back before you ship
A bad deploy goes out and you don’t know how to undo it.
- What you get
- A short rollback note for your host, including what to do about database changes.
- Paste it into
- Your AI tool, in your project
The prompt
Before I ship this change, write me a rollback plan I can follow under pressure. Find out how this project deploys and tell me exactly how to return to the previous version on this host, with the buttons or commands. Then look at what this change touches beyond code: database changes, environment variables, scheduled jobs, third-party settings. For each, say whether rolling back the code is enough or whether it needs its own undo. Flag anything that can't be undone, such as deleted columns or sent emails, and suggest how to ship that part more safely. Keep the plan under one page and save it as ROLLBACK.md.
Use it
Open your AI tool (Claude Code, Codex or Cursor) in your project folder and paste it in.
More in Hosting and deploys
A scheduled job doesn’t run on the live site
The daily task works when you trigger it by hand and never fires in production.
Stop a surprise hosting bill
A free plan turns into a big invoice after a traffic spike or a bot.
Works on your computer, fails when deployed
The build passes locally, then the host shows a red build error.
Deployed, but the page is blank or shows a 500
The deploy went green and the live site still doesn’t work.