I took an HTML export from Lovable, opened Claude Code, and had a complete WordPress theme with 11 custom blocks, 4 custom post types, and a deployment pipeline in one day. 83 files, 7,300+ lines of code. Without an AI agent? Unthinkable.
I needed a new website for the Czech ecological organization Stromy v krajine (Trees in the Landscape). Their old site was outdated and the client wanted to manage content themselves -- projects, events, team members, partners, and news. WordPress was the obvious choice.
I had Lovable generate the design -- an AI tool that creates a complete React SPA from a text description. The result looked great: responsive design, a beautiful color palette (forest green + gold), Tailwind CSS, interactive components. But the client needed WordPress, not a React app.
Lovable generated a React/Vite SPA with dozens of components: HeroSection.tsx, AboutSection.tsx, AchievementsSection.tsx, pages for news, contact, photo gallery. The entire design system was in Tailwind with HSL variables -- primary: 142 70% 25% (forest green), accent: 47 96% 53% (gold).
The first step was having Claude Code thoroughly explore the entire React codebase -- every component, every design token, every breakpoint. The AI agent built a complete map of what needed to be converted.
From the React code analysis, Claude Code generated the entire WordPress theme structure:
55 files, 5,000+ lines -- all in a single commit.
The original plan was to use ACF (Advanced Custom Fields) for blocks and metadata. But ACF Free lacks:
ACF Pro costs $199+/year. Instead, I switched to Carbon Fields -- an open-source alternative with full functionality via Composer.
The migration happened the same day. Claude Code rewrote all 11 blocks from the ACF API to the Carbon Fields API, changed get_field() to carbon_get_the_post_meta(), and added Docker Compose for local development. Zero licensing costs, 100% open-source.
The remaining work was fine-tuning details to match the Lovable design:
Finally, I added a Deployer pipeline:
| Time | What happened |
|---|---|
| 0h | Lovable HTML export imported |
| 1h | Complete WordPress theme + ACF blocks |
| 2h | Pivot to Carbon Fields + Docker setup |
| 3-6h | Styling, admin flexibility, interactions |
| 7-8h | Deployment pipeline, documentation |
24 commits over 2 days. 83 files. 7,300+ lines of code.
This was a project where an AI agent excelled:
Key decisions (architecture, Carbon Fields vs ACF, deployment strategy) required human judgment. But execution? The AI agent accelerated it 5-10x.
One person + Claude Code = a complete WordPress theme in a day. That's the future of development.