Skip to content
chriswathen.dev
engineer’s context workspace
Contact
workspace vibe-coding-wordpress-plugins.md
← Back to thoughts
WordPress

The Pros and Cons of Vibe Coding WordPress Plugins

AI makes it easy to vibe code custom WordPress plugins, but who maintains them? Learn the pros, cons, and security risks before replacing trusted plugins.

If you have spent any time around the WordPress community lately, you have probably heard the term “vibe coding.” It is the practice of telling an AI tool what you want in plain English, letting it write the code, and tweaking it until it works without actually writing the code yourself.

With AI getting sharper by the day, almost anyone can spin up a custom WordPress plugin in ten minutes flat. It feels a little like magic, and in a lot of ways, it is a massive leap forward. Still, before y’all start replacing every plugin on your site with AI-generated code, it is worth looking at both sides of the coin.

The Positives: Why Vibe Coding Is So Tempting

There is a good reason so many site owners are jumping on this trend.

  • You get exactly what you need: Sometimes you just want a tiny feature, like a custom shortcode or a tweak to your admin dashboard. Instead of installing a massive, bloated plugin that slows your site down just to use one percent of its features, AI can build a lightweight solution tailored to your exact setup.
  • It saves time and money: You no longer have to pay a developer hundreds of dollars or sign up for another yearly subscription just to solve a simple problem.
  • Fast prototyping: If you have an idea for a new feature on your site, you can test it out on a staging site in an afternoon to see if it actually makes sense.

The Negatives: The Maintenance Trap

Building a plugin with AI is the easy part. Keeping it alive and safe is where things get messy.

When you install a reputable open-source plugin from the WordPress repository or buy a well-known paid plugin, you aren’t just getting the code. You are getting a support system. Those projects often have dedicated teams, security researchers, and sometimes hundreds or even thousands of contributors constantly testing the code, patching bugs, and updating it to work with new versions of WordPress and PHP.

When you vibe code your own plugin, you are the entire development team.

If a new security threat pops up, nobody is going to push an automatic update to your dashboard. If you don’t actually understand the PHP or JavaScript the AI handed you, you won’t know if it forgot basic WordPress security practices, like sanitizing user input or checking permissions. A single person building a plugin and forgetting about it can easily open the back door to major vulnerabilities, leaving their whole site exposed. On top of that, the next major WordPress or PHP update could break your custom code overnight.

Where to Draw the Line

Vibe coding isn’t inherently bad, you just have to know when to use it. It works great for small, low-risk tasks, like adding a simple display tweak or a basic admin tool that only you can see.

For anything heavy, especially plugins that handle contact forms, user logins, payments, or database changes, stick with established, well-maintained plugins. Let the big teams shoulder the weight of security updates so you can focus on running your site.

TERMINAL zsh — chriswathen.dev