This site has a loading animation. A small box at dusk, with a flock of starlings flying across it before the homepage appears. Claude built it, I looked at it in the preview, and it worked.
Then I opened the site on my own screen. The box showed up, but nothing moved. When I refreshed, it skipped the animation and went straight to the homepage.
Claude had not done anything strange. The animation was timed by the clock: after a few seconds, it was done. But my browser was busy loading the page and did not draw any frames in the beginning. So by the time it started drawing, the clock said the animation was already over. The fix was to count only the time when frames were actually drawn. A small change, once we knew the cause.
That is how most problems go when you build with Claude. Finding the cause is the hard part, and fixing it is quick. Here is what I do when something breaks.
Save points first
Before anything else: save your work after every step that works. Ask Claude to commit to GitHub with a short message about what changed.
Then a broken site is never a disaster. If it worked an hour ago, you can go back to how it was an hour ago. Without save points, you are stuck with whatever Claude changed last, and sometimes that is twenty files.
Save points also make Claude better at fixing things. "It worked before the last commit" tells it exactly where to look.
Say exactly what you see
"It doesn't work" is the worst bug report. Claude will guess, and it guesses with a lot of confidence.
Instead, say:
- What you did ("I opened the homepage on my phone")
- What you expected ("the menu should open when I tap the icon")
- What happened instead ("nothing happens, and the page scrolls a little")
- Where ("Safari on iPhone, it works on my laptop")
If there is an error message, paste the whole thing. Not your summary of it, the actual text. If the problem is visual, send a screenshot.
Ask for the cause before the fix
This is the most useful sentence I know: "Don't change anything yet. Tell me what you think is causing this."
When you ask Claude to fix something, it tries something. If that doesn't work, it tries something else. After a few rounds, you have three half-fixes on top of each other and the original problem is still there.
When you ask for the cause first, you get an explanation you can check. Sometimes you can see right away that it is wrong, because you know something Claude doesn't. "No, it works on my laptop, so it's not the code for the menu."
Test where your visitors are
Claude checks its work in its own preview. That is useful, but it is not your phone, and it is not your visitor's old laptop.
The loading animation worked in the preview and failed on my screen. The bullets in my blog posts were missing, because a style rule removed them everywhere on the site. Nobody noticed until there was a post with a list in it.
So open the test address on your phone after every bigger change. Click the buttons. Fill out the form. Read the text.
When it goes in circles
Sometimes Claude keeps trying the same few things, and every fix breaks something else. Long conversations make this worse. At some point, Claude has so much in its head that it starts mixing up what it tried.
When that happens, stop. Go back to the last save point that worked. Then start a new session and describe the problem from scratch, with what you know now: what you tried, what didn't work, and what you think it is not.
A fresh start feels like losing progress. It almost never is.
Things Claude can't see
A lot of what breaks is not code. It is accounts, logins, settings and caches, and Claude only sees those through what you tell it.
When I moved this blog to Sanity, the import failed with "project user not found". The code was fine. It turned out I had two Sanity accounts with the same email: one I made with my email and password, and one through GitHub. The project belonged to the first, and the command line was logged in with the second. Logging out and in again with the right account fixed it.
Right after that, I published the posts and the site still showed the old version. Sanity serves content from a cache to make it fast, and the site was reading from that cache before it had caught up. We switched the build to read straight from the source.
So when the code looks right and it still doesn't work, check:
- Which account are you logged in with? In the terminal, in the browser, in the dashboard.
- Is it a cache? Try a hard refresh, a private window, or wait a few minutes.
- Does the live site have the same settings as your computer? Things like keys for a contact form have to be added in Cloudflare too, not just on your machine.
- Did the build fail? If your change doesn't show up online, open the build log in Cloudflare. The error is usually in the last lines. Paste it into Claude.
When to stop and get help
Most problems are solvable with patience. But some are worth handing over:
- You have spent a whole evening on the same problem. Your time is worth something too.
- It touches a live business. Your domain, your email, your old site's addresses in Google. A mistake there costs you customers, not just an evening.
- You don't understand what Claude wants to do. If it suggests deleting something or changing settings on your account and you are not sure why, ask someone before you click.
- It keeps coming back. If the same thing breaks every time you change something, the problem is probably in how the site is set up, not in the latest change.
An hour with someone who knows the tools often solves what took you a week. I help people with exactly this, by the hour, whether Claude built the site or you did. If you are stuck, send me a message with what you see and what you tried.
If you are just getting started, read where to start with Claude, Astro and Sanity first. And if you are not sure whether to do it yourself at all, I wrote about when it is worth hiring someone.
