/wordpress-expert:performancefrom wordpress-expert
Analyzes WordPress performance across database queries, PHP execution, frontend rendering, and caching. Use when investigating slow pages, optimizing load times, or reviewing caching strategy.
Ships in wordpress-expert. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
meta_query without proper indexingLIKE '%value%' queries (leading wildcard prevents index use)wp_options autoloading (total autoloaded data size)SELECT * where specific columns would sufficeORDER BY RAND() on large datasetswp_postmeta table bloatinit, wp_loaded, or admin_init hooks that should run conditionallyget_option() on non-autoloaded options (each triggers a DB query)wp_enqueue_script() / wp_enqueue_style() (not hardcoded in templates)in_footer parameter)# Analyze autoloaded options size
wp db query "SELECT option_name, LENGTH(option_value) as size FROM wp_options WHERE autoload='yes' ORDER BY size DESC LIMIT 20;"
# Count orphaned transients
wp db query "SELECT COUNT(*) FROM wp_postmeta WHERE meta_key LIKE '_transient_%';"
# Count post revisions
wp db query "SELECT COUNT(*) FROM wp_posts WHERE post_type='revision';"
# Analyze wp_postmeta table size
wp db query "SELECT COUNT(*) as total_rows, SUM(LENGTH(meta_value)) as total_size FROM wp_postmeta;"
# Find slow queries (requires query log enabled)
wp db query "SELECT * FROM mysql.slow_log ORDER BY query_time DESC LIMIT 10;"
# Database optimization
wp db optimize
wp db repair
# Transient cleanup
wp transient delete --expired
wp transient delete --all
# Cron inspection
wp cron event list
wp cron schedule list
# Cache management
wp cache flush
wp cache type # Show cache type (Redis, Memcached, etc.)
# Enable Query Monitor plugin for development
wp plugin install query-monitor --activate
# Check for slow queries in debug log
tail -f /path/to/wp-content/debug.log | grep "Slow query"
What SKILL.md sets; muted values are Claude Code's defaults
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: commands.batch: Command must have either "source" (file path) or "content" (inline markdown), but not both, commands.build: Command must have either "source" (file path) or "content" (inline markdown), but not both, commands.connect: Command must have either "source" (file path) or "content" (inline markdown), but not both, commands.diagnose: Command must have either "source" (file path) or "content" (inline markdown), but not both, commands.investigate: Command must have either "source" (file path) or "content" (inline markdown), but not both, commands.modify: Command must have either "source" (file path) or "content" (inline markdown), but not both, commands.status: Command must have either "source" (file path) or "content" (inline markdown), but not both, skills: Invalid input
.claude-plugin/plugin.json: commands.batch: Command must have either "source" (file path) or "content" (inline markdown), but not both, commands.build: Command must have either "source" (file path) or "content" (inline markdown), but not both, commands.connect: Command must have either "source" (file path) or "content" (inline markdown), but not both, commands.diagnose: Command must have either "source" (file path) or "content" (inline markdown), but not both, commands.investigate: Command must have either "source" (file path) or "content" (inline markdown), but not both, commands.modify: Command must have either "source" (file path) or "content" (inline markdown), but not both, commands.status: Command must have either "source" (file path) or "content" (inline markdown), but not both, skills: Invalid input
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
38 skills in this plugin
/accessibilityEvaluates WordPress sites against WCAG compliance and data privacy requirements. Use when auditing accessibility, reviewing GDPR compliance, or checking privacy implementations./build-contentInstall relevant WP.org plugins, generate AI placeholder content (pages, posts, menus), create placeholder images, and re-export the database for NL builds/build-gitInitialize git repository at build root, generate dynamic .gitignore excluding WP core and known components, commit after each build stage with conventional prefixes/build-mcpInstall, activate, and configure the WordPress MCP adapter in a build — copy from vendor/, activate via WP-CLI, re-export the database, write README.md, and update build.json/build-modifySession-aware per-step execution engine for /modify — surgical theme edits, WP-CLI content/plugin changes, lazy Docker startup, and versioned output on session completion/build-scaffoldScaffold a blank WordPress installation with Docker MySQL, WP-CLI, SQL export, zip packaging, and build.json manifestOther plugins' skills for the same job