My AI Workflow for WordPress Development on a Mac (Cursor, Claude Code, Grok Bot & ChatGPT)

10 min read
AI workflow for WordPress development illustration: a code editor with functions.php open, an AI chat panel with write and review steps, and a Git branch merging through a pull request
Share Bluesky LinkedIn Facebook Reddit

I’ve been building websites for about 15 years, and for most of that time my toolkit barely changed. Now it changes every few months. The biggest shift is AI, and the thing I’ve learned is that one AI tool isn’t enough. Each one is good at different jobs, and each one has blind spots. That’s why my AI workflow for WordPress development uses several tools, each with a clear job.

So I treat them like a small team. One acts as a senior developer, another as a code reviewer, another as an accessibility expert, and a couple more help with marketing and blogging. This post is my AI workflow for WordPress development on a Mac: the tools I use, what each one is for, and the links I keep handy.

The one rule that holds it all together: one tool writes, a different tool reviews, and you approve anything that ships.

AI workflow for WordPress development illustration: a code editor with functions.php open, an AI chat panel with write and review steps, and a Git branch merging through a pull request

Which AI tool does what

Here’s the short version of who does what in my AI workflow for WordPress development.

ToolWhat I use it for
CursorCoding in the editor, multi-file theme refactors, Cloud Agents for background tasks, and Bugbot for PR review.
Claude CodeBig terminal jobs, long refactors, subagents and hooks, and CI reviews (overview).
Grok BotMy ops helper: scheduled routines, Gmail/Slack/Notion plugins, WordPress MCP tasks, and research.
ChatGPTMarketing copy, brainstorming, and Projects plus custom GPTs for brand voice.
Codex (optional)A second-opinion reviewer when Claude or Cursor wrote the code.

Whichever tool writes the code or the copy, a different one reviews it. Then I read it and decide. Nothing goes to a client, a live site, or a theme release without that last step.

How a task moves through my AI workflow for WordPress development

Here’s how a typical change goes, from the first prompt to the release. The same steps work for a theme feature, a plugin fix, or a client site update.

  1. Start on a Git branch. Each change gets its own branch, so the main branch stays clean and I can throw away anything that doesn’t work.
  2. Write the change with one AI tool. Cursor or Claude Code does the first draft in the editor, following the rules file in the repo.
  3. Let the automatic checks run. Hooks run PHPCS and the linters after each edit, so style problems and simple mistakes show up right away.
  4. Open a pull request and have a second tool review it. The reviewer is never the tool that wrote the code.
  5. Test it on a local site. I click through the change, use the keyboard only, and check it with VoiceOver when it affects the front end.
  6. Read the diff and approve it myself. If I can’t explain a line, it doesn’t get merged.

Several of these steps run on their own once they’re set up. The parts that need me are the request at the start and the decision at the end.

My Mac setup for AI-assisted WordPress work

This is the setup I use on my Mac for my AI workflow for WordPress development. The goal is simple: I can rebuild it quickly, and AI agents can run real commands instead of guessing.

AI as a senior developer and pair programmer

This is where most of the day-to-day work in my AI workflow for WordPress development happens, whether it’s a block theme or a business site. The trick is giving the AI the same standards you’d give a new teammate.

I used Cursor, Git, and AI to ship my first plugin to the WordPress.org directory. I wrote up that process, step by step, in how I published my first WordPress.org plugin with Cursor, Git, and AI.

AI as an expert code reviewer

In an AI workflow for WordPress development, the review step matters most. An AI reviewing its own code tends to agree with itself. A second tool catches different things.

AI as a web accessibility expert

I started in higher-ed marketing and later did SharePoint and Power Platform work for federal clients, so accessibility has always been part of the job for me. AI can help here, but it can’t be the final word.

This is the part of my AI workflow for WordPress development that needs the most hands-on testing. The same goes for plugins that promise to fix accessibility for you. I explain why in a WordPress accessibility plugin won’t make your site accessible.

