/wp-plugin-skills:wp-performancefrom wp-plugin-skills
Profiles and optimizes WordPress backend performance using WP-CLI (profile/doctor), Query Monitor headlessly, and database/cache/cron analysis.
Ships in wp-plugin-skills. 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.
Read when SKILL.md points to them; scripts run unread.
Use this skill when:
This skill assumes the agent cannot use a browser UI. Prefer WP-CLI, logs, and HTTP requests.
--path=<path>--url=<url>curl if possibleRead:
references/measurement.mdRun:
node skills/wp-performance/scripts/perf_inspect.mjs --path=<path> [--url=<url>]This detects:
wp doctor / wp profile are availableIf you have WP-CLI access, prefer:
wp doctor checkIt catches common production foot-guns (autoload bloat, SAVEQUERIES/WP_DEBUG, plugin counts, updates).
Read:
references/wp-cli-doctor.mdPreferred order:
wp profile stage to see where time goes (bootstrap/main_query/template).wp profile hook (optionally with --url=) to find slow hooks/callbacks.wp profile eval for targeted code paths.Read:
references/wp-cli-profile.mdQuery Monitor is normally UI-driven, but it can be used headlessly via REST API response headers and _envelope responses:
x-qm-*) and/or the qm property when using ?_envelope.Read:
references/query-monitor-headless.mdUse the profile output to pick one primary bottleneck category:
references/database.mdreferences/autoload-options.mdreferences/object-cache.mdreferences/http-api.mdreferences/cron.mdwp profile / wp doctor / REST request.Be aware of these 6.9 changes when profiling:
On-demand CSS for classic themes:
Block themes with no render-blocking resources:
Inline CSS limit increased:
Reference: https://make.wordpress.org/core/2025/11/18/wordpress-6-9-frontend-performance-field-guide/
wp doctor check is clean (or improved) when applicable.--url mismatch), caches masked results, or opcode cache is staleSAVEQUERIES/Query Monitor causes overhead:
SAVEQUERIES, run load tests, or flush caches during trafficreferences/autoload-options.md (opens in a new tab)references/cron.md (opens in a new tab)references/database.md (opens in a new tab)references/http-api.md (opens in a new tab)references/measurement.md (opens in a new tab)references/object-cache.md (opens in a new tab)references/query-monitor-headless.md (opens in a new tab)references/server-timing.md (opens in a new tab)references/wp-cli-doctor.md (opens in a new tab)references/wp-cli-profile.md (opens in a new tab)scripts/perf_inspect.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub priyomukul/wp-plugin-skills --plugin wp-plugin-skills16 skills in this plugin
/blueprintUse when creating, editing, or reviewing WordPress Playground blueprint JSON files. Triggers on mentions of blueprints, playground configuration, or requests to set up a WordPress demo environment./wordpress-routerUse when the user asks about WordPress codebases (plugins, themes, block themes, Gutenberg blocks, WP core checkouts) and you need to quickly classify the repo and route to the correct workflow/skill (blocks, theme.json, REST API, WP-CLI, performance, security, testing, release packaging)./wp-abilities-apiUse when working with the WordPress Abilities API (wp_register_ability, wp_register_ability_category, /wp-json/wp-abilities/v1/*, @wordpress/abilities) including defining abilities, categories, meta, REST exposure, and permissions checks for clients.3 plugins ship this exact skill · first indexed Jun 6, 2026
Other plugins' skills for the same job