You ask Claude Code to refactor a plugin's settings page, and it rewrites three files, adds a hook you didn't ask for, and touches a function your theme depends on. Nothing is obviously broken, but you can't tell without a test site. Now you're comparing subagents, skills, MCP servers and editors, and every list seems to recommend something different.
This article goes past a quick shortlist. It sorts the tools by the job they do in a WordPress workflow: testing environments, agent setup, editor companions and safety checks. It also gives you a way to choose between them based on how you build themes and plugins, so you can add only what your work needs.
What users report
Community discussions about Claude Code for WordPress are mostly practitioners comparing workflows, and the evidence is thinner than the topic's popularity suggests. Here is what the threads show.
Recurring wins
- Verified WordPress-specific options exist, such as the eirichmond/wordpress-plugin Claude Code plugin and the claude-wordpress-skills performance review skill.
Gotchas and open questions
- Giving an AI agent direct access to a live server carries obvious risk, and the threads say little about how users guard against it. Work on a local or staging copy.
Tips users share
- Package repeatable checks, such as performance reviews, as reusable skills.
- Start with a simple workflow and refine it as you learn what the tool handles well.
How we judged the best Claude Code tools for WordPress developers
The tools below are judged on five criteria: fit with WordPress coding standards, safety guardrails, local testing support, setup effort and cost. Each one matters because WordPress code runs inside a hook-driven system where small mistakes can become security or data problems.
The criteria
- WordPress coding standards: Does the tool help produce code that follows WordPress conventions, such as proper hook usage and consistent naming?
- Safety guardrails: Does it make it easier to review changes before they touch a site?
- Local testing support: Can you run generated code against a real WordPress install, including WP-CLI and different PHP versions?
- Setup effort: How much configuration is needed before it is useful?
- Cost: What does a free or entry plan include, based on published pricing?
Why WordPress needs guardrails
AI-generated code can look correct and still be unsafe in WordPress. Common trouble spots include:
- Hooks: Attaching logic to the wrong action or filter, or at the wrong priority, can break other plugins or themes.
- Escaping: Output that is not escaped can open the door to cross-site scripting.
- Nonces: Forms and AJAX actions without nonce and capability checks can be abused.
- Database changes: Direct queries without preparation, or schema changes without a backup, can damage live data.
For that reason, tools that support review and local testing score higher than tools that only generate code quickly.
How the tools are grouped
The roundup splits into two groups. Claude Code add-ons extend or shape how Claude Code works inside a project. Companion tools sit alongside it, such as AI editors and local WordPress environments, and cover editing, review and testing. Pricing is only cited where the product's own pages publish it, with the date noted.
Can Claude Code help with WordPress development?
Yes. Claude Code can speed up much of the routine work in plugin and theme projects, as long as a developer reviews what it produces. It works best as a fast first-draft partner, not as an unsupervised author of production code.
Developers who discuss it in plugin and theme work tend to describe it as strongest on repetitive, well-scoped tasks. Results depend heavily on how clearly the task is framed, which is why guidance on using Claude Code effectively matters as much as the tool itself.
Tasks it handles well
- Plugin scaffolding: main plugin file, folder structure, activation hooks, settings pages and boilerplate.
- Custom blocks: block.json, edit and save components, and build configuration for the block editor.
- Refactors: moving procedural code into classes, renaming functions with a prefix, or modernizing older PHP.
- Debugging: reading stack traces and PHP error logs, and tracing hook order or conflicts.
- WP-CLI scripts: bulk content tasks, search-replace commands and repeatable setup scripts.
Where human review is still needed
WordPress has well-known security conventions, and generated code can miss them. Review every change against them before it ships.
- Security: check nonces, capability checks and permission callbacks on forms, AJAX handlers and REST routes.
- Escaping and sanitizing: confirm output is escaped late and input is sanitized or validated.
- Data changes: read any database query, migration or bulk WP-CLI command carefully, and run it on a local or staging copy with a backup first.
A local environment makes that review safer. Local (Local by WP Engine), for example, offers WP-CLI and hot-swappable PHP environments, so you can test generated scripts without touching a live site.
Treat the output like a pull request from a junior contributor: useful, quick, and always worth reading line by line.
Best Claude Code subagents, skills and plugins for WordPress
The best Claude Code subagents, skills and plugins for WordPress are the ones that match a specific job: building, reviewing, tuning or fixing a site. Start with the building block that fits the task, then check where it comes from before you install it.
What each building block does
- Skills: reusable instruction sets that guide Claude Code on particular kinds of tasks.
- Hooks: scripts that run automatically at set points in a workflow.
- Slash commands: saved prompts you trigger by name for repeatable tasks.
- Plugins: bundles that package several of these pieces so they can be shared and installed together.
Comparison of tool categories
| Category | Best use | Risk |
|---|---|---|
| Subagents | Role-based work such as security review or performance tuning | Vague instructions give generic output |
| Skills | Encoding WordPress coding standards and project conventions | Outdated guidance carries into every task |
| Plugins | Sharing a full setup across a team | Third-party code and hooks run with your permissions |
| MCP servers | Connecting Claude Code to outside tools and data | Broad access to systems and credentials |
Useful WordPress roles
A small set of roles covers most WordPress work:
- Plugin builder: scaffolds plugin structure, hooks, settings and uninstall routines.
- Block developer: builds custom Gutenberg blocks and block patterns.
- Security reviewer: checks for missing nonces, unescaped output, unsanitised input and capability checks.
- Performance tuner: looks at database queries, asset loading and caching.
- SEO fixer: reviews titles, meta, schema and heading structure.
If you want a starting point for writing these roles, a free subagent generator can draft one, and a comparison of the best Claude Code subagent collections and packs shows what well-defined roles look like.
A plan-then-build workflow with guardrails
A plan-first pattern works well for plugin work. Ask Claude Code to produce a plan before it writes code, and review that plan yourself. Only then let it build, in small steps.
Guardrails keep this safe:
- Work on a local or staging copy, never a live site.
- Use version control so every change can be reverted.
- Run hooks for linting and tests after edits.
- Review the diff before merging.
A local environment helps here. Local, for example, lists WP-CLI access and switchable PHP versions on its site, which suit testing generated code.
Trust levels: check the source
A plugin or skill can contain instructions, scripts and hooks that run on your machine. Treat them like any other dependency.
- Prefer sources you can identify, with readable code and a visible maintainer.
- Read the files before installing, especially hooks and scripts.
- Be cautious with anything requesting broad file, network or credential access.
- Test new additions in a throwaway project first.
Finding WordPress-specific options
Verified WordPress-specific options exist, for example the eirichmond Claude Code plugin (github.com/eirichmond/wordpress-plugin) and the claude-wordpress-skills performance review skill (github.com/elvismdev/claude-wordpress-skills); that repository's security, block, theme and plugin skills are still marked as in progress. To find current ones, search public code repositories and Claude Code's own plugin documentation for terms like "WordPress", "Gutenberg" or "WP-CLI". Check each result's last update, open issues and code before adopting it, or write your own subagent around your standards.
Claude WordPress MCP and local environment tools
A WordPress MCP server lets Claude Code act on a WordPress site through defined tools instead of only reading code. The safest way to use one is against a local or staging copy, not production.
What a WordPress MCP server lets Claude do
A WordPress MCP server exposes site actions to Claude, which can then call them during a session. Depending on the server, that can include reading posts and settings, editing content, or running administrative commands.
The risk is the same as the capability. An agent with write access to a live site can change content, options or plugins, and a wrong call affects real visitors. Treat production access as something to grant narrowly, if at all.
Before connecting any WordPress MCP server, check it against this list:
- Scope: can you limit it to read-only or specific actions?
- Credentials: does it use a dedicated, least-privilege user rather than an admin account?
- Maintenance: is the repository active and documented, with a clear owner?
- Auditability: can you review what it did, and can you roll back?
- Config sanity: is your setup valid before Claude loads it? An MCP config validator can catch malformed server definitions.
Why a local sandbox comes first
A local site is disposable. If Claude breaks a theme, corrupts options or deletes content, you reset it and nothing public is affected. It also removes the temptation to hand over production credentials just to test an idea.
Local (Local by WP Engine)
According to its own site, Local sets up WordPress with one click, SSL included. It also offers root SSH access, WP-CLI, and hot-swappable PHP environments for testing.
Those features suit AI-assisted work:
- WP-CLI and root SSH give Claude Code a command-line route into the site.
- Hot-swapping PHP lets you check generated code against different versions.
- Persistent URLs let you share a local site with clients or coworkers without deploying, per Local's page.
Related options readers search for
Novamira and WordPress Studio come up often in searches for AI-ready WordPress setups. Check each project's own documentation for current features, supported clients and licensing before adopting either.
A sensible workflow
- Clone the site into a local environment.
- Connect Claude Code or an MCP server to that copy.
- Review diffs and test results.
- Apply the changes to staging, then production, through your normal deployment process.
Cursor, GitHub Copilot and Windsurf: editor tools to pair with Claude Code
Cursor, GitHub Copilot and Windsurf are three AI development tools you may see recommended alongside Claude Code. The facts below come from each product's own pages and from the sources cited, so the comparison sticks to what they state.
| Tool | Entry price | What its pages highlight |
|---|---|---|
| Cursor | $0 (Free plan) | Limited agent and chat requests; paid plans from $8/month |
| GitHub Copilot | $0 (Free plan) | 2,000 inline suggestions a month, limited chat and agent use; Pro is $10/month |
| Windsurf | Check its current site | The old pricing page now redirects to Devin's pricing, so confirm plans before buying |
Cursor
Cursor's Free plan costs $0 and includes limited agent and chat requests. Paid plans start at $8 a month (checked October 30, 2026).
GitHub Copilot
GitHub Copilot has a $0 Free plan with 2,000 inline suggestions a month and limited chat and agent use, including agent mode and MCP support. Pro costs $10 a month (checked October 30, 2026 on Copilot's plans page).
Windsurf
Windsurf is an AI code editor you may see recommended alongside Claude Code. Its pricing page now redirects to Devin's pricing page, so check the current plans on its own site before you sign up.
Terminal agent or IDE assistant?
The choice mostly comes down to where you want to work. A short rule of thumb:
- Choose a terminal agent when the task spans your whole project, such as running WP-CLI commands or working through a multi-file change from the command line.
- Choose an editor-based tool when you want AI suggestions inside the file you are already editing, with diffs and your usual editor interface in view.
- Use both if your workflow mixes quick in-file edits with larger, command-driven tasks.
Other tools you may see
Lovable and Bolt.new appear on some top-ranking pages, but they generate apps from prompts rather than working inside an existing WordPress codebase, so they are not covered here. Local, a WordPress local development tool, is covered in the previous section on local environments.
How to use Claude for WordPress: a safe setup
The safest way to use Claude for WordPress is to keep it on a local copy of the site, give it written coding rules, and review every change before it goes live. The steps below combine the tools covered earlier into one workflow.
Step-by-step workflow
- Create a local site. Local sets up WordPress with one click, SSL included, and offers WP-CLI, root SSH access and hot-swappable PHP environments for testing. Never point an agent at production.
- Add a CLAUDE.md. Put your WordPress coding standards, naming conventions, escaping and sanitization rules, and test commands in a written file that Claude can follow.
- Add hooks and subagents. Hooks can run checks automatically after edits, and subagents give each job (plugin code, blocks, performance, SEO) a narrow scope.
- Work in small tasks. Ask for one function, one block or one fix at a time, so each diff stays readable.
- Review every diff. Read the changes yourself before accepting them, especially anything touching database queries, user input or permissions.
- Run your tests. Run your test suite and feed any failures back to Claude.
- Commit, then deploy deliberately. Move changes to staging or production only after they pass locally.
Optional tooling
You do not have to write configuration files from scratch. Free tools include a Subagent Generator, Hooks Builder, CLAUDE.md Grader, SKILL.md Validator and MCP Config Validator, with no signup.
If you would rather start with a prebuilt team, WordPress specialists for Claude Code cover secure plugins, custom editor blocks, and faster, safer sites. The bundle includes 55 ready-made specialists for a one-time $49, and it integrates with Claude Code without a new app or new habits. That makes it a practical way to run claude code agents with defined roles for plugin, block, performance and SEO work.
Quick-reference summary
| Tool | Role in the workflow | Source detail |
|---|---|---|
| Local | Safe local WordPress site | One-click setup, WP-CLI, SSH, PHP switching |
| CLAUDE.md | Standards Claude follows | Graded with the free CLAUDE.md Grader |
| Hooks | Automatic checks after edits | Built with the free Hooks Builder |
| Subagents | Scoped specialist roles | Built with the free Subagent Generator |
| SKILL.md and MCP config | Reusable skills, tool connections | Checked with the free validators |
| Cursor | Editor pairing | $0 Free plan as of October 2026 |
| GitHub Copilot | Editor pairing | $0 Free plan as of October 2026 |
| Windsurf | Editor pairing | Check its site for current plans |
Keep the loop tight: small task, diff review, tests, then the next task.
Related articles
Frequently asked questions
How do I find developers who already use Claude Code on WordPress projects?
Start with public GitHub repositories. Then ask candidates to walk you through a recent diff they reviewed and corrected. Developers who use AI well can explain what the model got wrong and why they changed it.
Are free Claude Code tools enough for WordPress work?
For learning and small projects, yes. A workable free stack is Local for the WordPress site, a free Cursor tier for editing, and browser-based validators to check CLAUDE.md and SKILL.md files. As of October 2026, Cursor lists a $0 Free plan with limited agent and chat requests, and GitHub Copilot lists a $0 Free plan with 2,000 inline suggestions a month. Free tiers have usage limits, so heavy daily use may hit them.
Is it safe to connect Claude to a live WordPress site?
Not as a first step. Work in this order: Clone the site to a staging copy. Take a database backup before each session. Give Claude read-only access wherever possible. Review every change on staging. Only then apply approved changes to production by your normal deployment process. This keeps a bad command or a wrong edit away from real visitors and data.
Which Claude Code skills matter most for WordPress?
Start with the areas where mistakes become security issues. A useful example set is: Escaping and sanitizing: how to escape output and sanitize input. Nonce checks: when to create and verify nonces in forms and AJAX requests. WP-CLI usage: which commands are safe to run and which need confirmation. Keep each one in a short SKILL.md with a clear description, so Claude can tell when the skill applies.
Sources
- the eirichmond/wordpress-plugin Claude Code plugin
- claude-wordpress-skills
- Local by WP Engine
- Cursor
- GitHub Copilot
- Windsurf
- Anyone using Claude or AI tools for WordPress?
- Built a Claude Code Skill for WordPress
- Are WordPress developers using Claude Code?
- Cursor pricing (checked October 2026)
- GitHub Copilot plans (checked October 2026)