audit_wordpress_theme
Analyze WordPress themes for security vulnerabilities, performance issues, accessibility compliance, SEO optimization, and code quality to identify technical debt and ensure compatibility.
Instructions
Comprehensive WordPress theme audit - chains multiple analysis steps for security, performance, accessibility, SEO, and code quality
WORKFLOW: Perfect for understanding complex code, identifying issues, and technical debt assessment TIP: Use Desktop Commander to read files, then pass content here for analysis SAVES: Claude context for strategic decisions
Input Schema
Name | Required | Description | Default |
---|---|---|---|
auditDepth | No | Depth of audit analysis | comprehensive |
auditType | No | Type of audit focus | full-audit |
checkAccessibility | No | Include detailed accessibility audit | |
includeSteps | No | Analysis steps to include in theme audit | |
maxDepth | No | Maximum directory depth for analysis (1-5) | |
phpVersion | No | Target PHP version for compatibility checks | 8.0 |
projectPath | Yes | Path to WordPress theme root directory | |
themeType | No | Type of WordPress theme | classic |
wpVersion | No | Target WordPress version for compatibility checks | 6.4 |
Input Schema (JSON Schema)
{
"properties": {
"auditDepth": {
"default": "comprehensive",
"description": "Depth of audit analysis",
"enum": [
"basic",
"detailed",
"comprehensive"
],
"type": "string"
},
"auditType": {
"default": "full-audit",
"description": "Type of audit focus",
"enum": [
"security",
"performance",
"accessibility",
"seo",
"quality",
"full-audit"
],
"type": "string"
},
"checkAccessibility": {
"default": true,
"description": "Include detailed accessibility audit",
"type": "boolean"
},
"includeSteps": {
"default": [
"structure",
"security",
"performance",
"accessibility",
"quality",
"seo"
],
"description": "Analysis steps to include in theme audit",
"type": "array"
},
"maxDepth": {
"default": 4,
"description": "Maximum directory depth for analysis (1-5)",
"type": "number"
},
"phpVersion": {
"default": "8.0",
"description": "Target PHP version for compatibility checks",
"type": "string"
},
"projectPath": {
"description": "Path to WordPress theme root directory",
"type": "string"
},
"themeType": {
"default": "classic",
"description": "Type of WordPress theme",
"enum": [
"classic",
"block",
"hybrid"
],
"type": "string"
},
"wpVersion": {
"default": "6.4",
"description": "Target WordPress version for compatibility checks",
"type": "string"
}
},
"required": [
"projectPath"
],
"type": "object"
}