generate_wordpress_plugin
Create a production-ready WordPress plugin structure with essential files, tests, and documentation. Customize features, admin interfaces, REST API endpoints, and Gutenberg blocks. Streamline plugin development with iterative, locally generated code for review.
Instructions
Generate a complete WordPress plugin structure with all necessary files and best practices
WORKFLOW: Ideal for creating production-ready code, tests, and documentation TIP: Generate unlimited iterations locally, then review with Claude SAVES: Claude context for strategic decisions
Input Schema
Name | Required | Description | Default |
---|---|---|---|
analysisDepth | No | Level of plugin generation detail | comprehensive |
analysisType | No | Type of plugin generation to perform | comprehensive |
code | No | Existing plugin code to analyze (for single-file analysis) | |
description | Yes | Plugin description | |
features | Yes | List of features to include | |
filePath | No | Path to existing plugin file to analyze | |
files | No | Array of specific plugin files to analyze (for multi-file analysis) | |
includeAdmin | No | Include admin interface | |
includeAjax | No | Include AJAX handlers | |
includeDatabase | No | Include database tables | |
includeGutenberg | No | Include Gutenberg blocks | |
includeRest | No | Include REST API endpoints | |
language | No | Programming language (PHP for WordPress) | php |
maxDepth | No | Maximum directory depth for plugin analysis (1-5) | |
name | Yes | Plugin name | |
phpVersion | No | Minimum PHP version | 7.4 |
prefix | Yes | Plugin prefix for functions and classes (e.g., "wp_my_plugin") | |
projectPath | No | Path to existing plugin project root (for multi-file analysis) | |
textDomain | No | Text domain for internationalization | |
wpVersion | No | Minimum WordPress version | 6.0 |