Writing · 23 November 2026

I Vibe Coded a Small Plugin Instead of Paying for Another Subscription

A shop needs one small change. A delivery message that only shows for one shipping method. A checkout field that should land on the order. A payment method that should hide in one situation. The usual next step is to go looking for a plugin, or a monthly service, that already does it.

You often find one. It also does a pile of other things, comes with another login, and adds another item to the bill. Sometimes that’s fine. Sometimes the job is small enough that a tiny plugin, built for that one job, is the calmer option.

I’ve just written about what I’d still check in an AI-built theme. That post is about a lean theme, and the review afterwards. This one is the same habit on a smaller scale: a one-job plugin, drafted with AI, then read line by line before it goes near a live shop.

Plenty of paid plugins earn their place. This is about the moment you’re about to add another subscription for a job that’s actually tiny.

When a tiny plugin is the better move

The test I use is simple. Is this one job, and is it specific to this shop?

These are the kind of jobs I mean, as illustrations, not as a client list: a notice that only appears for one shipping method; a simple checkout field, saved to the order and shown in the admin and the email; or a payment method that should hide when a certain product is in the basket.

Those jobs often arrive wrapped in a large paid add-on. The add-on may be well built. It also brings a settings screen you’ll never open, an updater, and another thing that can break when WordPress or WooCommerce moves on.

I’d keep a well-supported plugin that does a real, ongoing job. Payments, tax, email, bookings: if a maintained plugin is the right tool, I use it. I wouldn’t add a bulky add-on because one checkbox is missing.

I’ve written before about being paid to delete code rather than add more, and about the plugin graveyard that builds up when tools are left “just in case”. A tiny custom plugin isn’t a way around that habit. If the shop is already carrying too much, I start by taking things out. A new plugin, even a small one, has to earn its place.

How I actually use AI to build it

I use Cursor heavily in my coding work, as I said in the theme post. The loop is the same. I describe the one job in plain English, including what it must not do. The AI writes a first draft. I run it on a staging site. Then I read it, test it and steer it.

What has changed is the time it takes to get a clean starting point. Now I can get the bones of a small plugin down quickly, and spend the real time on the review.

I keep it as a proper, clearly named plugin. I wouldn’t hide it in the theme. I’ve already written about why I still use Code Snippets instead of stuffing functions.php, and the same rule applies here. A named snippet is right for a tiny hook. A small plugin is right when I want that one job versioned and easy to find. Either way, it isn’t married to the theme.

I also try not to let the first draft grow. If the AI has added a settings page, a custom database table and a scheduled task nobody asked for, I take those out. One job. That’s the point.

What I still read line by line

This is the part the AI doesn’t do for me. The checks overlap with the theme post, but a plugin hooks into checkout, orders and email, so a mistake can be quieter, and do more damage.

Security. Capability checks on anything in the admin. Nonces on forms and requests. No talking to the database or the filesystem except through the WordPress APIs. I wouldn’t switch a plugin on because it seemed to work on staging.

Sanitising and escaping. A checkout field, a query string, an option: input gets sanitised, output gets escaped, in the right way for the context. AI misses this more often than you’d hope. Those are the lines I read one by one.

How it talks to WooCommerce. I want hooks and filters, not a copy of a template, and not a bypass of the APIs WooCommerce already gives you. If the plugin can stop checkout, or write order data in a messy way, that’s the first thing I test. A tiny plugin that breaks the payment button is not a small problem.

What happens when things update. A tiny custom plugin doesn’t get a vendor update, and that’s both the point and the risk. I write it so I can come back to it in six months, or so another developer can pick it up. After a WordPress or WooCommerce update, I know it’s my job to check it. That’s sometimes the reason to keep a maintained plugin instead.

Whether it should exist at all. I wouldn’t vibe-code a replacement for a payment gateway, a tax engine, or a well-supported plugin that already does a large, ongoing job. If the job is big, or it needs regular updates from a vendor who lives in that problem, I leave the subscription alone. The custom work is for the gap, not for the whole product.

The question I ask is: are we paying for the one job we need, or for a bundle we won’t use? If it’s the bundle, and the job is small, a tiny plugin is worth talking about.

Wrap Up

AI has made a one-job plugin realistic to build quickly. It has not made it something you can switch on without reading the code. The review is the same habit as the theme post, on a smaller scale: security, sanitising and escaping, how it talks to WooCommerce, whether someone else can maintain it, and whether it should exist at all.

If you’re about to add another tool for a job that might be one hook and a careful test, book a quick call and we’ll look at whether a tiny plugin would do, or whether the tool you’ve got in mind is the right one.

Written by Connie, an AI, from Neil Matthews’ notes, archive, and direction. Neil directed and edited this piece. He did not write these words. Augmented publishing by Neil Matthews.

← All posts

Need help with your WooCommerce store?

Get a quote