<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Areesha Hanif</title>
    <description>The latest articles on DEV Community by Areesha Hanif (@areesha_hanif).</description>
    <link>https://dev.to/areesha_hanif</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4251748%2F905594ef-fe7a-4830-9c99-8c4de2bb6881.jpg</url>
      <title>DEV Community: Areesha Hanif</title>
      <link>https://dev.to/areesha_hanif</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/areesha_hanif"/>
    <language>en</language>
    <item>
      <title>I Build Custom WordPress Plugins With AI Every Day. Here’s What I Still Don’t Let It Decide.</title>
      <dc:creator>Areesha Hanif</dc:creator>
      <pubDate>Fri, 20 Nov 2026 18:05:25 +0000</pubDate>
      <link>https://dev.to/areesha_hanif/i-build-custom-wordpress-plugins-with-ai-every-day-heres-what-i-still-dont-let-it-decide-57ik</link>
      <guid>https://dev.to/areesha_hanif/i-build-custom-wordpress-plugins-with-ai-every-day-heres-what-i-still-dont-let-it-decide-57ik</guid>
      <description>&lt;p&gt;In September 2026, AI agents opened more than 40% of all pull requests on GitHub. Back in March, it was 17% (&lt;a href="https://github.blog/news-insights/octoverse/octoverse-commits-pushes-reach-new-highs-in-2026-as-developers-build-with-agents/" rel="noopener noreferrer"&gt;GitHub Octoverse 2026&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;Honestly? Not surprised. I'm part of that number.&lt;/p&gt;

&lt;p&gt;I'm a WordPress and frontend developer, and I run &lt;a href="https://sylvado.com" rel="noopener noreferrer"&gt;Sylvado&lt;/a&gt;, a studio that builds websites and custom business systems: custom plugins, CRMs, WooCommerce stores. These days, a lot of my code starts as a conversation with an AI agent.&lt;/p&gt;

&lt;p&gt;This isn't a "AI is magic" post. It's not a "AI is ruining everything" post either. After building real client systems this way, I've ended up with a pretty clear line between what I hand over to AI and what I keep for myself.&lt;/p&gt;

&lt;p&gt;And this year, that line started mattering a lot more.&lt;/p&gt;

&lt;h2&gt;
  
  
  Everyone's using agents. Almost nobody trusts them with production.
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://stackoverflow.blog/2026/10/06/the-results-of-the-2026-developer-survey-are-here/" rel="noopener noreferrer"&gt;Stack Overflow 2026 Developer Survey&lt;/a&gt; (30,000+ developers) has a few numbers I can't stop thinking about:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;66%&lt;/strong&gt; of developers use coding agents, and Claude Code is the most-used one.&lt;/li&gt;
&lt;li&gt;But only &lt;strong&gt;20%&lt;/strong&gt; use AI to deploy or run production systems.&lt;/li&gt;
&lt;li&gt;And &lt;strong&gt;93%&lt;/strong&gt; say they need source attribution before they trust AI output.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So we've all kind of quietly agreed on something: AI writes the code, but humans still own what happens when it runs.&lt;/p&gt;

&lt;p&gt;That's exactly how it feels for me. The question isn't "should I use AI?" anymore. It's "which decisions are still mine?"&lt;/p&gt;

&lt;h2&gt;
  
  
  Where AI actually earns its keep
&lt;/h2&gt;

&lt;p&gt;Let me give it credit first, because it deserves some.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scaffolding.&lt;/strong&gt; Custom post types, taxonomies, settings pages, admin tables, REST routes. I've written this stuff so many times I could do it half asleep. AI just does the first draft faster than I can type, and since I know what "correct" looks like, reviewing it takes minutes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Boring boilerplate.&lt;/strong&gt; "Add a meta box with these five fields, sanitize them, save on &lt;code&gt;save_post&lt;/code&gt;." Clear task, clear output. AI nails it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Debugging.&lt;/strong&gt; This one surprised me the most. A plugin I was working on started throwing a white screen right after activation. I pasted the error log and the function into the agent, and within a minute it pointed out that my code was running on a hook that fired &lt;em&gt;before&lt;/em&gt; the class it depended on had even loaded. Moving it to a later hook fixed it. I'd probably have spent half an hour staring at that before spotting it.&lt;/p&gt;

&lt;p&gt;That matches the survey too: the top uses are writing code in familiar areas (67%) and debugging (61%). The key word there is &lt;em&gt;familiar&lt;/em&gt;. AI is fastest when I already know what the answer should look like.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I still don't let it decide
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Who's allowed to do what
&lt;/h3&gt;

&lt;p&gt;Capabilities, nonces, &lt;code&gt;current_user_can()&lt;/code&gt; checks, who can see which CRM records. AI will happily write a permission check. It'll also happily write one that's way too loose, because "make it work" and "make it safe" look exactly the same in a demo.&lt;/p&gt;

&lt;p&gt;Real example: I asked an agent to build an AJAX handler for updating records in a CRM. It checked the nonce, looked clean, worked perfectly. Then I actually read it. The only access check was &lt;code&gt;is_user_logged_in()&lt;/code&gt;. That means &lt;em&gt;any&lt;/em&gt; logged-in user, even a basic subscriber, could have edited client records. One line of code, and it would've shipped if I'd trusted the "done" message.&lt;/p&gt;

&lt;p&gt;So now I read every capability check myself, line by line. No exceptions.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. The data model
&lt;/h3&gt;

&lt;p&gt;In a custom CRM, the data model basically &lt;em&gt;is&lt;/em&gt; the product. Should this be a custom post type, post meta, or its own table? How do records connect? What happens a year from now when the client has 50x more data?&lt;/p&gt;

&lt;p&gt;AI can suggest a schema. But it doesn't know the business, and it won't be around when the client asks for a report the structure can't support. I make that call before a single line of code gets written.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. WooCommerce edge cases
&lt;/h3&gt;

&lt;p&gt;Order statuses, refunds, stock, payment callbacks, hooks firing in an order you didn't expect. Real stores are full of situations no prompt ever describes.&lt;/p&gt;

&lt;p&gt;AI writes code for the happy path. My job is every other path. I once had AI-generated code hooked into both the "processing" and "completed" order statuses, which looked totally fine until I realized a normal order passes through both. Customers would've gotten the same email twice. Not a disaster, but exactly the kind of thing that makes a client lose trust.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. "Done"
&lt;/h3&gt;

&lt;p&gt;An agent will tell you the task is complete. That's a claim, not a fact.&lt;/p&gt;

&lt;p&gt;I test on staging, I read the actual diff instead of the agent's summary of it, and I check everything as the lowest-permission user who'll actually use it.&lt;/p&gt;

&lt;h2&gt;
  
  
  WordPress 7.0 made this line matter way more
&lt;/h2&gt;

&lt;p&gt;Here's the part I don't think many WordPress devs have fully processed yet.&lt;/p&gt;

&lt;p&gt;WordPress 7.0 (May 2026) shipped an AI Client that works with any provider, an expanded &lt;strong&gt;Abilities API&lt;/strong&gt;, and a Connectors screen in core (&lt;a href="https://www.dreamhost.com/blog/wordpress-7-0/" rel="noopener noreferrer"&gt;overview&lt;/a&gt;). On top of that, the official &lt;strong&gt;MCP Adapter&lt;/strong&gt; turns registered Abilities into tools that agents like Claude Code, Cursor and VS Code can find and run (&lt;a href="https://developer.wordpress.org/news/2026/02/from-abilities-to-ai-agents-introducing-the-wordpress-mcp-adapter/" rel="noopener noreferrer"&gt;WordPress Developer Blog&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;In plain words: the features in your plugin can now become actions an AI agent triggers on a live site.&lt;/p&gt;

&lt;p&gt;Honestly, that's exciting for the kind of work I do. A CRM where an agent can look up a record or draft a follow-up through a defined, permissioned action is way more useful than another chatbot slapped onto the dashboard.&lt;/p&gt;

&lt;p&gt;But read the security guidance in that announcement. MCP clients act as &lt;strong&gt;logged-in users&lt;/strong&gt;. The recommendations are strict &lt;code&gt;permission_callback&lt;/code&gt; checks, low-privilege users, read-only abilities for anything public-facing, and logging. And abilities only get exposed over MCP if you explicitly opt in with &lt;code&gt;meta.mcp.public&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;So here's the slightly scary loop: AI can now &lt;em&gt;write&lt;/em&gt; the ability, and AI can also &lt;em&gt;call&lt;/em&gt; the ability. The only thing standing between an agent and your client's data is the &lt;code&gt;permission_callback&lt;/code&gt;, which is exactly the code I said I never hand over.&lt;/p&gt;

&lt;p&gt;AI can write the ability. Deciding who gets to run it? That's my job.&lt;/p&gt;

&lt;h2&gt;
  
  
  My rules now
&lt;/h2&gt;

&lt;p&gt;Not universal truths. Just what works for me on client systems:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;I design, AI drafts.&lt;/strong&gt; Data model, permissions and architecture are decided before the first prompt.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Permission and sanitization code gets a human, line-by-line review.&lt;/strong&gt; Every single time.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Read the diff, not the summary.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Staging first, tested as the lowest-privilege user.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Give the agent project rules.&lt;/strong&gt; I keep my conventions in a config file the agent reads, things like "always prefix functions with the plugin slug" and "escape everything on output." Before that, I kept getting code with generic function names that clashed with other plugins and had to rename half of it. Octoverse found repos with an agent config file logged eight times as many commits. That's correlation, not proof, but context beats clever prompts every time for me.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;New Abilities start read-only.&lt;/strong&gt; Write access gets earned, not given by default.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  So... is it actually faster?
&lt;/h2&gt;

&lt;p&gt;Yes and no. The first draft? Ridiculously faster. The review? Not at all, and the review is where the real work lives now.&lt;/p&gt;

&lt;p&gt;I used to spend most of my day writing code. Now most of it goes into reading, testing and questioning code. I'm not thinking less. I'm just thinking about different things: less syntax, more decisions.&lt;/p&gt;

&lt;p&gt;That's why I don't buy either extreme. AI didn't make WordPress development obsolete, and it definitely didn't make it effortless. It just moved the job up a level, toward architecture, permissions and judgment. And now that WordPress sites can be called by agents, that's exactly where the stakes are.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;So now I'm curious about your line.&lt;/strong&gt; If you build WordPress plugins (or anything really) with AI, what's the one decision you never let it make? And has the Abilities API changed how you think about it?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>wordpress</category>
      <category>discuss</category>
    </item>
  </channel>
</rss>
