[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-wordpress-wp-performance":3,"mdc--fkqvst-key":37,"related-org-wordpress-wp-performance":864,"related-repo-wordpress-wp-performance":1059},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":26,"repoUrl":27,"updatedAt":28,"license":29,"forks":30,"topics":31,"repo":32,"sourceUrl":35,"mdContent":36},"wp-performance","investigate and improve WordPress performance","Use when investigating or improving WordPress performance (backend-only agent): profiling and measurement (WP-CLI profile\u002Fdoctor, Server-Timing, Query Monitor via REST headers), database\u002Fquery optimization, autoloaded options, object caching, cron, HTTP API calls, and safe verification.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},"wordpress","WordPress","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fwordpress.png",[12,16,19,20,23],{"name":13,"slug":14,"type":15},"Performance","performance","tag",{"name":17,"slug":18,"type":15},"Backend","backend",{"name":9,"slug":8,"type":15},{"name":21,"slug":22,"type":15},"Database","database",{"name":24,"slug":25,"type":15},"SQL","sql",1892,"https:\u002F\u002Fgithub.com\u002FWordPress\u002Fagent-skills","2026-04-06T18:58:22.909053",null,284,[],{"repoUrl":27,"stars":26,"forks":30,"topics":33,"description":34},[],"Expert-level WordPress knowledge for AI coding assistants - blocks, themes, plugins, and best practices","https:\u002F\u002Fgithub.com\u002FWordPress\u002Fagent-skills\u002Ftree\u002FHEAD\u002Fskills\u002Fwp-performance","---\nname: wp-performance\ndescription: \"Use when investigating or improving WordPress performance (backend-only agent): profiling and measurement (WP-CLI profile\u002Fdoctor, Server-Timing, Query Monitor via REST headers), database\u002Fquery optimization, autoloaded options, object caching, cron, HTTP API calls, and safe verification.\"\ncompatibility: \"Targets WordPress 7.0+ (PHP 7.4.0+). Backend-only agent; prefers WP-CLI (doctor\u002Fprofile) when available.\"\n---\n\n# WP Performance (backend-only)\n\n## When to use\n\nUse this skill when:\n\n- a WordPress site\u002Fpage\u002Fendpoint is slow (frontend TTFB, admin, REST, WP-Cron)\n- you need a profiling plan and tooling recommendations (WP-CLI profile\u002Fdoctor, Query Monitor, Xdebug\u002FXHProf, APMs)\n- you’re optimizing DB queries, autoloaded options, object caching, cron tasks, or remote HTTP calls\n\nThis skill assumes the agent cannot use a browser UI. Prefer WP-CLI, logs, and HTTP requests.\n\n## Inputs required\n\n- Environment and safety: dev\u002Fstaging\u002Fprod, any restrictions (no writes, no plugin installs).\n- How to target the install:\n  - WP root `--path=\u003Cpath>`\n  - (multisite\u002Fsite targeting) `--url=\u003Curl>`\n- The performance symptom and scope:\n  - which URL\u002FREST route\u002Fadmin screen\n  - when it happens (always vs sporadic; logged-in vs logged-out)\n\n## Procedure\n\n### 0) Guardrails: measure first, avoid risky ops\n\n1. Confirm whether you may run write operations (plugin installs, config changes, cache flush).\n2. Pick a reproducible target (URL or REST route) and capture a baseline:\n   - TTFB\u002Ftime with `curl` if possible\n   - WP-CLI profiling if available\n\nRead:\n- `references\u002Fmeasurement.md`\n\n### 1) Generate a backend-only performance report (deterministic)\n\nRun:\n\n- `node skills\u002Fwp-performance\u002Fscripts\u002Fperf_inspect.mjs --path=\u003Cpath> [--url=\u003Curl>]`\n\nThis detects:\n\n- WP-CLI availability and core version\n- whether `wp doctor` \u002F `wp profile` are available\n- autoloaded options size (if possible)\n- object-cache drop-in presence\n\n### 2) Fast wins: run diagnostics before deep profiling\n\nIf you have WP-CLI access, prefer:\n\n- `wp doctor check`\n\nIt catches common production foot-guns (autoload bloat, SAVEQUERIES\u002FWP_DEBUG, plugin counts, updates).\n\nRead:\n- `references\u002Fwp-cli-doctor.md`\n\n### 3) Deep profiling (no browser required)\n\nPreferred order:\n\n1. `wp profile stage` to see where time goes (bootstrap\u002Fmain_query\u002Ftemplate).\n2. `wp profile hook` (optionally with `--url=`) to find slow hooks\u002Fcallbacks.\n3. `wp profile eval` for targeted code paths.\n\nRead:\n- `references\u002Fwp-cli-profile.md`\n\n### 4) Query Monitor (backend-only usage)\n\nQuery Monitor is normally UI-driven, but it can be used headlessly via REST API response headers and `_envelope` responses:\n\n- Authenticate (nonce or Application Password).\n- Request REST responses and inspect headers (`x-qm-*`) and\u002For the `qm` property when using `?_envelope`.\n\nRead:\n- `references\u002Fquery-monitor-headless.md`\n\n### 5) Fix by category (choose the dominant bottleneck)\n\nUse the profile output to pick *one* primary bottleneck category:\n\n- **DB queries** → reduce query count, fix N+1 patterns, improve indexes, avoid expensive meta queries.\n  - `references\u002Fdatabase.md`\n- **Autoloaded options** → identify the biggest autoloaded options and stop autoloading large blobs.\n  - `references\u002Fautoload-options.md`\n- **Object cache misses** → introduce caching or fix cache key\u002Fgroup usage; add persistent object cache where appropriate.\n  - `references\u002Fobject-cache.md`\n- **Remote HTTP calls** → add timeouts, caching, batching; avoid calling remote APIs on every request.\n  - `references\u002Fhttp-api.md`\n- **Cron** → reduce due-now spikes, de-duplicate events, move heavy tasks out of request paths.\n  - `references\u002Fcron.md`\n\n### 6) Verify (repeat the same measurement)\n\n- Re-run the same `wp profile` \u002F `wp doctor` \u002F REST request.\n- Confirm the performance delta and that behavior is unchanged.\n- If the fix is risky, ship behind a feature flag or staged rollout when possible.\n\n## WordPress 6.9 performance improvements\n\nBe aware of these 6.9 changes when profiling:\n\n**On-demand CSS for classic themes:**\n- Classic themes now get on-demand CSS loading (previously only block themes had this).\n- Reduces CSS payload by 30-65% by only loading styles for blocks actually used on the page.\n- If you're profiling a classic theme, this should already be helping.\n\n**Block themes with no render-blocking resources:**\n- Block themes that don't define custom stylesheets (like Twenty Twenty-Three\u002FFour) can now load with zero render-blocking CSS.\n- Styles come from global styles (theme.json) and separate block styles, all inlined.\n- This significantly improves LCP (Largest Contentful Paint).\n\n**Inline CSS limit increased:**\n- The threshold for inlining small stylesheets has been raised, reducing render-blocking resources.\n\nReference: https:\u002F\u002Fmake.wordpress.org\u002Fcore\u002F2025\u002F11\u002F18\u002Fwordpress-6-9-frontend-performance-field-guide\u002F\n\n## Verification\n\n- Baseline vs after numbers are captured (same environment, same URL\u002Froute).\n- `wp doctor check` is clean (or improved) when applicable.\n- No new PHP errors or warnings in logs.\n- No cache flush is required for correctness (cache flush should be last resort).\n\n## Failure modes \u002F debugging\n\n- “No change” after code changes:\n  - you measured a different URL\u002Fsite (`--url` mismatch), caches masked results, or opcode cache is stale\n- Profiling data is noisy:\n  - eliminate background tasks, test with warmed caches, run multiple samples\n- `SAVEQUERIES`\u002FQuery Monitor causes overhead:\n  - don’t run in production unless explicitly approved\n\n## Escalation\n\n- If this is production and you don’t have explicit approval, do not:\n  - install plugins, enable `SAVEQUERIES`, run load tests, or flush caches during traffic\n- If you need system-level profiling (APM, PHP profiler extensions), coordinate with ops\u002Fhosting.\n",{"data":38,"body":40},{"name":4,"description":6,"compatibility":39},"Targets WordPress 7.0+ (PHP 7.4.0+). Backend-only agent; prefers WP-CLI (doctor\u002Fprofile) when available.",{"type":41,"children":42},"root",[43,52,59,65,85,90,96,153,159,166,201,206,218,224,229,241,246,285,291,296,308,313,317,329,335,340,384,388,400,406,419,456,460,472,478,491,605,611,642,648,653,661,679,687,705,713,721,734,740,768,774,830,836],{"type":44,"tag":45,"props":46,"children":48},"element","h1",{"id":47},"wp-performance-backend-only",[49],{"type":50,"value":51},"text","WP Performance (backend-only)",{"type":44,"tag":53,"props":54,"children":56},"h2",{"id":55},"when-to-use",[57],{"type":50,"value":58},"When to use",{"type":44,"tag":60,"props":61,"children":62},"p",{},[63],{"type":50,"value":64},"Use this skill when:",{"type":44,"tag":66,"props":67,"children":68},"ul",{},[69,75,80],{"type":44,"tag":70,"props":71,"children":72},"li",{},[73],{"type":50,"value":74},"a WordPress site\u002Fpage\u002Fendpoint is slow (frontend TTFB, admin, REST, WP-Cron)",{"type":44,"tag":70,"props":76,"children":77},{},[78],{"type":50,"value":79},"you need a profiling plan and tooling recommendations (WP-CLI profile\u002Fdoctor, Query Monitor, Xdebug\u002FXHProf, APMs)",{"type":44,"tag":70,"props":81,"children":82},{},[83],{"type":50,"value":84},"you’re optimizing DB queries, autoloaded options, object caching, cron tasks, or remote HTTP calls",{"type":44,"tag":60,"props":86,"children":87},{},[88],{"type":50,"value":89},"This skill assumes the agent cannot use a browser UI. Prefer WP-CLI, logs, and HTTP requests.",{"type":44,"tag":53,"props":91,"children":93},{"id":92},"inputs-required",[94],{"type":50,"value":95},"Inputs required",{"type":44,"tag":66,"props":97,"children":98},{},[99,104,135],{"type":44,"tag":70,"props":100,"children":101},{},[102],{"type":50,"value":103},"Environment and safety: dev\u002Fstaging\u002Fprod, any restrictions (no writes, no plugin installs).",{"type":44,"tag":70,"props":105,"children":106},{},[107,109],{"type":50,"value":108},"How to target the install:\n",{"type":44,"tag":66,"props":110,"children":111},{},[112,124],{"type":44,"tag":70,"props":113,"children":114},{},[115,117],{"type":50,"value":116},"WP root ",{"type":44,"tag":118,"props":119,"children":121},"code",{"className":120},[],[122],{"type":50,"value":123},"--path=\u003Cpath>",{"type":44,"tag":70,"props":125,"children":126},{},[127,129],{"type":50,"value":128},"(multisite\u002Fsite targeting) ",{"type":44,"tag":118,"props":130,"children":132},{"className":131},[],[133],{"type":50,"value":134},"--url=\u003Curl>",{"type":44,"tag":70,"props":136,"children":137},{},[138,140],{"type":50,"value":139},"The performance symptom and scope:\n",{"type":44,"tag":66,"props":141,"children":142},{},[143,148],{"type":44,"tag":70,"props":144,"children":145},{},[146],{"type":50,"value":147},"which URL\u002FREST route\u002Fadmin screen",{"type":44,"tag":70,"props":149,"children":150},{},[151],{"type":50,"value":152},"when it happens (always vs sporadic; logged-in vs logged-out)",{"type":44,"tag":53,"props":154,"children":156},{"id":155},"procedure",[157],{"type":50,"value":158},"Procedure",{"type":44,"tag":160,"props":161,"children":163},"h3",{"id":162},"_0-guardrails-measure-first-avoid-risky-ops",[164],{"type":50,"value":165},"0) Guardrails: measure first, avoid risky ops",{"type":44,"tag":167,"props":168,"children":169},"ol",{},[170,175],{"type":44,"tag":70,"props":171,"children":172},{},[173],{"type":50,"value":174},"Confirm whether you may run write operations (plugin installs, config changes, cache flush).",{"type":44,"tag":70,"props":176,"children":177},{},[178,180],{"type":50,"value":179},"Pick a reproducible target (URL or REST route) and capture a baseline:\n",{"type":44,"tag":66,"props":181,"children":182},{},[183,196],{"type":44,"tag":70,"props":184,"children":185},{},[186,188,194],{"type":50,"value":187},"TTFB\u002Ftime with ",{"type":44,"tag":118,"props":189,"children":191},{"className":190},[],[192],{"type":50,"value":193},"curl",{"type":50,"value":195}," if possible",{"type":44,"tag":70,"props":197,"children":198},{},[199],{"type":50,"value":200},"WP-CLI profiling if available",{"type":44,"tag":60,"props":202,"children":203},{},[204],{"type":50,"value":205},"Read:",{"type":44,"tag":66,"props":207,"children":208},{},[209],{"type":44,"tag":70,"props":210,"children":211},{},[212],{"type":44,"tag":118,"props":213,"children":215},{"className":214},[],[216],{"type":50,"value":217},"references\u002Fmeasurement.md",{"type":44,"tag":160,"props":219,"children":221},{"id":220},"_1-generate-a-backend-only-performance-report-deterministic",[222],{"type":50,"value":223},"1) Generate a backend-only performance report (deterministic)",{"type":44,"tag":60,"props":225,"children":226},{},[227],{"type":50,"value":228},"Run:",{"type":44,"tag":66,"props":230,"children":231},{},[232],{"type":44,"tag":70,"props":233,"children":234},{},[235],{"type":44,"tag":118,"props":236,"children":238},{"className":237},[],[239],{"type":50,"value":240},"node skills\u002Fwp-performance\u002Fscripts\u002Fperf_inspect.mjs --path=\u003Cpath> [--url=\u003Curl>]",{"type":44,"tag":60,"props":242,"children":243},{},[244],{"type":50,"value":245},"This detects:",{"type":44,"tag":66,"props":247,"children":248},{},[249,254,275,280],{"type":44,"tag":70,"props":250,"children":251},{},[252],{"type":50,"value":253},"WP-CLI availability and core version",{"type":44,"tag":70,"props":255,"children":256},{},[257,259,265,267,273],{"type":50,"value":258},"whether ",{"type":44,"tag":118,"props":260,"children":262},{"className":261},[],[263],{"type":50,"value":264},"wp doctor",{"type":50,"value":266}," \u002F ",{"type":44,"tag":118,"props":268,"children":270},{"className":269},[],[271],{"type":50,"value":272},"wp profile",{"type":50,"value":274}," are available",{"type":44,"tag":70,"props":276,"children":277},{},[278],{"type":50,"value":279},"autoloaded options size (if possible)",{"type":44,"tag":70,"props":281,"children":282},{},[283],{"type":50,"value":284},"object-cache drop-in presence",{"type":44,"tag":160,"props":286,"children":288},{"id":287},"_2-fast-wins-run-diagnostics-before-deep-profiling",[289],{"type":50,"value":290},"2) Fast wins: run diagnostics before deep profiling",{"type":44,"tag":60,"props":292,"children":293},{},[294],{"type":50,"value":295},"If you have WP-CLI access, prefer:",{"type":44,"tag":66,"props":297,"children":298},{},[299],{"type":44,"tag":70,"props":300,"children":301},{},[302],{"type":44,"tag":118,"props":303,"children":305},{"className":304},[],[306],{"type":50,"value":307},"wp doctor check",{"type":44,"tag":60,"props":309,"children":310},{},[311],{"type":50,"value":312},"It catches common production foot-guns (autoload bloat, SAVEQUERIES\u002FWP_DEBUG, plugin counts, updates).",{"type":44,"tag":60,"props":314,"children":315},{},[316],{"type":50,"value":205},{"type":44,"tag":66,"props":318,"children":319},{},[320],{"type":44,"tag":70,"props":321,"children":322},{},[323],{"type":44,"tag":118,"props":324,"children":326},{"className":325},[],[327],{"type":50,"value":328},"references\u002Fwp-cli-doctor.md",{"type":44,"tag":160,"props":330,"children":332},{"id":331},"_3-deep-profiling-no-browser-required",[333],{"type":50,"value":334},"3) Deep profiling (no browser required)",{"type":44,"tag":60,"props":336,"children":337},{},[338],{"type":50,"value":339},"Preferred order:",{"type":44,"tag":167,"props":341,"children":342},{},[343,354,373],{"type":44,"tag":70,"props":344,"children":345},{},[346,352],{"type":44,"tag":118,"props":347,"children":349},{"className":348},[],[350],{"type":50,"value":351},"wp profile stage",{"type":50,"value":353}," to see where time goes (bootstrap\u002Fmain_query\u002Ftemplate).",{"type":44,"tag":70,"props":355,"children":356},{},[357,363,365,371],{"type":44,"tag":118,"props":358,"children":360},{"className":359},[],[361],{"type":50,"value":362},"wp profile hook",{"type":50,"value":364}," (optionally with ",{"type":44,"tag":118,"props":366,"children":368},{"className":367},[],[369],{"type":50,"value":370},"--url=",{"type":50,"value":372},") to find slow hooks\u002Fcallbacks.",{"type":44,"tag":70,"props":374,"children":375},{},[376,382],{"type":44,"tag":118,"props":377,"children":379},{"className":378},[],[380],{"type":50,"value":381},"wp profile eval",{"type":50,"value":383}," for targeted code paths.",{"type":44,"tag":60,"props":385,"children":386},{},[387],{"type":50,"value":205},{"type":44,"tag":66,"props":389,"children":390},{},[391],{"type":44,"tag":70,"props":392,"children":393},{},[394],{"type":44,"tag":118,"props":395,"children":397},{"className":396},[],[398],{"type":50,"value":399},"references\u002Fwp-cli-profile.md",{"type":44,"tag":160,"props":401,"children":403},{"id":402},"_4-query-monitor-backend-only-usage",[404],{"type":50,"value":405},"4) Query Monitor (backend-only usage)",{"type":44,"tag":60,"props":407,"children":408},{},[409,411,417],{"type":50,"value":410},"Query Monitor is normally UI-driven, but it can be used headlessly via REST API response headers and ",{"type":44,"tag":118,"props":412,"children":414},{"className":413},[],[415],{"type":50,"value":416},"_envelope",{"type":50,"value":418}," responses:",{"type":44,"tag":66,"props":420,"children":421},{},[422,427],{"type":44,"tag":70,"props":423,"children":424},{},[425],{"type":50,"value":426},"Authenticate (nonce or Application Password).",{"type":44,"tag":70,"props":428,"children":429},{},[430,432,438,440,446,448,454],{"type":50,"value":431},"Request REST responses and inspect headers (",{"type":44,"tag":118,"props":433,"children":435},{"className":434},[],[436],{"type":50,"value":437},"x-qm-*",{"type":50,"value":439},") and\u002For the ",{"type":44,"tag":118,"props":441,"children":443},{"className":442},[],[444],{"type":50,"value":445},"qm",{"type":50,"value":447}," property when using ",{"type":44,"tag":118,"props":449,"children":451},{"className":450},[],[452],{"type":50,"value":453},"?_envelope",{"type":50,"value":455},".",{"type":44,"tag":60,"props":457,"children":458},{},[459],{"type":50,"value":205},{"type":44,"tag":66,"props":461,"children":462},{},[463],{"type":44,"tag":70,"props":464,"children":465},{},[466],{"type":44,"tag":118,"props":467,"children":469},{"className":468},[],[470],{"type":50,"value":471},"references\u002Fquery-monitor-headless.md",{"type":44,"tag":160,"props":473,"children":475},{"id":474},"_5-fix-by-category-choose-the-dominant-bottleneck",[476],{"type":50,"value":477},"5) Fix by category (choose the dominant bottleneck)",{"type":44,"tag":60,"props":479,"children":480},{},[481,483,489],{"type":50,"value":482},"Use the profile output to pick ",{"type":44,"tag":484,"props":485,"children":486},"em",{},[487],{"type":50,"value":488},"one",{"type":50,"value":490}," primary bottleneck category:",{"type":44,"tag":66,"props":492,"children":493},{},[494,517,539,561,583],{"type":44,"tag":70,"props":495,"children":496},{},[497,503,505],{"type":44,"tag":498,"props":499,"children":500},"strong",{},[501],{"type":50,"value":502},"DB queries",{"type":50,"value":504}," → reduce query count, fix N+1 patterns, improve indexes, avoid expensive meta queries.\n",{"type":44,"tag":66,"props":506,"children":507},{},[508],{"type":44,"tag":70,"props":509,"children":510},{},[511],{"type":44,"tag":118,"props":512,"children":514},{"className":513},[],[515],{"type":50,"value":516},"references\u002Fdatabase.md",{"type":44,"tag":70,"props":518,"children":519},{},[520,525,527],{"type":44,"tag":498,"props":521,"children":522},{},[523],{"type":50,"value":524},"Autoloaded options",{"type":50,"value":526}," → identify the biggest autoloaded options and stop autoloading large blobs.\n",{"type":44,"tag":66,"props":528,"children":529},{},[530],{"type":44,"tag":70,"props":531,"children":532},{},[533],{"type":44,"tag":118,"props":534,"children":536},{"className":535},[],[537],{"type":50,"value":538},"references\u002Fautoload-options.md",{"type":44,"tag":70,"props":540,"children":541},{},[542,547,549],{"type":44,"tag":498,"props":543,"children":544},{},[545],{"type":50,"value":546},"Object cache misses",{"type":50,"value":548}," → introduce caching or fix cache key\u002Fgroup usage; add persistent object cache where appropriate.\n",{"type":44,"tag":66,"props":550,"children":551},{},[552],{"type":44,"tag":70,"props":553,"children":554},{},[555],{"type":44,"tag":118,"props":556,"children":558},{"className":557},[],[559],{"type":50,"value":560},"references\u002Fobject-cache.md",{"type":44,"tag":70,"props":562,"children":563},{},[564,569,571],{"type":44,"tag":498,"props":565,"children":566},{},[567],{"type":50,"value":568},"Remote HTTP calls",{"type":50,"value":570}," → add timeouts, caching, batching; avoid calling remote APIs on every request.\n",{"type":44,"tag":66,"props":572,"children":573},{},[574],{"type":44,"tag":70,"props":575,"children":576},{},[577],{"type":44,"tag":118,"props":578,"children":580},{"className":579},[],[581],{"type":50,"value":582},"references\u002Fhttp-api.md",{"type":44,"tag":70,"props":584,"children":585},{},[586,591,593],{"type":44,"tag":498,"props":587,"children":588},{},[589],{"type":50,"value":590},"Cron",{"type":50,"value":592}," → reduce due-now spikes, de-duplicate events, move heavy tasks out of request paths.\n",{"type":44,"tag":66,"props":594,"children":595},{},[596],{"type":44,"tag":70,"props":597,"children":598},{},[599],{"type":44,"tag":118,"props":600,"children":602},{"className":601},[],[603],{"type":50,"value":604},"references\u002Fcron.md",{"type":44,"tag":160,"props":606,"children":608},{"id":607},"_6-verify-repeat-the-same-measurement",[609],{"type":50,"value":610},"6) Verify (repeat the same measurement)",{"type":44,"tag":66,"props":612,"children":613},{},[614,632,637],{"type":44,"tag":70,"props":615,"children":616},{},[617,619,624,625,630],{"type":50,"value":618},"Re-run the same ",{"type":44,"tag":118,"props":620,"children":622},{"className":621},[],[623],{"type":50,"value":272},{"type":50,"value":266},{"type":44,"tag":118,"props":626,"children":628},{"className":627},[],[629],{"type":50,"value":264},{"type":50,"value":631}," \u002F REST request.",{"type":44,"tag":70,"props":633,"children":634},{},[635],{"type":50,"value":636},"Confirm the performance delta and that behavior is unchanged.",{"type":44,"tag":70,"props":638,"children":639},{},[640],{"type":50,"value":641},"If the fix is risky, ship behind a feature flag or staged rollout when possible.",{"type":44,"tag":53,"props":643,"children":645},{"id":644},"wordpress-69-performance-improvements",[646],{"type":50,"value":647},"WordPress 6.9 performance improvements",{"type":44,"tag":60,"props":649,"children":650},{},[651],{"type":50,"value":652},"Be aware of these 6.9 changes when profiling:",{"type":44,"tag":60,"props":654,"children":655},{},[656],{"type":44,"tag":498,"props":657,"children":658},{},[659],{"type":50,"value":660},"On-demand CSS for classic themes:",{"type":44,"tag":66,"props":662,"children":663},{},[664,669,674],{"type":44,"tag":70,"props":665,"children":666},{},[667],{"type":50,"value":668},"Classic themes now get on-demand CSS loading (previously only block themes had this).",{"type":44,"tag":70,"props":670,"children":671},{},[672],{"type":50,"value":673},"Reduces CSS payload by 30-65% by only loading styles for blocks actually used on the page.",{"type":44,"tag":70,"props":675,"children":676},{},[677],{"type":50,"value":678},"If you're profiling a classic theme, this should already be helping.",{"type":44,"tag":60,"props":680,"children":681},{},[682],{"type":44,"tag":498,"props":683,"children":684},{},[685],{"type":50,"value":686},"Block themes with no render-blocking resources:",{"type":44,"tag":66,"props":688,"children":689},{},[690,695,700],{"type":44,"tag":70,"props":691,"children":692},{},[693],{"type":50,"value":694},"Block themes that don't define custom stylesheets (like Twenty Twenty-Three\u002FFour) can now load with zero render-blocking CSS.",{"type":44,"tag":70,"props":696,"children":697},{},[698],{"type":50,"value":699},"Styles come from global styles (theme.json) and separate block styles, all inlined.",{"type":44,"tag":70,"props":701,"children":702},{},[703],{"type":50,"value":704},"This significantly improves LCP (Largest Contentful Paint).",{"type":44,"tag":60,"props":706,"children":707},{},[708],{"type":44,"tag":498,"props":709,"children":710},{},[711],{"type":50,"value":712},"Inline CSS limit increased:",{"type":44,"tag":66,"props":714,"children":715},{},[716],{"type":44,"tag":70,"props":717,"children":718},{},[719],{"type":50,"value":720},"The threshold for inlining small stylesheets has been raised, reducing render-blocking resources.",{"type":44,"tag":60,"props":722,"children":723},{},[724,726],{"type":50,"value":725},"Reference: ",{"type":44,"tag":727,"props":728,"children":732},"a",{"href":729,"rel":730},"https:\u002F\u002Fmake.wordpress.org\u002Fcore\u002F2025\u002F11\u002F18\u002Fwordpress-6-9-frontend-performance-field-guide\u002F",[731],"nofollow",[733],{"type":50,"value":729},{"type":44,"tag":53,"props":735,"children":737},{"id":736},"verification",[738],{"type":50,"value":739},"Verification",{"type":44,"tag":66,"props":741,"children":742},{},[743,748,758,763],{"type":44,"tag":70,"props":744,"children":745},{},[746],{"type":50,"value":747},"Baseline vs after numbers are captured (same environment, same URL\u002Froute).",{"type":44,"tag":70,"props":749,"children":750},{},[751,756],{"type":44,"tag":118,"props":752,"children":754},{"className":753},[],[755],{"type":50,"value":307},{"type":50,"value":757}," is clean (or improved) when applicable.",{"type":44,"tag":70,"props":759,"children":760},{},[761],{"type":50,"value":762},"No new PHP errors or warnings in logs.",{"type":44,"tag":70,"props":764,"children":765},{},[766],{"type":50,"value":767},"No cache flush is required for correctness (cache flush should be last resort).",{"type":44,"tag":53,"props":769,"children":771},{"id":770},"failure-modes-debugging",[772],{"type":50,"value":773},"Failure modes \u002F debugging",{"type":44,"tag":66,"props":775,"children":776},{},[777,798,811],{"type":44,"tag":70,"props":778,"children":779},{},[780,782],{"type":50,"value":781},"“No change” after code changes:\n",{"type":44,"tag":66,"props":783,"children":784},{},[785],{"type":44,"tag":70,"props":786,"children":787},{},[788,790,796],{"type":50,"value":789},"you measured a different URL\u002Fsite (",{"type":44,"tag":118,"props":791,"children":793},{"className":792},[],[794],{"type":50,"value":795},"--url",{"type":50,"value":797}," mismatch), caches masked results, or opcode cache is stale",{"type":44,"tag":70,"props":799,"children":800},{},[801,803],{"type":50,"value":802},"Profiling data is noisy:\n",{"type":44,"tag":66,"props":804,"children":805},{},[806],{"type":44,"tag":70,"props":807,"children":808},{},[809],{"type":50,"value":810},"eliminate background tasks, test with warmed caches, run multiple samples",{"type":44,"tag":70,"props":812,"children":813},{},[814,820,822],{"type":44,"tag":118,"props":815,"children":817},{"className":816},[],[818],{"type":50,"value":819},"SAVEQUERIES",{"type":50,"value":821},"\u002FQuery Monitor causes overhead:\n",{"type":44,"tag":66,"props":823,"children":824},{},[825],{"type":44,"tag":70,"props":826,"children":827},{},[828],{"type":50,"value":829},"don’t run in production unless explicitly approved",{"type":44,"tag":53,"props":831,"children":833},{"id":832},"escalation",[834],{"type":50,"value":835},"Escalation",{"type":44,"tag":66,"props":837,"children":838},{},[839,859],{"type":44,"tag":70,"props":840,"children":841},{},[842,844],{"type":50,"value":843},"If this is production and you don’t have explicit approval, do not:\n",{"type":44,"tag":66,"props":845,"children":846},{},[847],{"type":44,"tag":70,"props":848,"children":849},{},[850,852,857],{"type":50,"value":851},"install plugins, enable ",{"type":44,"tag":118,"props":853,"children":855},{"className":854},[],[856],{"type":50,"value":819},{"type":50,"value":858},", run load tests, or flush caches during traffic",{"type":44,"tag":70,"props":860,"children":861},{},[862],{"type":50,"value":863},"If you need system-level profiling (APM, PHP profiler extensions), coordinate with ops\u002Fhosting.",{"items":865,"total":1058},[866,877,894,908,937,958,978,994,1007,1022,1030,1043],{"slug":867,"name":867,"fn":868,"description":869,"org":870,"tags":871,"stars":26,"repoUrl":27,"updatedAt":876},"blueprint","create WordPress Playground blueprint files","Use when the deliverable is WordPress Playground Blueprint JSON or a Blueprint bundle, including creating, editing, reviewing, validating schema keys, choosing steps\u002Fresources, and debugging Blueprint files. For only running or sharing a Playground environment, use wp-playground.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[872,873],{"name":9,"slug":8,"type":15},{"name":874,"slug":875,"type":15},"WordPress Playground","wordpress-playground","2026-07-27T06:08:32.306955",{"slug":878,"name":878,"fn":879,"description":880,"org":881,"tags":882,"stars":26,"repoUrl":27,"updatedAt":893},"wordpress-router","route WordPress codebase tasks","Use 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\u002Fskill (blocks, theme.json, REST API, WP-CLI, performance, security, testing, release packaging).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[883,886,889,890],{"name":884,"slug":885,"type":15},"Engineering","engineering",{"name":887,"slug":888,"type":15},"Triage","triage",{"name":9,"slug":8,"type":15},{"name":891,"slug":892,"type":15},"Workflow Automation","workflow-automation","2026-04-06T18:58:21.644368",{"slug":895,"name":895,"fn":896,"description":897,"org":898,"tags":899,"stars":26,"repoUrl":27,"updatedAt":907},"wp-abilities-api","manage WordPress Abilities API definitions","Use when working with the WordPress Abilities API (wp_register_ability, wp_register_ability_category, \u002Fwp-json\u002Fwp-abilities\u002Fv1\u002F*, @wordpress\u002Fabilities) including defining abilities, categories, meta, REST exposure, and permissions checks for clients.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[900,903,906],{"name":901,"slug":902,"type":15},"Access Control","access-control",{"name":904,"slug":905,"type":15},"API Development","api-development",{"name":9,"slug":8,"type":15},"2026-04-06T18:58:17.857773",{"slug":909,"name":909,"fn":910,"description":911,"org":912,"tags":913,"stars":26,"repoUrl":27,"updatedAt":936},"wp-abilities-audit","audit WordPress plugins for Abilities API registration","Audit a WordPress plugin's REST surface and produce a standardized audit document proposing Abilities API registrations. Produces a markdown doc with a YAML schema and prose sections that humans and agents can both consume when planning a registration rollout. Works on any WP plugin.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[914,917,920,923,926,929,932,933],{"name":915,"slug":916,"type":15},"Abilities API","abilities-api",{"name":918,"slug":919,"type":15},"Audit","audit",{"name":921,"slug":922,"type":15},"Code Analysis","code-analysis",{"name":924,"slug":925,"type":15},"Documentation","documentation",{"name":927,"slug":928,"type":15},"Plugin Development","plugin-development",{"name":930,"slug":931,"type":15},"REST API","rest-api",{"name":9,"slug":8,"type":15},{"name":934,"slug":935,"type":15},"YAML","yaml","2026-05-28T06:48:49.361753",{"slug":938,"name":938,"fn":939,"description":940,"org":941,"tags":942,"stars":26,"repoUrl":27,"updatedAt":957},"wp-abilities-verify","verify WordPress plugin Abilities API registrations","Verify a WordPress plugin's Abilities API registrations: enumerate abilities, check that callback behavior matches each annotation's claim (the adversarial readonly-but-writes detection), validate permissions and schemas, and validate audit documents produced by wp-abilities-audit.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[943,944,945,946,947,950,953,956],{"name":915,"slug":916,"type":15},{"name":921,"slug":922,"type":15},{"name":927,"slug":928,"type":15},{"name":930,"slug":931,"type":15},{"name":948,"slug":949,"type":15},"Security","security",{"name":951,"slug":952,"type":15},"Testing","testing",{"name":954,"slug":955,"type":15},"Validation","validation",{"name":9,"slug":8,"type":15},"2026-05-28T06:48:50.590811",{"slug":959,"name":959,"fn":960,"description":961,"org":962,"tags":963,"stars":26,"repoUrl":27,"updatedAt":977},"wp-block-development","develop WordPress Gutenberg blocks","Use when developing WordPress (Gutenberg) blocks: block.json metadata, register_block_type(_from_metadata), attributes\u002Fserialization, supports, dynamic rendering (render.php\u002Frender_callback), deprecations\u002Fmigrations, viewScript vs viewScriptModule, and @wordpress\u002Fscripts\u002F@wordpress\u002Fcreate-block build and test workflows.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[964,967,970,973,976],{"name":965,"slug":966,"type":15},"Frontend","frontend",{"name":968,"slug":969,"type":15},"PHP","php",{"name":971,"slug":972,"type":15},"React","react",{"name":974,"slug":975,"type":15},"UI Components","ui-components",{"name":9,"slug":8,"type":15},"2026-04-06T18:58:24.172876",{"slug":979,"name":979,"fn":980,"description":981,"org":982,"tags":983,"stars":26,"repoUrl":27,"updatedAt":993},"wp-block-themes","develop WordPress block themes","Use when developing WordPress block themes: theme.json (global settings\u002Fstyles), templates and template parts, patterns, style variations, and Site Editor troubleshooting (style hierarchy, overrides, caching).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[984,987,988,991,992],{"name":985,"slug":986,"type":15},"Design","design",{"name":965,"slug":966,"type":15},{"name":989,"slug":990,"type":15},"Themes","themes",{"name":974,"slug":975,"type":15},{"name":9,"slug":8,"type":15},"2026-04-06T18:58:27.909889",{"slug":995,"name":995,"fn":996,"description":997,"org":998,"tags":999,"stars":26,"repoUrl":27,"updatedAt":1006},"wp-interactivity-api","build interactive features with WordPress Interactivity API","Use when building or debugging WordPress Interactivity API features (data-wp-* directives, @wordpress\u002Finteractivity store\u002Fstate\u002Factions, block viewScriptModule integration, wp_interactivity_*()) including performance, hydration, and directive behavior.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1000,1001,1002,1005],{"name":904,"slug":905,"type":15},{"name":965,"slug":966,"type":15},{"name":1003,"slug":1004,"type":15},"JavaScript","javascript",{"name":9,"slug":8,"type":15},"2026-04-06T18:58:20.397676",{"slug":1008,"name":1008,"fn":1009,"description":1010,"org":1011,"tags":1012,"stars":26,"repoUrl":27,"updatedAt":1021},"wp-patterns","generate WordPress block patterns","Generate technically correct, design-distinctive WordPress block patterns. Use when creating block patterns, starter page patterns, template patterns, template part patterns, or improving pattern design quality. Covers pattern registration (PHP headers, auto\u002Fmanual), block markup syntax, theme.json design tokens, categories, template types, accessibility, and i18n\u002Fescaping.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1013,1016,1017,1020],{"name":1014,"slug":1015,"type":15},"Block Editor","block-editor",{"name":985,"slug":986,"type":15},{"name":1018,"slug":1019,"type":15},"Templates","templates",{"name":9,"slug":8,"type":15},"2026-07-24T05:38:43.101238",{"slug":4,"name":4,"fn":5,"description":6,"org":1023,"tags":1024,"stars":26,"repoUrl":27,"updatedAt":28},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1025,1026,1027,1028,1029],{"name":17,"slug":18,"type":15},{"name":21,"slug":22,"type":15},{"name":13,"slug":14,"type":15},{"name":24,"slug":25,"type":15},{"name":9,"slug":8,"type":15},{"slug":1031,"name":1031,"fn":1032,"description":1033,"org":1034,"tags":1035,"stars":26,"repoUrl":27,"updatedAt":1042},"wp-phpstan","run PHPStan static analysis on WordPress projects","Use when configuring, running, or fixing PHPStan static analysis in WordPress projects (plugins\u002Fthemes\u002Fsites): phpstan.neon setup, baselines, WordPress-specific typing, and handling third-party plugin classes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1036,1037,1038,1041],{"name":921,"slug":922,"type":15},{"name":968,"slug":969,"type":15},{"name":1039,"slug":1040,"type":15},"QA","qa",{"name":9,"slug":8,"type":15},"2026-04-06T18:58:15.318063",{"slug":1044,"name":1044,"fn":1045,"description":1046,"org":1047,"tags":1048,"stars":26,"repoUrl":27,"updatedAt":1057},"wp-playground","manage WordPress Playground instances","Use as the WordPress Playground routing wrapper for ambiguous Playground work, local CLI runs with @wp-playground\u002Fcli, playground.wordpress.net share links, browser previews, snapshots, mounts, version switching, and Xdebug. For Blueprint JSON authoring or review, use the blueprint skill directly.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1049,1052,1055,1056],{"name":1050,"slug":1051,"type":15},"Local Development","local-development",{"name":1053,"slug":1054,"type":15},"Sandboxing","sandboxing",{"name":9,"slug":8,"type":15},{"name":874,"slug":875,"type":15},"2026-07-27T06:08:31.31025",18,{"items":1060,"total":1058},[1061,1066,1073,1079,1090,1101,1109],{"slug":867,"name":867,"fn":868,"description":869,"org":1062,"tags":1063,"stars":26,"repoUrl":27,"updatedAt":876},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1064,1065],{"name":9,"slug":8,"type":15},{"name":874,"slug":875,"type":15},{"slug":878,"name":878,"fn":879,"description":880,"org":1067,"tags":1068,"stars":26,"repoUrl":27,"updatedAt":893},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1069,1070,1071,1072],{"name":884,"slug":885,"type":15},{"name":887,"slug":888,"type":15},{"name":9,"slug":8,"type":15},{"name":891,"slug":892,"type":15},{"slug":895,"name":895,"fn":896,"description":897,"org":1074,"tags":1075,"stars":26,"repoUrl":27,"updatedAt":907},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1076,1077,1078],{"name":901,"slug":902,"type":15},{"name":904,"slug":905,"type":15},{"name":9,"slug":8,"type":15},{"slug":909,"name":909,"fn":910,"description":911,"org":1080,"tags":1081,"stars":26,"repoUrl":27,"updatedAt":936},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1082,1083,1084,1085,1086,1087,1088,1089],{"name":915,"slug":916,"type":15},{"name":918,"slug":919,"type":15},{"name":921,"slug":922,"type":15},{"name":924,"slug":925,"type":15},{"name":927,"slug":928,"type":15},{"name":930,"slug":931,"type":15},{"name":9,"slug":8,"type":15},{"name":934,"slug":935,"type":15},{"slug":938,"name":938,"fn":939,"description":940,"org":1091,"tags":1092,"stars":26,"repoUrl":27,"updatedAt":957},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1093,1094,1095,1096,1097,1098,1099,1100],{"name":915,"slug":916,"type":15},{"name":921,"slug":922,"type":15},{"name":927,"slug":928,"type":15},{"name":930,"slug":931,"type":15},{"name":948,"slug":949,"type":15},{"name":951,"slug":952,"type":15},{"name":954,"slug":955,"type":15},{"name":9,"slug":8,"type":15},{"slug":959,"name":959,"fn":960,"description":961,"org":1102,"tags":1103,"stars":26,"repoUrl":27,"updatedAt":977},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1104,1105,1106,1107,1108],{"name":965,"slug":966,"type":15},{"name":968,"slug":969,"type":15},{"name":971,"slug":972,"type":15},{"name":974,"slug":975,"type":15},{"name":9,"slug":8,"type":15},{"slug":979,"name":979,"fn":980,"description":981,"org":1110,"tags":1111,"stars":26,"repoUrl":27,"updatedAt":993},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1112,1113,1114,1115,1116],{"name":985,"slug":986,"type":15},{"name":965,"slug":966,"type":15},{"name":989,"slug":990,"type":15},{"name":974,"slug":975,"type":15},{"name":9,"slug":8,"type":15}]