AnyProject / Work / BugsHunter
Case study · SaaS · QA automation

BugsHunter: a website that writes itself

BugsHunter is an AI agent that runs QA for software teams. They needed a fast, SEO-ready website and a steady stream of expert articles. We built both: an Astro + Sanity site on Cloudflare and an AI content factory where Claude researches and reviews, Codex writes, and a human editor approves every page.

Astro Sanity CMS Cloudflare Workers Claude + Codex agents React landing
Visit bugshunter.ai →
bugshunter.ai
BugsHunter home page: 'The AI agent that runs your QA' on a bright blue background with a product demo below
1 moidea → live
30
days from first commit to a working factory
19
page-builder blocks editors compose pages from
5+1
AI critics and a Judge review every draft
0
broken internal links — the build refuses to ship them
01 · The challenge

Great product. No time to write about it.

BugsHunter's buyers — CTOs and QA leads — search for answers before they book a demo. The team knew content would bring them in, but a small marketing team can't research, write, fact-check and publish expert QA articles every week.

✕

What was in the way

  • Slow, manual content. Every article meant hours of keyword research, writing and edits.
  • Generic AI text. One model, one prompt, one draft — it reads like everyone else's blog.
  • A site that devs had to touch. Every new service page meant a code change.
  • SEO debt waiting to happen. Renamed pages, broken links, keyword cannibalisation.
✓

What they asked for

  • A fast product landing that matches the app and converts to demos and trials.
  • A blog and service pages marketers can build without a developer.
  • A repeatable content pipeline from a theme and a few keywords to a ranked article.
  • Humans in control. Nothing goes live without an editor's click.
02 · The solution

Content in Sanity. Design in code. Speed from Cloudflare.

Sanity stores every article, page and service as structured data. Astro turns it into static HTML. Cloudflare Workers host the site and run the glue: the publish hook, the contact form, the weekly SEO check and the AI pipeline itself.

Architecture: editor publishes in Sanity, the content-hook Worker triggers an Astro build, the site Worker serves static pages on Cloudflare; the content pipeline and SEO cron feed drafts back into Sanity. Write & approve Build & serve AI content pipeline Cloudflare Workflows research → brief → drafts → critics → Judge Sanity Studio articles · pages · services clusters · redirects editor approves ✓ Marketing team theme + seed keywords picks angle, approves brief and final draft draft + scorecard request · publish article request publish webhook content-hook Worker verifies signature → rebuild · Slack note Astro build static HTML · _redirects fails on broken links Site Worker serves the site worldwide /api/contact → CRM + Slack Visitors & Google seo-cron · weekly Search Console check
The whole system. Publishing in Sanity rebuilds the site in minutes; a weekly Search Console check flags posts that need a refresh and sends them back to the AI pipeline.
▦

19-block page builder

Hero, cards, pricing, FAQ, process steps, testimonials and more. One Sanity block = one Astro component. Change a block once and every page updates.

⛓

Links that never break

Internal links point at documents, not URLs, so renamed slugs follow automatically. Related articles come from topic clusters. The build fails on any dead link.

⚡

Static and fast

Pages are prebuilt HTML on Cloudflare's edge. SEO tags and JSON-LD come from one component, so every page ships with the same clean metadata.

03 · The content factory

From “a theme and three keywords” to a reviewed article.

Anyone at BugsHunter can start an article: fill a short form in Sanity, or type /new-article in Claude Code. The factory does the rest and stops at two gates where a person decides.

  1. 01

    Request

    Theme + seed keywords, audience, goal. An overlap check stops two pages competing for one keyword.

    Marketer
  2. 02

    Research

    Keyword expansion, People Also Ask, SERP gaps and 2–3 angles with working titles.

    Claude
  3. 03 · gate

    Angle & brief

    The marketer picks an angle and approves the brief — the contract the writer and critics work against.

    Human
  4. 04

    3 drafts

    Codex writes three variants with different angles, following the brand voice and template.

    Codex
  5. 05

    Style lint

    Vale checks banned phrases, terminology and sentence length. Zero errors is a hard rule.

    Vale
  6. 06

    Critic panel

    Five critics score every draft in parallel. The Judge picks or merges the best and lists fixes.

    5 criticsJudge
  7. 07

    Revise

    Codex applies the fixes; the panel re-scores. Up to two rounds, then a human rewrite if needed.

    CodexClaude
  8. 08 · gate

    Publish

    The editor sees the winner with its scorecard in Sanity, polishes and clicks Publish.

    Editor

Why two AI vendors, not one

A model tends to like its own writing. So the writer (OpenAI Codex) and the reviewers (Anthropic Claude) are different model families — the critique is genuinely independent.

  • SEO critic — intent, keywords, headings, meta, internal links.
  • Fact & E-E-A-T critic — no invented stats, accurate QA advice.
  • Style critic — brand voice, template, terminology.
  • Brand & conversion critic — ICP fit, value, CTA.
  • Reader critic — reads as a busy CTO: is it clear and useful?

Scorecard · draft v2

Judge
SEOweight 30%8.6
Fact / E-E-A-Tweight 25%8.2
Styleweight 15%9.0
Readerweight 15%8.4
Brand / CROweight 15%8.0
Pass bar: ≥ 8.0 · 0 Vale errors✓ to editor

Illustrative scorecard. The weights and the pass bar are the real ones.

04 · The result

Live site, live blog, every page from the same blocks.

The product landing is a React tree ported from the BugsHunter app, so the site and the product look like one brand. The blog and service pages come straight from Sanity.

bugshunter.ai/blog/…
Article page: hero title, key takeaways box and the first sections
Every article has the same structure: TL;DR, body, callout, FAQ, CTA, author and reviewer.
bugshunter.ai/sections
Gallery of page-builder blocks: hero, text, image + text and more
The block gallery — the 19 sections marketers build pages from, on light, blue or dark backgrounds.
05 · How we worked

Our own factory, building theirs.

AnyProject runs on AI agents in every department, led by senior specialists. On BugsHunter, the agents wrote the code and the team lead reviewed every change. The same rules file that guides our agents now lives in the BugsHunter repo, so the client's team can keep building the same way.

  • Week 1 — plan, Astro site, Sanity schemas, publish hook, CI.
  • Week 2 — style rules, Codex workspace, critic panel, draft import.
  • Week 3 — automated Workflows, contact form, redirects, SEO cron, page builder.
  • Week 4 — product landing port, blog redesign, stage and prod from Sanity, playbooks and training.

“Marketing gives us a theme and three keywords. A few days later there's a reviewed draft with a scorecard waiting in Sanity.”

— the workflow, in one sentence

Stack

AstroReact 19 TailwindSanity Cloudflare WorkersWorkflows ClaudeCodex ValeTypeScriptVitest Search Console APITurnstile

Handed over

  • Playbooks for the marketer, editor and developer
  • A Claude skill for content managers
  • Training plan and go-live checklist

Want a site that keeps publishing?

Send us your idea. We'll come back with the architecture, a fixed-scope estimate and a timeline in weeks, not quarters.