How we built this website with Claude Code agents.
AI does the groundwork. People make the decisions. Nothing ships without your approval. This site is where we prove it. Agents wrote the drafts from written rules, code checked every page, and Thomas Oldenburger approved each version before it went out.
Counted from the repo, not estimated
Page, file and line counts are read from the repository each time the site is built. Link counts come from the check run on 3 December 2026.
How to build a website with Claude Code, the way we do it
Five parts, in this order. The agents only draft; the rules, the checks and the approval make the result shippable. It follows how we work for clients.
- 01
A decisions file
Name, voice, prices, services and what we never claim, written once. Claude Code agents read it before every task.
- 02
Written procedures
4 procedures say how to write each kind of page. Agents drafted one content module per page family, several in parallel, and checked their own pages in memory first.
- 03
A generator with no dependencies
build.mjs is 114 lines of plain Node.js with 0 dependencies. It reads 18 content modules and writes the HTML, the sitemap and llms.txt; every price comes from one data file.
- 04
A check script
scripts/check.mjs fails the build on broken links, invalid structured data, duplicate titles and 13 banned phrases.
- 05
Approval in a preview
Each version goes to clickroom as a preview link. Thomas Oldenburger comments on the page and approves it, or sends it back. Only then is it published.
The first version was not ours
Our first draft followed another studio's site too closely: its headlines, its process shape, its price points. Thomas stopped it. We answered a 376-question positioning review, wrote the answers down as binding decisions, and rebuilt every page from them.
Decisions, written once
Name, voice, prices, services and what we never claim live in one decisions file. Agents read it before every task.
Copy that cannot creep back
The check script now carries a list of 13 banned phrases. If one returns, the build fails.
A lesson, not a one-off fix
The mistake went into the lessons file with the rule and the check that now prevent it.
A rulebook agents read before every task
The same five parts we set up for clients. Knowledge and procedures are plain Markdown files in the repo: 9 in studio/knowledge, 4 in studio/skills.
Knowledge
Brand, tone, offer, prices and decisions as plain files. Agents read them before every task, so they work from the same facts we do.
studio/knowledge/Procedures
Repeatable jobs, such as writing a page, an audit or a QA pass, written down step by step.
studio/skills/Checks
Scripts that fail the build when a link breaks, a price is wrong, structured data is invalid or old copy creeps back in.
scripts/check.mjsPreviews
Every version goes to a review room (clickroom) where a person comments and approves before anything is called done.
clickroomLessons
Every mistake caught in review becomes a rule or a check, so it does not happen twice.
studio/learnings.mdWhat fails the build
scripts/check.mjs reads every generated page. On 3 December 2026 it checked 192 pages, 26,988 internal links and 190 JSON-LD blocks.
- Every internal link and asset resolves to a file
- Every block of structured data parses as valid JSON-LD
- The FAQ schema matches the questions shown on the page
- Exactly one H1 per page
- No duplicate titles or meta descriptions
- Every page has a canonical URL
- Every indexable page is in sitemap.xml and llms.txt
- No empty values or broken placeholders leak into the output
- None of the banned phrases appear anywhere
Exact work runs as code, never as a prompt. Agents are good at drafts; they are not trusted to count links.
Every version approved in clickroom
clickroom is the review tool we built. Each version of this site was pushed there as a preview with a note on what changed. Thomas commented on the page and approved it, or sent it back. Clients review our work for them in exactly the same way.
What review caught, and what changed
Each mistake became a rule or a check. From the lessons file:
| What went wrong | Fixed by |
|---|---|
| The first version mirrored another studio's site too closely. | A positioning review, a binding decisions file and a banned-phrases check. |
| Widgets built outside the page function got links relative to the wrong page. | The check script caught 2 broken links; the procedure now says where link code must run. |
| Agents reported vendor prices in the wrong currency and claims without a source they could open. | Vendor prices stay in their own currency with a date; unverified claims go to a person. |
| Root-relative links broke inside a preview under a sub-path. | All links are relative; the check script resolves each one on disk. |
Questions about this case
Can you build a website with Claude Code alone?
Did AI write this website?
Which tools did you use?
How do you keep an AI-built site from breaking?
Can you set this up for us?
Thomas OldenburgerFounder, design and build leadStill deciding? A 30-minute call answers most of it.