Home / Work / QA-ing an Agency Rebuild With AI, Then Running It

QA-ing an Agency Rebuild With AI, Then Running It

Internal Tooling · 2026

An agency rebuilt brand.com. I built the AI layer around it: measured design QA, a security audit, a 48,025-row content pipeline, then cost pages, gated Top 10 pages and acceptance retests after launch.

  • 48,025CMS rows
  • 25Cost pages live
  • 500Top 10 pages live
  • 95.3%Province coverage
  • Playwright
  • Design QA
  • Security Audit
  • Node.js
  • Content Pipeline
  • JSON-LD
  • Laravel
  • Agentic Automation
  • SEO
QA-ing an Agency Rebuild With AI, Then Running It

The setup

brand.com, the consumer site of a Dutch home-services comparison platform, runs on a customized Laravel 12 classifieds codebase and was being rebuilt by an external development agency. I wasn't writing the site code, and had no local PHP toolchain. What I did own was whether what they delivered was correct.

So the question became: what can an AI layer do around someone else's delivery? The first four workstreams answered it before launch. The redesigned site went live on 31 August, and after that the layer kept running: content went to production, and acceptance testing became a skill I run on every round I trigger.

1. Codebase onboarding and security review

Documented the unfamiliar codebase into an onboarding doc for Claude Code, then ran a security audit with parallel subagents, each hunting a specific class (authorization, authentication, IDOR), and triaged the findings for the agency's team.

Also QA'd a design ticket end to end with Playwright, delivering an HTML test report with screenshots. Zero lines of application code touched.

2. The redesign QA harness: measured, not opinionated

This is the piece that changed the working relationship with the agency.

Design review is normally a person squinting at a staging site and writing subjective feedback, which the agency can argue with. So I turned it into a measurement instrument:

  1. Read the Figma design exports and design-token CSS for expected values
  2. Drive the staging site with Playwright at desktop (1440×900) and mobile (430×932)
  3. Measure actual values via getComputedStyle
  4. Diff design against build

Findings are stored with stable check IDs, so a re-run produces a fixed / still-open / regressed delta rather than a fresh set of opinions. Every finding ships with the CSS fix attached.

Why it had to work this way: without a real browser, an LLM guesses from stylesheets and gets it wrong confidently. Measured numbers hold up in a dispute with an agency; adjectives don't.

Three-plus delivery rounds were QA'd this way, and the method plus the prompt were documented so the agency could run it themselves. For design QA the goal was a regression suite they own, not a dependency on me. The agency later started running Claude Code in their own environment to pre-process design feedback.

3. The price guide content pipeline

Launch needed price-guide content. I first researched and audited Dutch market prices for 25 service categories against the delivered design, then built a zero-dependency Node pipeline generating bilingual (NL/EN) price guides across 4 price regions.

Scaled out: 48,025 city × category CMS rows, roughly 1,921 Dutch cities × 25 categories and about 119 MB of CSV, each with copy, price cards, FAQs, provenance, SERP previews and JSON-LD.

Architecture: hand-edited sources plus cited corrections, then generated verticals, then dist, with machine-checkable gates between every stage. Nothing exports unless every gate passes. Generated directories carry markers and are never hand-edited.

4. Generalizing it

The price-guide method got extracted into a reusable playbook, then used to generate four more content blocks in a single day: 74 verified quality marks, SEO content, how-it-works steps, and 150 unique bilingual FAQs, each with schemas, validation gates and handoff docs.

On the way to launch

Between the content work and go-live, the same layer handled the rest of the run-up:

  • Company profile import. Worked out the import spec for a large dataset of Dutch company profiles with the agency: which key to upsert on, which companies must never enter a marketing flow, and a reconciliation of the export against the source database. The agency also delivered a reusable admin import screen, so future batches don't need a bespoke script.
  • Second design QA sweep. A human review round of the redesign was turned into tracked tickets with environment, repro steps and expected-vs-actual, ranked by business impact instead of review order.
  • Pre-launch technical SEO audit. Checked the acceptance templates for indexability. Server-side rendering and links in raw HTML were fine, but the review caught that the robots meta was correct on acceptance for the wrong reason: it was not provably driven by environment, and shipping it unchanged would have kept the relaunched site out of Google. Findings were split into go-live blockers and post-launch fast-follows.
  • Go-live on 31 August. The redesigned site shipped with every go-live blocker fixed, including the robots meta now serving index,follow. The structured-data fast-follows (breadcrumbs, FAQ, local business with ratings) were re-tested against Google's Rich Results Test and the Schema Markup Validator and confirmed live. Individual review markup was split off into its own story instead of being faked before the site holds real review content.

