Claude Code for WordPress Development: A Workflow From Client Brief to Launch (2026)
Claude Code can write a WordPress theme in an afternoon. That's not the hard part of client work anymore.
The hard part is everything around the code: agreeing what the site should do, choosing plugins that won't fight each other, proving the site works on a phone, and handing it over so the client isn't calling you every week. Point Claude Code at a vague brief and you get fast code for the wrong site. Point it at a clear process and it becomes the most useful developer you've ever worked with.
This guide is that process: a Claude Code WordPress development workflow we use from the first client email to the launch report. It covers the parts people search for most (Claude Code skills, MCP and plugins for WordPress) and where each one actually fits.
What Claude Code is good at in WordPress, and what it isn't
Claude Code is Anthropic's coding tool. It runs in your terminal or editor, reads your project, runs commands and edits files, asking before anything risky. For WordPress, that means it can:
- scaffold a block theme (
theme.json, templates, patterns) and refine it piece by piece - run WP-CLI to create pages, install plugins and change settings on your local site
- read your
debug.log, find the warning and fix the code that caused it - write documents: requirements, test plans, handover notes
What it can't do on its own:
- know what your client meant. It only knows what's written down.
- see your browser. It needs screenshots and your eyes for layout.
- prove its own work. "It should work" isn't a test result.
A good workflow covers exactly those three gaps.
The workflow in five phases
| Phase | What happens | What you end up with |
|---|---|---|
| 1. Discover | The brief becomes a scope the client approves | requirements.md, sitemap.md, content-plan.md |
| 2. Architect | Content model, design system, plugin stack tested on your site | architecture.md, plugin-stack.md, design-system.md |
| 3. Build | A custom block theme, one template at a time | the theme, checked after every step |
| 4. Check | Real tests on the running site | qa-report.md, screenshots |
| 5. Launch | Launch-day checklist and handover | launch-checklist.md, handover.md |
The rule that makes it work: a phase doesn't start until the one before it is approved. Not "mostly done". Approved.
Step 0: Set Claude Code up for WordPress
Give it a working local site
Run WordPress locally (XAMPP, Local, MAMP, Laragon or similar) and make sure WP-CLI reaches it:
wp core version
wp option get siteurl
If both answer, Claude Code can work with the site. Never point it at a live client site while building.
Write the rules in CLAUDE.md
Claude Code reads CLAUDE.md at the start of every session. Put the rules there once instead of repeating them in every message:
## WordPress project rules
- Block theme only (theme.json, templates, parts, patterns). No page builder.
- Prefix every PHP function and handle with acme_.
- Escape all output (esc_html, esc_attr, esc_url) and sanitise all input.
- Never edit WordPress core or third-party plugins.
- Use WP-CLI for content and settings; show any command that deletes before running it.
- Nothing touches the live site without my explicit yes.
Specific rules change what gets written. "Write clean code" doesn't.
Skills, MCP servers and plugins: what each one is for
These three come up in almost every "Claude Code WordPress" search, and they do different jobs:
- Skills are instructions Claude Code loads when they're relevant: "how we build a block theme", "how we write a QA report". They turn your process into something it follows every time.
- MCP servers connect Claude Code to other software. For WordPress, the useful ones give it a safe way to act on a site, like creating drafts through DocxToWP's WordPress MCP server, which can only make drafts, never publish.
- Plugins bundle skills, commands, agents and scripts so a whole workflow installs with one command and updates in one place. WPShipReady is a Claude Code plugin built exactly this way for WordPress delivery.
Phase 1: Discover (the brief becomes a scope)
Paste the client's brief and ask Claude Code to draft requirements, a sitemap and a content plan, and to list everything that's missing. A brief is complete when you know:
- the site's single most important job, and how success is measured
- every page, each with one job
- who supplies content and images, and when
- what the client will edit after launch
- every form, where it sends, and its spam protection
- who owns hosting, the domain and DNS
- which old pages need redirects
- what's out of scope
Use plan mode (Shift+Tab) for this phase: Claude Code reads and proposes, but changes nothing. Send the questions to the client in one round, fill in the answers, then get the requirements approved in writing.
Write "out of scope" down. It's the cheapest sentence in any web project and prevents the most expensive arguments.
Phase 2: Architect (and test the plugin stack for real)
From the approved requirements, decide the content model (custom post types only where content really repeats), the templates, and a design system: colours with their contrast ratios, fonts, spacing.
Then the step most workflows skip: install the plugin stack on your local site and measure what it does. Note the page speed first, install, then check the debug log and measure again:
wp plugin install contact-form-7 wp-mail-smtp --activate
wp plugin list --fields=name,status,version
tail -n 50 wp-content/debug.log
Write what you found into plugin-stack.md: versions, PHP warnings, the speed cost. Our guide to testing WordPress plugin compatibility covers this step in full.
Phase 3: Build, one piece at a time
Ask for the theme skeleton first (style.css, theme.json from the design system, the base templates, header and footer parts), then one template or pattern per request. After each piece:
- the debug log has nothing new
- the page returns 200 and shows real content from the content plan, not lorem ipsum
- you look at it at phone, tablet and desktop widths, and send a screenshot if something's off
Small steps hide nothing. Big batches hide everything. Our post on AI WordPress theme development goes deeper on what to check in AI-written themes.
Elementor sites? Claude Code works best on block themes, where the whole design lives in files it can read and test. On existing Elementor sites, use it for audits, content and SEO fixes rather than layout. DocxToWP Pro can also turn a Word document into an editable Elementor layout, which is often what clients actually want.
This whole workflow, as a Claude Code plugin
WPShipReady takes a WordPress site from the client's brief to a verified launch report: approval gates between phases, a plugin stack tested on your site, a custom block theme, and a QA report from real tests. Plus an SEO Kit with reversible fixes.
See WPShipReadyPhase 4: Check (results, not promises)
This is where AI workflows usually fall apart. The model says "everything looks good", and nobody ran anything.
The fix is simple: every result in the client's QA report must come from a test that ran. Speed and accessibility from Lighthouse, links from a link checker, PHP errors from the debug log, layout from real screenshots. A check that couldn't run says "skipped" and why.
Here's what that looks like on a real site: a sample QA report from a live WordPress site, anonymised, with 2 launch blockers, 10 things to fix and 21 passes, each with its evidence. For a quick check of any live site, the free WordPress launch check runs the same engine.
Phase 5: Launch and handover
Launch day is a checklist, not a vibe. Every step that touches the live site gets a "yes" first: the search-and-replace of the staging address (dry run first), search engines allowed, redirects tested one by one, forms re-tested on the live domain.
Then hand over properly: logins in a password manager, account ownership, what's installed and who renews it, how to edit the things the client edits. Our website handover checklist has a free template.
What's the step in your WordPress projects that still takes longest: the scope, the build, or the testing?
Frequently asked questions
It can build a custom block theme and set up content, plugins and settings through WP-CLI. It still needs you for the client's intent, design judgement and checking the result in a browser. Treat it as a fast developer that follows a process, not a one-click site generator.
Claude Code supports plugins that bundle skills, commands and agents. WordPress-specific ones exist for different jobs: DocxToWP's MCP server for creating drafts from what the AI writes, and WPShipReady for the delivery process from brief to launch report.
Yes. Claude Code runs on your Claude plan or an Anthropic API account. Plugins and skills run inside it.
Claude Code can work on WooCommerce sites, but shops need more testing (payments, emails, stock) than this workflow covers. Start with brochure and business sites.
Related Articles
AI WordPress Theme Development: Build a Block Theme With Claude Code (and What to Check)
AI WordPress theme generators make a theme in minutes. Here's how to build a real block theme with AI, from theme.json to patterns, and the 12 things to check before a client ever sees it.
How to Test WordPress Plugin Compatibility (and Find Conflicts) Before They Break a Live Site
A step-by-step way to check WordPress plugin compatibility with your WordPress and PHP versions, test plugins locally, find plugin conflicts, and measure what each plugin costs in speed, before it reaches a client's live site.
Website Handover Checklist and Document Template (Free) for WordPress Sites
What a website handover should include, the handover process step by step, and a free website handover document template you can copy, edit and send to your client.
Import your first Word document in under 60 seconds
Start free. Import a Word document without copy-pasting or rebuilding its formatting. No account, no credit card. Straight from WordPress.org.