AI as a marketer and SEO writer

AI is useful for first drafts of marketing and SEO copy. The facts, results, and final wording still need to come from you.

AI as a web-dev blogger

The same writer-and-reviewer rule from my AI workflow for WordPress development applies to blog posts. These are the habits I follow.

  • Publish on your own site first. Everything else links back there.
  • Cross-post to Dev.to with canonical_url set in the front matter (editor guide). It follows Google’s canonical approach.
  • Write from your real client and theme work. AI can tidy it up, but it shouldn’t invent experience.
  • Test every code snippet in a local site before you publish.
  • Have one AI edit for clarity and a second one fact-check versions and links.
  • Set up a Grok Bot routine to draft weekly topic ideas from WordPress release news. You pick and write.

Where AI still gets WordPress wrong

Even with good rules files, the tools make the same kinds of mistakes again and again. Knowing them makes the review step faster.

  • Settings and functions that don’t exist. It will suggest theme.json keys, hooks, or function names that look right but aren’t real. Check them against the theme.json reference and the WordPress Code Reference.
  • Old patterns. Suggestions can be based on older code, such as deprecated functions or classic theme habits in a block theme.
  • Missing security steps. Output without escaping, and form handling without nonces or capability checks, are common. This is what the security reviewer subagent is for.
  • Accessibility claims without testing. “This is accessible” means nothing until you’ve tested it with a keyboard and a screen reader.
  • Confident answers about versions. Ask for a link to the source, then open it and check.

None of this means the tools aren’t useful. It means the review and your own testing can’t be skipped.

Common questions about this AI workflow for WordPress development

Do I need every tool on this list?

No. Start with one tool that writes and a different one that reviews, and keep the final decision for yourself. Add the others when you have a clear job for them.

Is it safe to connect AI tools to a live WordPress site?

My advice is to connect only staging sites over MCP. Changes that reach a live site should go through the same review, testing, and approval as code.

Does this work on Windows or Linux?

I work on a Mac, so that’s what I’ve written about. Cursor, Claude Code, WP-CLI, and wp-env are also available on Windows and Linux, so most of this carries over. VoiceOver is Mac-only. On Windows, NVDA is a free screen reader you can test with.

Pre-ship checklist

This checklist is the last step of my AI workflow for WordPress development. Before anything goes live, whether it’s a theme release, a client site, or a blog post, I run through this:

  • A different AI tool reviewed what the first one wrote.
  • PHPCS/WPCS, PHPStan and wp-scripts lint pass.
  • Escaping, sanitizing and nonces are checked.
  • Automated accessibility checks pass (axe, WAVE or Pa11y CI).
  • Keyboard-only and VoiceOver testing done by hand.
  • Theme Check and the required review list are clean (for themes).
  • Core Web Vitals look good on PageSpeed Insights.
  • Structured data passes the Rich Results Test.
  • Every code snippet was tested on a local site, and every link was checked.
  • I read it and approved it myself.

Wrapping up

None of these tools replace judgment. They make me faster, and having more than one of them keeps me honest. That’s the whole idea behind my AI workflow for WordPress development. Start with one writer, one reviewer, and your own final say, then add the rest as you need it.

I build custom WordPress sites and themes, If you run an agency and need extra hands, here’s how white-label overflow work with me goes. If you’d like help with a WordPress project get in touch.

Links checked September 2026.

Found this useful?

Bluesky LinkedIn Facebook Reddit

More examples on the Code page. Questions about a snippet? Say hello.

More from the journal in WordPress

All posts →

Comments

No comments yet. ASCII, code, and plain punctuation are welcome.

Leave a comment

Your email stays private. It is only used if you ask for reply notices. Required fields are marked required.

Tip: **bold**, _italic_, `code`, [text](https://), and > quotes. ASCII punctuation is kept as typed. 0 / 8000

This site uses Akismet to reduce spam. Learn how your comment data is processed.