Home › All prompts › Ship Updates Without Breaking the Live App: Preview Links, Checks and One-Click Rollback
Mini pack
Free
Ship Updates Without Breaking the Live App: Preview Links, Checks and One-Click Rollback
Your app is live and people use it, so every change is a little scary. These 9 free prompts help you see how a change gets from your editor to your live site, save a known-good version, try each update on a preview link, add a check that stops broken updates, and roll back in under a minute.
Stop sending every change straight to real users. Try each update on a preview link, let a check stop broken builds, and roll back in under a minute.
9 prompts in 4 sections. Replace everything in [BRACKETS IN CAPS], then copy and paste into your AI tool.
Claude Code, Cursor's Agent, Codex, Lovable, Bolt or v0: all 9 prompts are pasted into a coding tool opened in your project or into an app builder's chat. Prompts 1.1, 1.2, 2.2, 3.2, 4.1 and 4.2 only read and report; 2.1, 3.1 and 4.3 show the plan and wait for your OK, and never change host or GitHub settings themselves. Rollback, publish and settings clicks are done by hand.
Any host: the prompts aren't tied to one host and ask the AI to follow the host's current official docs. Vercel (preview deployments from non-production branches, pull requests and vercel without --prod; branch and commit preview URLs; Deployment Checks with GitHub Actions or native Lint and Typecheck, and Force Promote; Instant Rollback from the Production Deployment tile, eligible deployments, old build's environment variables, auto-assignment turned off after a rollback, undo with Manage or vercel promote) was checked against Vercel's Environments, Deployment Checks, Instant Rollback and Promoting Deployments docs; Netlify (Deploy Previews for pull requests, deploy permalinks, Netlify Drawer, Publish Deploy rollbacks, Lock and Unlock auto publishing, automatic deploy deletion) against Netlify's Deploy Previews and Manage deploys docs; Lovable (live site stays on the published version, Publish changes, Quick scan, Fix build errors, version history Revert, Bookmark and Published badge, revert restores code only and redeploys edge functions) against Lovable's Publish and Version history docs; Bolt (Update in the Publish menu, Version history, Restore this version, rename and bookmark, restore doesn't change Bolt or Supabase databases) against Bolt's Publish and Backups, restore and version history pages; Replit (Republish, Preview vs live app, Deployment ID and Git commit in deploy logs, checkpoint rollbacks don't change production data) against Replit's Publishing, After you publish and Data recovery docs.
Database: the pack says what a rollback can't undo and points to the Don't Let the AI Delete Your Data pack (4.1, 4.2) instead of repeating it. Branch protection points to Let AI Review Your AI's Code 4.2; first deploys point to Ship It Live.
No stats, prices or X claims: the pack quotes no plan costs, limits, numbers or posts (where rollback range depends on plan, it says to check the docs), and has no affiliate or sponsor copy.
Written for use with Claude Code, Cursor's Agent, Codex, Lovable, Bolt or v0. Not yet tested against them.
Use this when you're not sure what actually happens after you save, push or publish a change. It's for a plain-English map of how your updates reach real users, and where the safety steps are missing.
Fill in: [MY HOST OR APP BUILDER] (e.g. "Vercel", "Netlify", "Lovable", "Bolt hosting", "Replit", or "not sure"), [HOW I SHIP A CHANGE TODAY] (e.g. "I ask the AI, it pushes to main, and the site updates", or "I click Publish in Lovable").
Don't change any code. Explain how changes to my app reach my live site, in plain words.
My host or app builder: [MY HOST OR APP BUILDER]
How I ship a change today: [HOW I SHIP A CHANGE TODAY]
Please:
1. Look at my project (config files, a .github/workflows folder, package.json scripts, any host settings files) and tell me which host it's set up for. If you can't tell, say so.
2. Draw my path from "I make a change" to "real users see it" as a short numbered list. Name the branch or button that makes a change go live.
3. Tell me whether I get a preview link for a change before it goes live, and how.
4. Tell me whether anything checks my change automatically (a build, tests, lint) before it goes live, and what happens if that check fails.
5. Tell me how I would put the previous version back on this host, in one or two sentences.
6. List the gaps: the places where a broken change could reach real users with nothing stopping it.
Use my host's current official docs for every host step, and tell me which page you used. If you're not sure how something works on my host, tell me to check the docs instead of guessing.
Tips to customize: If you use an app builder like Lovable or Bolt, you may have no branches or config files at all. That's fine: ask the AI to describe the steps in the builder instead. On Vercel, the docs say each preview gets a link that always shows the latest changes on that branch, plus a link for each exact commit. Save the map in a file like SHIPPING.md, because Prompts 2.1, 3.1 and 4.1 build on it.
1.2 Save a Known-Good Version Before You Change Anything
Untested: not yet run against a model.
Use this when your live app works right now and you're about to make a change, especially a big one. It's for writing down exactly which version is live and working, so you can find it in seconds if the next update goes wrong.
Fill in: [MY HOST OR APP BUILDER], [THE CHANGE I'M ABOUT TO MAKE] (e.g. "redesign the dashboard", "switch to a new payment flow").
Don't change any code. Before I make a change, help me save a record of the version that's live and working right now.
My host or app builder: [MY HOST OR APP BUILDER]
The change I'm about to make: [THE CHANGE I'M ABOUT TO MAKE]
Please:
1. Tell me exactly where to find the version that's live right now on my host (for example, the current production deployment, the published deploy, or the version marked as published), and what to copy from it: a deploy link, a deploy ID, a version name, or a Git commit.
2. If this project uses Git, show me the current commit and suggest a tag name like "known-good-2026-11-13". Don't create the tag until I say yes.
3. If my app builder lets me bookmark or rename a version, tell me where that button is.
4. Write a short entry I can paste into a file called SHIPPING.md: today's date, what's live, where to find it, and the one-line rollback step for my host.
5. Warn me about anything this record won't protect, like my database data, environment variables, or old deploys my host deletes after a while.
Follow my host's current official docs, and tell me which page you used.
Tips to customize: Lovable's docs say its version history marks the live version with a Published badge, and you can bookmark versions. Bolt's docs say you can rename and bookmark versions in Version history (the clock icon). Netlify's docs say every deploy has a permalink whose contents never change, though old deploys are deleted after a while, except the published one and the most recent successful ones. Replit's docs say your deploy logs show a Deployment ID and Git commit, and that keeping track of healthy versions to roll back to is up to you.
Section 2: Try It on a Preview First
2.1 Get a Preview Link for Every Change
Untested: not yet run against a model.
Use this when every change you make goes straight to real users. It's for setting up a private preview link where you can try each change before it goes live.
Fill in: [MY HOST OR APP BUILDER], [WHERE MY CODE LIVES] (e.g. "a GitHub repo connected to Vercel", "only inside Lovable", or "not sure").
Help me set up a preview step, so I can try every change at a private link before it reaches my live site. Explain each step in plain words. Don't change any host settings yourself. Give me the steps and I'll click them.
My host or app builder: [MY HOST OR APP BUILDER]
Where my code lives: [WHERE MY CODE LIVES]
Please:
1. Tell me how my host makes previews. For example, a preview for each branch or pull request, or a preview inside the app builder before I publish.
2. If previews come from branches or pull requests, give me a simple routine: make a branch for each change, push it, open the preview link, and merge only when it looks right. Show me the exact Git commands, and don't run them without my OK.
3. Tell me where the preview link appears (for example, a comment on my pull request, or the host's dashboard).
4. Check whether my preview uses different settings from my live site (environment variables, database, payment keys). Tell me which ones, and warn me if my preview would touch real user data or real payments.
5. Tell me who can open my preview links, and how to keep them private if my host offers that.
Follow my host's current official docs, and tell me which page you used.
Tips to customize: Vercel's docs say it makes a preview when you push to a branch that isn't your production branch, open a pull request, or deploy with the CLI without --prod. Netlify's docs say it builds a Deploy Preview for each pull request, at a link like deploy-preview-42--yoursite.netlify.app. In Lovable, Bolt and Replit, the preview inside the editor is your test copy, and the live app only changes when you publish. For preview vs production environment variables, see Prompt 1.2 in our free Ship It Live pack.
2.2 A 10-Minute Click-Through Test on the Preview
Untested: not yet run against a model.
Use this when you have a preview link and don't know what to check before it goes live. It's for a short test list made from what actually changed, plus the old features most likely to break.
Fill in: [MY PREVIEW LINK], [WHAT I CHANGED] (e.g. "added a dark mode toggle and changed the settings page"), [THE MAIN THINGS USERS DO] (e.g. "sign up, create a list, share it, sign out").
Don't change any code. Write me a short test I can click through on my preview link before this change goes live.
My preview link: [MY PREVIEW LINK]
What I changed: [WHAT I CHANGED]
The main things users do: [THE MAIN THINGS USERS DO]
Please:
1. Look at what actually changed in the code (the recent commits or the changed files) and tell me if it's more than I described.
2. Write a test of 10 steps or fewer that I can finish in about 10 minutes. Cover the change itself first, then the main things users do.
3. Add 2 or 3 checks for old features that share code with this change and could break without me noticing.
4. Tell me to test on my phone and in a private window, and which steps matter most there.
5. Mark any step that would create real data, send real emails or charge real money if my preview is connected to live services. Tell me to skip it or use a test account.
6. End with a simple rule: if any step fails, don't go live, and tell me what to send you about the failure.
Tips to customize: Keep the test in a file like PREVIEW-TEST.md and reuse it for every update, adding one line each time something breaks. Netlify's docs say you can leave comments and screenshots on a Deploy Preview with the Netlify Drawer, which is handy if a friend tests for you. Want a full launch checklist instead? See Prompt 6.3 in the free Starter Pack.
Section 3: Check Before It Goes Live
3.1 One Automatic Check That Stops a Broken Update
Untested: not yet run against a model.
Use this when you want a broken build or failing test to stop an update from going live, without you having to remember. It's for adding one simple check, explained step by step.
Fill in: [MY HOST OR APP BUILDER], [WHERE MY CODE LIVES] (e.g. "GitHub"), [TESTS I HAVE] (e.g. "a few tests", "none", or "not sure").
Help me add one simple automatic check that stops a broken update from going live. Explain each step in plain words. Show me any file before you save it, and don't change any host or GitHub settings yourself. Give me the steps and I'll click them.
My host or app builder: [MY HOST OR APP BUILDER]
Where my code lives: [WHERE MY CODE LIVES]
Tests I have: [TESTS I HAVE]
Please:
1. Look at my package.json (or equivalent) and tell me which scripts already exist for building, testing, linting and type checking. Run the build and tests once and tell me if they pass today. If they don't, stop and tell me, because a check that always fails is useless.
2. Suggest the smallest useful check: install, build, and run the tests (or just build, if I have no tests yet).
3. If my code is on GitHub, write a GitHub Actions workflow file in .github/workflows that runs this check on every pull request and every push to my main branch. Explain each line in plain words.
4. Tell me how to make my host wait for that check before an update goes live, if my host offers that, and where the setting is. If it doesn't, tell me how to make the check required before merging instead.
5. Tell me what I'll see when the check fails, and what to do next.
Follow my host's and GitHub's current official docs, and tell me which page you used.
Tips to customize: Vercel's docs describe Deployment Checks: Vercel holds each production deployment until the required checks pass, and those checks can be GitHub Actions results or Vercel's own Lint and Typecheck checks, which run the matching scripts in your package.json. The docs also say you can skip them with Force Promote, so treat that as an emergency button. Lovable's docs say its publish dialog runs a Quick scan (database access rules, dependencies, connectors) and shows Fix build errors if your latest changes don't build. To make checks required before merging on GitHub, see Prompt 4.2 in our free Let AI Review Your AI's Code pack.
3.2 The Pre-Ship Report Before I Press Publish
Untested: not yet run against a model.
Fill in: [WHAT THIS UPDATE IS FOR] (e.g. "fix the broken password reset"), [HOW I'LL SHIP IT] (e.g. "merge my branch into main", "click Publish changes in Lovable").
Don't change any code. Before I ship this update, give me a short pre-ship report and a go or no-go.
What this update is for: [WHAT THIS UPDATE IS FOR]
How I'll ship it: [HOW I'LL SHIP IT]
Please check and report on each of these in one or two lines:
1. Build: run the build and tell me if it passes.
2. Tests and lint: run them if they exist, and tell me what passed and failed.
3. Changes: list every file that changed since the live version, and point out anything that isn't related to what this update is for.
4. Settings: any new or renamed environment variables or secrets that the live site needs before this goes out.
5. Database: any change to tables, columns or data. If there is one, say so in capitals at the top of the report.
6. Risky spots: login, payments, emails, or anything that deletes data.
7. Rollback: confirm I know which version to go back to (from my SHIPPING.md, if I have one).
Finish with GO or NO-GO and the one reason that matters most. If you couldn't run something, say so instead of guessing it passed.
Tips to customize: If the report says there's a database change, stop and use our free Don't Let the AI Delete Your Data pack first, because a rollback won't undo it (see Prompt 4.2). In an app builder without a terminal, ask it to check what it can and list what you should check by hand. For a fuller review of the code itself, see our free Let AI Review Your AI's Code pack.
Section 4: Undo a Bad Update Fast
4.1 My One-Minute Rollback Plan
Untested: not yet run against a model.
Use this when you want to know exactly how to undo a bad update on your host, before anything goes wrong. It's for a short, step-by-step plan you can follow calmly while users are waiting.
Fill in: [MY HOST OR APP BUILDER], [WHO CAN ROLL BACK] (e.g. "just me", or "me and a friend with access").
Don't change any code or settings. Write me a one-minute rollback plan for my host, so I can undo a bad update fast.
My host or app builder: [MY HOST OR APP BUILDER]
Who can roll back: [WHO CAN ROLL BACK]
Please:
1. Give me the exact steps to put the previous working version back live on my host: where to click, what to choose, and what to confirm. Number them.
2. Tell me which earlier versions I can go back to on my host, and tell me to check the docs if that depends on my plan.
3. Tell me whether the rollback is instant, or whether it rebuilds or republishes.
4. Tell me what happens to my next update after I roll back. For example, whether new pushes still go live automatically, or whether I need to turn that back on.
5. Give me a 3-step check to run right after rolling back, to confirm the live site really is the old version and works.
6. Tell me what access each person who can roll back needs on my host, so nobody is stuck waiting during an emergency.
7. Write it all as a short card I can paste into my SHIPPING.md.
Follow my host's current official docs, and tell me which page you used. If you're not sure about a step, tell me to check the docs instead of guessing.
Tips to customize: From each host's docs:
Vercel: click Instant Rollback on the Production Deployment tile and pick a deployment that has been live before (most previews can't be picked). It's instant because nothing rebuilds. Depending on your plan, you may only be able to go back one deployment.
Netlify: open an older successful deploy and click Publish Deploy. It's instant, but if auto publishing is on, your next Git production deploy replaces it, so you can Lock auto publishing first.
Lovable: open version history, click Revert on a working version, then publish again.
Bolt: open Version history (the clock icon), click Restore this version, then click Update in the Publish menu.
Replit: roll back to a working checkpoint, then publish again.
Practice once on a quiet day, so the first time isn't during an emergency.
4.2 What a Rollback Can't Undo
Untested: not yet run against a model.
Use this when you've rolled back, or are about to, and want to know what's still changed. It's for spotting the things a code rollback leaves behind, like database data and settings, and fixing them safely.
Fill in: [MY HOST OR APP BUILDER], [WHAT THE BAD UPDATE CHANGED] (e.g. "added a 'plan' column and changed how orders are saved"), [WHAT LOOKS WRONG NOW] (e.g. "old version shows errors on the orders page", or "nothing yet").
Don't change any code or data. I rolled back (or I'm about to), and I need to know what the rollback didn't undo.
My host or app builder: [MY HOST OR APP BUILDER]
What the bad update changed: [WHAT THE BAD UPDATE CHANGED]
What looks wrong now: [WHAT LOOKS WRONG NOW]
Please:
1. Explain in plain words what a rollback on my host brings back (my app's code and build) and what it leaves as it is.
2. Database: did the bad update change tables, columns or data? Will the old version still work with the database as it is now? Tell me what to check.
3. Settings: did I change environment variables, secrets or host settings since the old version was built? Tell me whether the old version uses the old or new values on my host.
4. Outside services: list anything the bad update changed outside my app (payments, email, webhooks, scheduled jobs, AI providers) that the rollback won't touch.
5. For each problem you find, suggest the safest next step, and mark anything that changes real data as "needs my OK first".
Follow my host's current official docs, and tell me which page you used.
Tips to customize: The docs agree: Lovable says reverting restores code only, not database data, and also redeploys your edge functions to match. Bolt says restoring a version won't change your Bolt or Supabase databases. Replit says rolling back code doesn't change production data. Vercel says an Instant Rollback keeps the old build's environment variables, and it shows a reminder about external APIs, databases and CMSes before you confirm. To get data back, see Prompts 4.1 and 4.2 in our free Don't Let the AI Delete Your Data pack.
4.3 After the Rollback: Get Back to Normal
Untested: not yet run against a model.
Use this when you've rolled back, things are calm, and you're ready to ship a fixed version. It's for turning automatic updates back on the right way and making sure the fix goes through a preview and your checks first.
Fill in: [MY HOST OR APP BUILDER], [WHAT WENT WRONG] (e.g. "the new checkout page crashed for logged-out users"), [THE VERSION THAT'S LIVE NOW] (from your SHIPPING.md, or "not sure").
I rolled back a bad update and the old version is live. Help me get back to normal and ship a fixed version safely. Explain each step in plain words, and don't change host settings yourself. Give me the steps and I'll click them.
My host or app builder: [MY HOST OR APP BUILDER]
What went wrong: [WHAT WENT WRONG]
The version that's live now: [THE VERSION THAT'S LIVE NOW]
Please:
1. Tell me whether my host paused automatic updates when I rolled back (or whether I locked them), and exactly how to turn them back on when I'm ready. Warn me if turning them back on would put the broken version live again.
2. Make a plan to fix the problem on a new branch or as a new change, without touching the live version. Show me the plan before changing any code.
3. Add a test or a written check for this exact problem, so it can't sneak back in.
4. Remind me to run my preview test (Prompt 2.2) and pre-ship report (Prompt 3.2) on the fix before it goes live.
5. Write a 3-line note for my SHIPPING.md: what broke, how I rolled back, and what we'll do differently next time.
Follow my host's current official docs, and tell me which page you used.
Tips to customize: Vercel's docs say that after a rollback, new pushes to your production branch don't go live until you undo the rollback by clicking Manage on the production deployment tile and promoting a deployment, or with vercel promote. Netlify's docs say to Unlock to turn auto publishing back on, and with it on, the next Git production deploy replaces your rollback. In Lovable, Bolt and Replit, nothing goes live until you publish again, so publish only once the fix is tested. Still hunting for the cause? Our free It Broke in Production pack covers logs and safe live fixes (Prompt 3.3).
Get new free packs in your inbox
Optional. Every prompt here is free, and you don't need to sign up to use any of them. We email when we add new free packs. Unsubscribe anytime.
Thanks, you're on the list. Watch your inbox for the next prompt drop.