wordpress_theme_from_static
Convert static HTML/CSS/JS websites into functional WordPress themes with smart template detection for production-ready code generation.
Instructions
Convert static HTML/CSS/JS sites into fully functional WordPress themes with smart template detection
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 analysis detail for theme conversion | comprehensive |
analysisType | No | Type of theme conversion to perform | comprehensive |
code | No | HTML content to convert (for single-file analysis) | |
filePath | No | Path to HTML file to convert | |
files | No | Array of specific static site files to analyze | |
includeCustomizer | No | Include WordPress Customizer options | |
includeGutenberg | No | Include Gutenberg block support | |
includeMenus | No | Include dynamic WordPress menus | |
includeSidebars | No | Include WordPress sidebar/widget areas | |
includeWooCommerce | No | Include WooCommerce template support | |
language | No | Primary language (HTML/PHP for WordPress themes) | html |
maxDepth | No | Maximum directory depth for static site discovery (1-5) | |
projectPath | No | Path to static site directory (for multi-file analysis) | |
themeAuthor | No | Theme author name | Theme Generator |
themeDescription | No | Theme description | WordPress theme generated from static site |
themeName | No | WordPress theme name | Custom Static Theme |
themeVersion | No | Theme version | 1.0.0 |
url | No | Single URL to analyze for theme conversion | |
urls | No | Array of URLs to analyze for theme conversion (e.g., home, blog, about pages) |
Input Schema (JSON Schema)
{
"properties": {
"analysisDepth": {
"default": "comprehensive",
"description": "Level of analysis detail for theme conversion",
"enum": [
"basic",
"detailed",
"comprehensive"
],
"type": "string"
},
"analysisType": {
"default": "comprehensive",
"description": "Type of theme conversion to perform",
"enum": [
"simple",
"responsive",
"comprehensive"
],
"type": "string"
},
"code": {
"description": "HTML content to convert (for single-file analysis)",
"type": "string"
},
"filePath": {
"description": "Path to HTML file to convert",
"type": "string"
},
"files": {
"description": "Array of specific static site files to analyze",
"type": "array"
},
"includeCustomizer": {
"default": true,
"description": "Include WordPress Customizer options",
"type": "boolean"
},
"includeGutenberg": {
"default": true,
"description": "Include Gutenberg block support",
"type": "boolean"
},
"includeMenus": {
"default": true,
"description": "Include dynamic WordPress menus",
"type": "boolean"
},
"includeSidebars": {
"default": true,
"description": "Include WordPress sidebar/widget areas",
"type": "boolean"
},
"includeWooCommerce": {
"default": false,
"description": "Include WooCommerce template support",
"type": "boolean"
},
"language": {
"default": "html",
"description": "Primary language (HTML/PHP for WordPress themes)",
"type": "string"
},
"maxDepth": {
"default": 3,
"description": "Maximum directory depth for static site discovery (1-5)",
"type": "number"
},
"projectPath": {
"description": "Path to static site directory (for multi-file analysis)",
"type": "string"
},
"themeAuthor": {
"default": "Theme Generator",
"description": "Theme author name",
"type": "string"
},
"themeDescription": {
"default": "WordPress theme generated from static site",
"description": "Theme description",
"type": "string"
},
"themeName": {
"default": "Custom Static Theme",
"description": "WordPress theme name",
"type": "string"
},
"themeVersion": {
"default": "1.0.0",
"description": "Theme version",
"type": "string"
},
"url": {
"description": "Single URL to analyze for theme conversion",
"type": "string"
},
"urls": {
"description": "Array of URLs to analyze for theme conversion (e.g., home, blog, about pages)",
"type": "array"
}
},
"required": [],
"type": "object"
}