Someone on r/vibecoding just posted the question a lot of WordPress-bound developers are quietly asking: can you take an existing WordPress site and replicate it 1:1 into a clean, AI-native codebase using Claude Code — then never touch WordPress again?
The poster’s wishlist is specific. They want to ditch WordPress, Elementor, and every visual builder, then end up with a component-based codebase in React/Next.js or Astro that Claude can extend through plain prompts:
- “Create a new landing page in the same design language.”
- “Add a pricing calculator.”
- “Implement a customer portal.”
- “Refactor the navigation.”
- “Add a blog with these features.”
The goal isn’t a one-time migration. It’s an ongoing relationship where Claude becomes the primary way to maintain and grow the site — no brittle MCP integrations trying to puppet Elementor through AI.
This is a real pattern emerging in vibe coding: treat your codebase as a conversation partner, not a build artifact. A solid component architecture with consistent naming, clear file structure, and design tokens gives Claude (or any LLM) enough context to generate new pages that match existing ones. WordPress themes and Elementor widgets don’t give an AI that kind of structural legibility.
The hard part isn’t the migration itself — scraping a WordPress site’s HTML/CSS and feeding it to Claude Code as a reference is straightforward. The hard part is producing a codebase clean enough that prompt-driven development actually works six months later. That means real component decomposition, not a single 2,000-line page component. It means design tokens over hardcoded hex values. It means picking a framework (Next.js for dynamic features, Astro for content-heavy static sites) based on what the site actually does, not what sounds modern.
TIP
If you’re attempting this workflow, export your WordPress content to structured JSON or Markdown first. Claude Code works far better with structured data than with raw HTML scraped from a rendered page.
The poster’s instinct is sound: a clean React or Astro codebase is dramatically easier for an AI to extend than any WordPress setup. The community thread is still developing — worth watching for real migration reports.