Back to Marketplace
🔌
Marketplace / Developer / Plugin Assistant

Plugin Assistant

By Agentic Community 37 downloads
Free

🔌 Plugin Assistant

> Creates complete WordPress plugins from natural language descriptions. Generates WPCS-compliant code with security best practices.

FieldValue
Slugplugin-assistant
Version1.1.0
CategoryDeveloper
AuthorAgentic Community
Required Capabilitiesmanage_options

What It Does

Plugin Assistant turns plain English descriptions into fully functional WordPress plugins. Describe what you need — a custom post type, a settings page, a REST API endpoint, a shortcode — and it generates production-ready code that follows WordPress Coding Standards (WPCS).

The agent uses a template-based code generation system with 27 specialised PHP templates covering custom post types, taxonomies, settings pages, REST endpoints, AJAX handlers, shortcodes, admin menus, database tables, meta boxes, and uninstall routines. Every generated plugin includes proper file headers, security hardening (nonces, capability checks, input sanitisation, output escaping), activation/deactivation hooks, and translation-ready strings.

Tools

ToolRiskDescription
create_plugin_scaffoldHighGenerate a complete plugin or MU plugin scaffold. Regular plugins get a full directory structure; MU plugins get a single self-contained file in wp-content/mu-plugins/.
generate_custom_post_typeNoneGenerate code for a custom post type with labels, arguments, and optional meta boxes with custom fields.
generate_taxonomyNoneGenerate code for a custom taxonomy with labels, arguments, and optional hierarchy.
generate_settings_pageNoneGenerate a WordPress settings page with sections, fields, and sanitisation callbacks.
generate_shortcodeNoneGenerate a shortcode handler with attributes, default values, and output buffering.
generate_rest_endpointNoneGenerate a WordPress REST API endpoint with permission callbacks, argument validation, and response formatting.
generate_admin_menuNoneGenerate admin menu and submenu page registration with capability checks.
generate_uninstallNoneGenerate an uninstall routine that cleans up options, custom tables, and post type data.
generate_ajax_handlerNoneGenerate a WordPress AJAX handler with nonce verification, capability checks, and JSON response.
generate_database_tableNoneGenerate a custom database table with dbDelta migration, column definitions, and indexes.
validate_plugin_codeNoneValidate generated plugin code for syntax errors, security issues, and WPCS compliance.
save_plugin_fileHighWrite a generated PHP file to wp-content/plugins/ or wp-content/mu-plugins/. Set mu_plugin: true for must-use plugins.

Example Prompts

  • "Create a plugin that adds a Testimonials custom post type with fields for name, company, and quote"
  • "Build a plugin with a settings page for a Google Analytics tracking ID"
  • "Make a shortcode that displays a countdown timer to a specific date"
  • "Create a REST API endpoint that returns the 5 most popular posts"
  • "Build a plugin that adds a custom database table for event registrations"
  • "Create an MU plugin that disables XML-RPC"
  • "Build a must-use plugin that adds custom admin footer text"

How It Works

  1. Describe your plugin in plain English — what it should do, what features it needs
  2. Plugin Assistant generates the code using its template library, combining the right templates for your requirements
  3. Review the generated code — the agent shows you the complete plugin with explanation
  4. Approve the scaffold — the code is written to your wp-content/plugins/ directory (or wp-content/mu-plugins/ for MU plugins)
  5. Activate and test — go to Plugins, activate your new plugin, and verify it works. MU plugins activate automatically — no activation step needed

MU Plugins

Plugin Assistant can create must-use (MU) plugins — single-file plugins that live in wp-content/mu-plugins/ and load automatically on every page. MU plugins:

  • Load before regular plugins — ideal for custom functionality that must always run
  • Cannot be deactivated from the WordPress admin — remove the file to disable
  • Single-file — all code lives in one PHP file, no subdirectory
  • Common uses: disable XML-RPC, custom login redirects, admin branding, security hardening, performance tweaks

Ask Plugin Assistant to "create an MU plugin" and it handles the single-file format automatically.

Template Library

Plugin Assistant includes 27 code templates covering:

  • Plugin structure — main file with headers, activation hooks, text domain
  • Custom Post Types — full registration with labels, supports, meta boxes
  • Taxonomies — hierarchical and flat, with term meta
  • Settings — options pages with sections, fields, sanitisation
  • REST API — endpoints with auth, validation, schema
  • AJAX — handlers with nonce verification and capability checks
  • Shortcodes — with attributes and output buffering
  • Admin menus — top-level and submenu pages
  • Database tables — dbDelta migrations with indexes
  • Meta boxes — custom fields with save handlers
  • Uninstall — clean removal of all plugin data

_Generated by Agent Builder for WordPress_

Share this agent