← richliu.com / Post
中文 EN

Building WordPress Plugins with Pure Claude Code

2026-03-22 AI Claude Code WordPress Software Development

AI handles language well — and code is just another kind of language. Starting from that premise, I built two WordPress plugins entirely through Claude Code, without manually editing a single line of source code. Here's what I learned.

The Two Plugins

wp-ai-writing-assistant

An AI-powered proofreading and auto-tagging plugin for WordPress. Free alternatives didn't have the features I needed, so I described what I wanted and iterated with Claude Code until it was done. After several rounds of back-and-forth, it now covers all my use cases.

wp-ai-clipper

A Firefox/Chrome extension that captures web page content and publishes it directly to WordPress. Still in active development. The main ongoing challenge is handling token limits gracefully.

Key Observations

Communication volume is higher than expected

The amount of back-and-forth with Claude Code is significant. You also need a solid architectural understanding to steer it effectively — if you don't know roughly what you want, the output drifts. Hallucinations do occur, requiring human review and correction.

Great at small problems, weak on large features

Claude Code excels at solving well-defined, scoped problems. For larger feature additions, it tends to introduce regressions. Massive single-task prompts often fail outright and burn a lot of tokens in the process.

The human role has shifted

In an AI-assisted workflow, humans now function as:

A note on SaaS platforms

My take: SaaS platforms should own the infrastructure foundation, leaving customization to AI. That division of labor maximizes AI's value while keeping core security in human hands.

Final Thoughts

Keeping your technical skills sharp still matters. AI's trajectory remains uncertain — but for now, it genuinely accelerates solo development. Enjoy AI World.