After launch: from rebuild QA to a running layer

Cost pages live

The August price-guide work reached production on 6 October as a cost-guide module in the CMS: 25 cost pages with 101 price rows. One bug class from the pipeline came back here: the "een" article in front of plural nouns, the same grammar problem the generator had already solved once.

Top 10 pages, published in gated batches

A Node generator turns partner and request data from the BI team plus per-category copy into the agency's import format: one page per category and city, listing up to ten companies. That adds up to 48,000 unique pages. Instead of publishing them all at once, an SEO partner picked a first batch of 500 by keyword volume.

Before it shipped, the copy was built twice: once plain, once rewritten with the playbook's rules for natural-sounding Dutch. The rewritten set went live around 13 October.

Indexation of that first batch was 65% on 19 October and 64% on 10 November. On that basis the remaining pages are planned as four more batches, each allowed to start only when the previous one is indexed far enough: 60% for batch 2, 50% for the later generic batches. A scheduled Claude task reads Search Console in the browser every Monday (there is no connector for it), logs the figure per batch and moves the next batch a week when the gate is not met. Batch 2 is planned for 17 November, if the gate is met.

The content playbook and plugins

I turned the August playbook into the company's content playbook: a four-layer rule set (one company-wide SEO/GEO standard, site and brand context, one file for each of the 25 categories plus cost reference data, and page types), a Claude skill that writes and checks content for brand.com, and a standard-library Python lint script. The skill pulls the latest rules on every use, so nobody writes against an old version.

