AI Tools

Is Vibe Coding Safe for WordPress? My Honest Verdict

Majharul Shagor Building Digital Experiences & Creating Content That Matters
July 13, 2026 · 3 min read

“Vibe coding” had a strange year. The term went from Andrej Karpathy’s playful description of letting AI write your code while you vibe, to a global hobby, to something even Karpathy has publicly moved on from — right as security researchers started publishing ugly numbers about AI-generated code. Reports like this Forbes piece now warn that a scary share of AI-written code ships with security flaws. So, as someone who recently vibe-coded a real plugin: is vibe coding safe for WordPress?

My answer, having actually done it: yes for building, no for trusting. Let me explain the difference.

What Happened When I Vibe-Coded a Plugin

I built my social-publishing plugin with Claude Code in an afternoon. The AI nailed the WordPress conventions — nonces, sanitization, options API — and then confidently shipped me a bug: a hardcoded, already-expired LinkedIn API version that broke every single post. The code looked professional. It was wrong. That’s the vibe coding experience in miniature: astonishing speed, punctuated by failures you can only catch if you can read what it wrote.

Where Vibe Coding Goes Wrong on WordPress Specifically

My Rules for Vibe Coding WordPress Safely

  1. Vibe the scaffold, review the surface. Let AI write structure and boilerplate freely. Anything touching input, output, auth, or the database gets read line-by-line by me.
  2. Never ship what you can’t debug. If you couldn’t fix it broken, don’t deploy it working.
  3. Test against the real world, not the happy path. My plugin “worked” until the actual LinkedIn API disagreed. External services are where generated code dies.
  4. Keep it in the sandbox until proven. New generated code runs on staging or a throwaway site first. Always.

The Honest Verdict

The name is retiring, but the practice is permanent — and genuinely valuable. AI-assisted coding turned a weekend plugin idea into an afternoon build for me, and I’ll keep doing it. The catch is that “vibes” describes the writing, not the shipping. Between generated code and production sits a boring, irreplaceable step: a human who understands WordPress reading what the machine wrote. Skip that step on your own hobby site if you like. Skip it on a client site, and you’re not vibe coding — you’re gambling with someone else’s business.

Share this post
Written by

Majharul Shagor

Building Digital Experiences & Creating Content That Matters

Enjoyed this post?

Get my next one in your inbox — tips on WordPress, content, and AI tools. No spam.