WordPress/wp-performance — Agent Skills | officialskills.sh
Back to skills

wp-performance

A backend-only agent skill for diagnosing and fixing WordPress performance problems.

Setup & Installation

npx skills add https://github.com/WordPress/agent-skills --skill wp-performance
or paste the link and ask your coding assistant to install it
https://github.com/WordPress/agent-skills/tree/trunk/skills/wp-performance
View on GitHub

What This Skill Does

A backend-only agent skill for diagnosing and fixing WordPress performance problems. Covers profiling with WP-CLI (profile/doctor), database query optimization, autoloaded options, object caching, cron scheduling, and remote HTTP call behavior. Works without a browser using CLI tools, REST headers, and log inspection.

Instead of guessing at bottlenecks or clicking through browser-based profilers, this skill gives a structured, reproducible workflow that works over SSH or in CI without a UI.

When to use it

  • Profiling a slow WordPress admin screen using WP-CLI profile stages
  • Finding bloated autoloaded options inflating every page's database query
  • Debugging N+1 query patterns in a custom REST API endpoint
  • Inspecting Query Monitor data headlessly via REST response headers
  • Auditing WP-Cron for duplicate or request-blocking scheduled events