// Blog / Write-up
How I rebuilt sunkworks.io in a day with Claude Code
From an empty repo at 07:36 to Netlify building it from GitHub by itself at 15:52, with me mostly saying "Ready" and "approved". What got built, the numbers, and what broke.
- Published
- Last edited
- Kind
- Write-up
The old sunkworks.io was a Lovable app, and it looked fine, but it was a JavaScript app pretending to be a website. Search engines and link previews could barely see it, and every change needed me to log in and press Publish, which for a blog is a death sentence because I’m simply not going to do that every week.
So I rebuilt it, or more accurately Claude Code rebuilt it and I mostly said “Ready” and “approved” at the right moments.
TL;DR
From an empty repo at 07:36 to Netlify building it from GitHub by itself at 15:52 the same day. Two pieces of work, each one Ready to merged in under 40 minutes. My part was a go-ahead and an approval on each, two changes to how the home page should look, answers to a few questions (which pages at launch, where the domain is registered), one Netlify sign-up and an OK to a handful of Netlify settings.
What got built
A plain static site from Markdown, using Astro, that looks exactly like the old one. Code took the colours, fonts and the grid background straight from the live site’s stylesheet, and there’s a check that fails if they ever drift. Writing a post is now writing a file, which is the whole point.
The first piece of work was the foundations: 23 pages, zero JavaScript sent to your browser, feeds, a sitemap, the robots.txt and structured data that AI assistants look for, and a publishing gate so drafts never appear anywhere. The proof script for it runs 974 checks, and then breaks the site on purpose 12 different ways to show the checks actually catch things.
The second was hosting. Netlify builds the site from GitHub by itself, every branch gets its own preview link, and pushing to main makes it live. There are no deploy keys anywhere, and Netlify can see this one repo and nothing else.
The numbers
- 07:36: repo created. 07:54: the design doc moved in.
- 14:48: first brief Ready. 15:26: merged.
- 15:46: second brief Ready. 15:52: Netlify’s first build, 19 seconds. 16:23: merged.
- A push to a branch has its preview up in 11 to 47 seconds.
- 36 commits by the time the third brief went Ready at 16:41.
What broke
Honestly, most of what broke was caught by the reviewers before I ever saw it, which is the bit I’d point anyone at.
Three independent reviewer agents go over every piece of work. On the foundations they found that one tag made of just an emoji would crash the entire build, that a post title containing </script> would break the structured data, and, the one I liked most, that Astro quietly copies every screenshot from a hidden Lab entry into the built site anyway. So a project I hadn’t made public would still have its screenshots online at a guessable address. That’s fixed, and there’s a check for it.
The best one came later, on the third brief. The script that breaks the site on purpose 12 ways had been passing for the wrong reason since the second brief. Its throwaway copies of the site had no git history, a small file I’d added for hosting asked git which commit it was built from, and every copy crashed before any check ran. Twelve “caught it”s, none of them real. A reviewer reproduced it with no break applied at all. Each case now has to fail with its own expected message, or it counts as a miss.
Then Netlify had its own ideas. A brand new project defaulted to private, behind a Netlify login, so the “live” site returned a login page to everyone. Then I found Netlify injecting its own script into every live page (the “Powered by Netlify” badge), which broke the one rule I’d set of no JavaScript. That’s off now. It also adds an invisible “hosted on Netlify” comment you can’t turn off on the free plan, which I’ve decided I can live with.
The last one was sneakier. When you delete a branch, Netlify keeps that branch’s preview online, so a draft you thought you’d binned is still sitting there for anyone who guesses the name. Drafts get private previews now.
What I’d do differently
Coming soon, once the site has been live for a while.
Would you have trusted the reviewers to catch the screenshot leak, or would you have wanted to check it yourself?