Two rules were added after launch: no em dashes in content (7 October, with a lint check), and a reference for spotting and rewriting machine-sounding Dutch (12 October, adapted from an MIT-licensed open-source humanizer and Wikipedia's "Signs of AI writing").

On 9 November it was packaged with a landing-page skill and a ticket-writing skill as a company content plugin, which Marketing uses to write pages. A second plugin for images (one photo prompt, or a whole image set in one style) followed on 12 November. The first landing pages made with the plugin are approved for build in the existing CMS, not live yet.

Acceptance testing and the review lane

The design QA harness was built for the agency to own. Acceptance retests now run through my own skill.

A Claude Code skill tests a ticket or a set of pages on the acceptance environment with a local workflow: explore, smoke test, bug hunt until a round finds nothing new, UI/UX review, then an independent verify step that reproduces each finding before it can become a ticket. Layout checks run in Chromium and WebKit at 320, 360 and 390px. It ends with ticket drafts I approve. Hard rules: acceptance only, never submit a form, UX opinions stay internal, nothing reaches the ticket tracker without my OK.

On 21 October one run covered the 14 Top 10 services nobody had tested yet. From 26 October the skill splits work by ticket type: a bug gets a retest of its own reproduction steps plus the same symptom on sibling pages, in minutes; only a story gets the full workflow. On 2 November the "In Review" lane got its own procedure: list the lane, retest one check at a time, write one report, present verdicts with comment drafts, post only what I approve. Retests run when I trigger them.

I also designed a fully automatic version: the agency moves a ticket to In Review, a webhook starts a Claude task, low-risk tickets that pass every check go straight to production-ready, and everything else lands in my Slack DM. Against the real retest record, fewer than half of the tickets would have qualified for auto-approval, and the setup needed access tokens in the tracker, a shadow-mode period and giving up the human check on comments the agency sees. It was designed and deliberately not built. The design stays on file.

What shipped

  • Security findings list and codebase onboarding doc for the agency; Playwright-based ticket QA report
  • 4+ re-runnable design-QA HTML reports with machine-readable regression tracking, plus a method the agency can reproduce
  • Price guide dist: 25 national baselines, 100 regional payloads, 50 finished sign-off guide pages (NL+EN), and a 48,025-row per-city CMS import at 95.3% province coverage. Statutory prices kept exact and never regionally adjusted.
  • Four further launch-ready content blocks, built in one day from the playbook
  • Redesigned site live on 31 August, with every go-live blocker from the QA sweeps and the SEO audit fixed
  • 25 cost pages live on 6 October
  • 500 Top 10 pages live around 13 October, 64% indexed four weeks later; 48,000 pages in total, planned in five gated batches
  • Content playbook and company plugins (9 and 12 November): 25 category files, a lint script and three skills, used by Marketing
  • Acceptance-test skill with a review-lane procedure for retests I trigger

What we learned

Assert that a transform actually changed something. A non-breaking-space-vs-space bug made a regex silently never match. Every region's output was identical, and every gate passed. Gates have to catch the vacuous pass, not just the failure.

Scope your guards tightly. A statutory-value protection matched by substring and froze an unrelated price range. Match whole values, scoped to the rows that declare them.

Treat grammar as data. Templates produced "Een zonnepanelen kost…" for plural nouns in 5 of 25 verticals. The fix was deriving grammatical form from the source copy itself instead of assuming a form. The same class of bug came back on the live cost pages in October.

Risk-class your claims. Ordinary claims need source plus date citations. Statutory facts are exact single values with a review cadence. Third-party claims like quality marks carry more legal risk than either: cite the scheme's own rules, and never assert which providers hold a mark.

Measured QA beats opinion QA. Stable check IDs, browser-measured values and an attached fix turned design review from subjective feedback into a regression suite the agency accepted.

Enforce the generated-vs-source contract. Edits to generated files are silently discarded. Markers and a project skill were both needed before that stuck.

Size your filters before you size the import. On the first real run of the company import, the city-match filter alone dropped a large share of the dataset. Nobody had sized it ahead of time.

The logo backfill did not scale. The agency's logo backfill did not scale to four more countries, so the follow-up for the remaining imported accounts was closed instead of repeated.

A near-final build still needs an indexability check, not just a visual one. The robots meta was right on acceptance for the wrong reason.

Triage by business impact, then chase the top. In one review round the finding that mattered was a quote-request flow that silently put requests in the wrong service category. The cosmetic fixes from the same round shipped first; the flow bug took until 14 October. Correct triage still needs someone to act on the top of the list.

Publish in gated batches and let indexation decide the pace. 500 pages first, then a rule checked weekly, instead of 48,000 AI-assisted pages in one go. The first batch levelled off at 64%, which is a number to plan around rather than a guess.

Match test depth to ticket type. On 26 October I launched three full bug-hunt workflows in parallel for three bug tickets. After more than two hours none had finished, while the verdicts themselves were in within 30 minutes. Bugs now get a minutes-long retest of their own steps; only stories get the full workflow, one at a time.

Run checks one at a time against a small acceptance server. Parallel checks timed out the environment on 2 November; sequential reruns were clean.

A regression set catches what ticket criteria don't. A cost-table fix passed its own criteria and still made tables too wide at 320 and 360px. Only the standard regression set caught it.

Automate a lane only when the numbers say so. The autopilot design was sound, but too few tickets would have qualified to justify the tokens, the shadow period and losing the human check. Keeping it manual was the cheaper call.

Content rules only stick when non-developers can run them. The playbook became a company plugin, so the rules travel with the people writing pages instead of with me.

How it was done

Solo, with Claude Code as the workhorse: subagent fan-outs for audits and research, Playwright MCP for real-browser measurement, a Stop hook as an autonomous "keep working until all 25 guides are done" loop, local workflows for acceptance tests, a scheduled Claude task for the weekly indexation check, and self-authored playbooks, skills and plugins so every stage was reproducible by a fresh session, by the agency or by Marketing, without me. Every ticket comment and transition toward the agency stayed a draft until I approved it.

Work with me

I speak, I consult, and I teach teams to ship with AI.

Send a request Book speaking Free training