WP-Autoplugin/wp-autoplugin

Quickly create functional plugins from simple descriptions, addressing specific needs without unnecessary bloat.

What it solves

WP-Autoplugin integrates an agentic coding workflow directly into the WordPress admin, allowing users to create, modify, and understand plugins and themes without leaving the site or manually moving code between an editor and the browser. It eliminates the risk of breaking live sites by staging changes in a separate workspace and requiring explicit administrator approval before release.

How it works

The tool uses a "Plan → Code → Review" pipeline powered by LLMs (via OpenAI, Anthropic, Google Gemini, xAI, or ChatGPT subscriptions).

  1. Plan: The agent analyzes the request and creates a versioned implementation plan and file map.
  2. Code: The agent generates code as immutable revisions. For existing projects, it uses bounded search-and-replace operations to avoid unnecessary rewrites.
  3. Review: An AI Reviewer evaluates the specific revision, providing a structured report with findings ranked by severity (P0-P3).

To avoid oversized prompts, the agent uses read-only source tools to progressively explore the codebase, inspecting metadata, searching text, and discovering WordPress hooks. Changes are staged separately and can be released as new plugins, forks, or direct modifications.

Who it’s for

WordPress developers and site administrators who want to automate the creation of plugins, fix bugs in existing themes/plugins, or extend third-party code via hooks without compromising site stability.

Highlights

  • Source-Aware Exploration: Progressively reads only relevant sections of the codebase rather than sending the entire project in every prompt.
  • Safe Staging: Code is never written to live files until an administrator approves the release.
  • Flexible Release Options: Supports building ZIPs, installing inactive plugins, creating forks, or applying direct modifications with rollback capabilities.
  • Vision Support: Allows users to upload screenshots or mockups to guide the AI in recreating interfaces or fixing layout issues.
  • BYOK (Bring Your Own Key): Compatible with multiple major AI providers and an experimental ChatGPT subscription flow.

Related

  • Project
  • Project
  • Project
  • Project
  • Dispatch