astro-conversion-kit
Convert a WordPress site to static Astro with your coding agent, and get back the same site: the
same URLs, the same content, the same titles, descriptions, canonicals and structured data, the
same media at the same paths, every redirect the old site performs, and a design checked pixel by
pixel at 390, 768 and 1440 px. No PHP, no plugins, no database, no server to patch.
It is a set of Agent Skills, so it runs in Claude Code, Codex or any agent that reads SKILL.md.
Plain Node scripts do everything that has to be exact, and gates prove each part before the work
moves on. A run ends with a pull request, a noindexed staging deploy and a launch runbook.
WordPress is the first-class case. Anything served over HTTP works, because the capture reads the
rendered HTML; see docs/platforms.md.
Start
Paste this into your coding agent, with your site in place of example.com:
Convert https://example.com to Astro with https://github.com/ethanplusai/astro-conversion-kit
That is the whole job. The agent installs the skills, asks you one message of questions (each
with a stated default: where the repo goes, which host, how forms are handled), and runs to a pull
request without stopping again. Answer "defaults" and it picks every default.
To install the skills first, into any agent that reads Agent Skills:
npx skills add ethanplusai/astro-conversion-kit
In Claude Code, from its plugin marketplace:
/plugin marketplace add ethanplusai/astro-conversion-kit
/plugin install astro-conversion@astro-conversion-kit
Or from a clone, which also lets you run any script by hand:
git clone https://github.com/ethanplusai/astro-conversion-kit
cd astro-conversion-kit
npm install
npx playwright install chromium
node skills/convert-site/scripts/preflight.mjs
preflight.mjs says which tools the run needs (Node, git, gh, the hosting CLI, the Playwright
browser) and whether each is installed and logged in. Every script prints --help.
Results

Averages over 45 WordPress conversions run with the kit, intake to pull request. Every run passed
the pixel-parity review at all three widths.
Demos
Public WordPress sites converted by a coding agent following the skills as published. Each link
is the Astro build on Vercel; each image is the live WordPress page beside the Astro build.
Counts and timings are in docs/examples.
sxsw.com (WordPress VIP, block theme, 71 pages): https://sxsw-com-astro-v2.vercel.app

harvard.edu (WordPress multisite, 457 pages): https://harvard-edu-astro.vercel.app

angrybirds.com (WordPress on WP Engine, 388 pages, media in Vercel Blob): https://angrybirds-com.vercel.app

What happens
- Intake. At most four requests fingerprint the platform; one message asks you where the
repo and hosting go, how forms are handled, and what the agent cannot detect.
- Capture. A paced, read-only crawl (sitemaps, the WordPress REST API, links) saves every
page's HTML, head tags, redirects, media list, fonts, feeds and screenshots into
capture/.
- Plan.
docs/plan.md: templates, counts, the media decision, and a row for every oddity.
- Scaffold and baseline. A new Astro repo on an
astro-rebuild branch, with the capture
frozen into baseline/ so the gates never need the old site again.
- Build. Layouts first, then pages from the captured markup, the captured CSS pruned by
coverage, media at the original paths, forms and third-party scripts carried over by list.
- Gates. Routes, redirects, SEO tags, visible text, links, media, sitemap, feeds, forms and
scripts, checked against the baseline on every commit.
- Visual review. Live and new screenshots per template at three widths, pixel-diffed, plus a
computed-style check, until every pair passes; then every page at 390 and 1440.
- Launch checks.
pre-launch on the repo, a staging deploy, launch-audit against staging,
a suggestions report, and the PR. You merge and launch; post-launch watches the first 30 days.
docs/process.md says what each phase produces and what proves it done.
What you get