๐ AIPlugin.dev โ Key Concepts
Welcome to AIPlugin.dev. This page explains the core ideas you need to understand to build WordPress plugins and themes using AI.
๐งพ PRD (Product Requirements Document)
Everything starts with a PRD.
A Product Requirements Document (PRD) is a written description of what you want your plugin or theme to do.
Think of it as:
Your idea Your instructions Your blueprint How to use it Write your PRD in any text editor Copy and paste it into the chat box Submit it to begin your build
The clearer your PRD, the better your results.
๐ฌ Asking Questions vs โ๏ธ Performing Tasks
There are two primary actions you can take in the system:
- Ask a Question โ (Arrow Button)
Use the arrow button when you want:
Clarification Explanations Suggestions Guidance
Example:
โHow should I structure my plugin to support user roles?โ
This does not modify your plugin.
- Perform a Task โ (Action Button)
Use the action button when you want to:
Build something Modify your plugin Add features Fix bugs
Example:
โAdd a settings page with a toggle for dark mode.โ
This does modify your plugin.
โ๏ธ Tasks
A task is any instruction that changes your plugin or theme.
Key characteristics of tasks: Fully automated after submission No additional input required Runs in the background Produces a new version of your plugin Workflow: Type your request into the comment box Click the Action button Watch the status update Wait for completion
Once finished:
A new plugin version is created It is available for download immediately Version number is automatically incremented ๐ Versioning
Every completed task results in:
A new version of your plugin Automatic version number updates A downloadable build
Recommended workflow:
Test new versions on a staging site Verify functionality Deploy to production ๐งฉ Plugin Naming
When your plugin is first created:
It is assigned a random name for version 1 Updating the name
After your initial PRD is submitted, you can rename your plugin using:
/update_name Your Plugin Name
Example:
/update_name AI Contact Form Pro ๐ง Mental Model
If you remember nothing else, remember this:
PRD = What you want to build Question (โ) = Learn / Ask Task (โ๏ธ) = Build / Change Result = New plugin version ๐ Summary
AIPlugin.dev is built around a simple loop:
Describe what you want (PRD or task) Choose: Ask a question โ learn Run a task โ build Receive an updated plugin Repeat