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
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"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
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 diff02Watch 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.
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.
01Claude Code
Add it as an MCP server once:
claude mcp add stillworks -- npx -y stillworks mcp02Cursor
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.
Questions
Is reviewing the diff enough?
Does this work with Codex, Windsurf or VS Code?
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.