Guides

How to catch what Cursor or Claude Code broke after a change

Updated November 25, 2026 · by Valmir, founder of Publishub

Short answer

To catch regressions from Cursor or Claude Code, commit before every prompt, read the full diff (not the agent's summary), and run your key user flows in a real browser after each change. Better yet, give the agent a tool that opens the app and reports failures, so it checks its own work before saying "done".

Before the prompt: make it easy to undo

  1. 01Commit before every prompt

    A clean git state is your checkpoint. If the change breaks something, you can see exactly what changed and roll back.

    git add -A && git commit -m "checkpoint before AI change"
  2. 02Keep tasks small

    One feature or fix per prompt. Big multi-file requests make unrelated edits more likely and harder to review.

After the change: review what actually happened

  1. 01Read the diff, not the summary

    The summary describes what the agent meant to do. The diff shows what it did. Look especially for files you didn't ask about.

    git diff --stat
    git diff
  2. 02Watch for changed tests

    If the agent edited an existing test to make it pass, stop and check why. The old test may have been right.

  3. 03Check both sides of every contract

    If an API field, route or prop was renamed, confirm every caller was updated too. TypeScript doesn't catch everything, especially across the client and server.

Make the agent check the running app

The most reliable fix is to test what users see. stillworks is a free, open-source MCP server: after a change, the agent opens your app in a real browser, gets a report of broken pages, JavaScript errors and failed requests, and fixes them before reporting back.

  1. 01Claude Code

    Add it as an MCP server once:

    claude mcp add stillworks -- npx -y stillworks mcp
  2. 02Cursor

    Add it to .cursor/mcp.json:

    { "mcpServers": { "stillworks": { "command": "npx", "args": ["-y", "stillworks", "mcp"] } } }

Free tool · No signup

Check your app now, in about a minute

Paste your app's URL. We open it in a real browser and show JavaScript crashes, failed requests and broken pages. Read-only: we never log in or submit forms.

Free · No signup · Read-only: we never log in, submit forms or change anything

Questions

Is reviewing the diff enough?
It catches a lot, but some breakages only appear at runtime: a request that now returns 500, a component that crashes with real data. Running the app is the only way to see those.
Does this work with Codex, Windsurf or VS Code?
Yes. Any MCP client can run stillworks with the command npx -y stillworks mcp.

Stop checking by hand after every AI change

Publishub is building the full version: your sign-up, login and checkout journeys, run in a real browser after every deploy and compared with the last version that worked. It's in development; the waitlist is open.