DoltHub moves its docs off GitBook to three Astro sites with Claude Code, using a Cypress suite of the old site as the spec: multi-month project to 1-2 weeks
Taylor Bantle of DoltHub rebuilt the company's documentation with Claude Code, moving docs.dolthub.com, docs.doltlab.com and docs.doltgres.com off GitBook to three Astro sites served under /docs on each product's domain and sharing the @dolthub/react-components library. He writes that agents turned what would have been a multi-month project into a 1-2 week one. The scaffolding was run as a deliberately write-only experiment: hands off everything except the Markdown content. Before touching the new site, Claude wrote a Cypress suite against the live GitBook docs that pinned every page, every link and one h1 per page; the same suite was pointed at the new Astro docs and the migration was not called done until all three sites passed. Claude added a custom 404 page to all three sites, wired 301 redirects for old GitBook URLs, cleaned up ~130 stale docs.dolthub.com links across 47 files, taught the import script to convert GitBook embed blocks into iframes, and, when documenting join order hints, read go-mysql-server's source and fixed a table that listed working hints as unsupported. Where it struggled: it could not see the browser, so every visual bug needed a human first; it amended commits and wrote long PR descriptions; it hand-wrote anchor links and got them subtly wrong; and it copy-pasted patterns across the three sites instead of sharing them.
The numbers (as reported)
| Duration | 1-2 weeks, vs what would've been a multi-month project |
|---|---|
| Doc sites migrated | 3 (Dolt, DoltLab, Doltgres) |
| Stale docs.dolthub.com links cleaned up | ~130 across 47 files |
Facts
- Company / subject
- DoltHub
- Tools
- Claude Code
- Codebase
- brownfield
- Work type
- Migration
- Stack
- Astro, React, Cypress, Markdown, Cloudflare
- Published
- 2026-05-28
- Last checked
- 2026-11-25
What the source claims Practitioner (own blog/paper)
Claimed by the builder, writing about their own work. Not checked independently.
- Agents turned a multi-month docs migration into a 1-2 week one multi-month → 1-2 weeks
“Then agents turned what would’ve been a multi-month project into a 1-2 week one.”
- Claude cleaned up ~130 stale links across 47 files and wired 301 redirects for old GitBook URLs ~130 links across 47 files
“cleaning up ~130 stale docs.dolthub.com links across 47 files”
- Grounding docs in the source turned the migration into a correctness pass, fixing docs that had drifted from how dolt behaves
“What I’d scoped as a straight content migration turned into a correctness pass”
Caveats
First-person post by the DoltHub engineer who did the migration; DoltHub markets Dolt as "the database for agents" and says it looks for excuses to put coding agents through real work. The 1-2 week figure is set against an unquantified "multi-month" estimate. The code was treated as write-only by design: the author skimmed diffs but did not read the code to understand it, and says the test suite catches structural regressions, not whether the code underneath is any good. Design work needed many rounds of human feedback because Claude could not see the browser. No page counts, PR counts, cost or performance numbers are given.
More stories by tool: Claude Code
Related topics: MigrationsBrownfield codebases