wp-performance

Installation
Summary

Backend-only WordPress performance profiling and optimization using WP-CLI, Query Monitor, and targeted diagnostics.

  • Detects and measures performance bottlenecks via WP-CLI doctor/profile commands, Server-Timing headers, and Query Monitor REST API integration without requiring browser access
  • Covers five optimization categories: database query reduction, autoloaded options cleanup, object cache configuration, cron task optimization, and remote HTTP call management
  • Includes safe verification workflows that compare baseline vs. post-fix measurements and validate changes against logs and doctor checks
  • Targets WordPress 6.9+ with PHP 7.2.24+; respects environment restrictions (dev/staging/prod) and requires explicit approval before write operations
SKILL.md

WP Performance (backend-only)

When to use

Use this skill when:

  • a WordPress site/page/endpoint is slow (frontend TTFB, admin, REST, WP-Cron)
  • you need a profiling plan and tooling recommendations (WP-CLI profile/doctor, Query Monitor, Xdebug/XHProf, APMs)
  • you’re optimizing DB queries, autoloaded options, object caching, cron tasks, or remote HTTP calls

This skill assumes the agent cannot use a browser UI. Prefer WP-CLI, logs, and HTTP requests.

Inputs required

  • Environment and safety: dev/staging/prod, any restrictions (no writes, no plugin installs).
  • How to target the install:
    • WP root --path=<path>
    • (multisite/site targeting) --url=<url>
  • The performance symptom and scope:
Related skills

More from wordpress/agent-skills

Installs
1.6K
GitHub Stars
1.5K
First Seen
Feb 1, 2026