superpowers-sage:wp-performance

Diagnose WordPress/Sage performance bottlenecks using Query Monitor measurements.

13|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/hekivo/superpowers-sage --skill superpowers-sage-wp-performance-hekivo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: superpowers-sage:wp-performance
Source: https://github.com/hekivo/superpowers-sage/tree/main/skills/wp-performance
Command: npx skills add https://github.com/hekivo/superpowers-sage --skill superpowers-sage-wp-performance-hekivo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

It helps you diagnose and eliminate WordPress performance issues by turning slow pages into measurable bottlenecks before making changes.

Core Features & Use Cases

  • Query Monitor-first performance profiling: Install Query Monitor in Lando and use its panels to locate slow queries, duplicate queries (N+1), slow hooks, and HTTP/API delays.
  • Database and query optimization playbooks: Apply targeted fixes for slow queries, missing indexes, autoloaded options bloat, and meta loading patterns (including N+1 remediation).
  • Caching and Core Web Vitals remediation: Verify Redis/object cache behavior, define cache invalidation rules, and reduce CWV regressions (LCP/INP/CLS) with practical Sage/Vite-focused guidance.

Quick Start

Run the skill to install Query Monitor in your Sage project, capture a baseline page report, and then apply the top fix (N+1, autoload bloat, caching/invalidation, or CWV changes) followed by a before/after verification.

Frequently Asked Questions about superpowers-sage:wp-performance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find and fix slow WordPress database queries and N+1 patterns?

To fix slow WordPress database queries and N+1 patterns, use Query Monitor panels to locate duplicate queries and apply targeted optimization steps like adding missing indexes or remediating meta loading patterns.

What is the best way to profile WordPress performance bottlenecks in a Sage theme?

The best way to profile WordPress performance bottlenecks in a Sage theme is installing Query Monitor in Lando to measure TTFB, identify slow SQL queries, and capture baseline page reports for before and after benchmarking.

How do I reduce Core Web Vitals regressions like LCP, INP, and CLS in Vite?

To reduce Core Web Vitals regressions like LCP, INP, and CLS in Vite, apply practical Sage-focused frontend guidance to target rendering bottlenecks and verify the improvements with before and after benchmarking.

Why does my WordPress site have a low Redis object cache hit rate?

A low Redis object cache hit rate often stems from autoloaded options bloat or undefined cache invalidation rules, which you can diagnose by running autoload audits and verifying cache behavior with Query Monitor.

Do I need Lando to use Query Monitor for WordPress performance profiling?

You need Lando as your local environment to install Query Monitor and effectively profile WordPress performance, capturing baseline page reports and dumping query data to identify database, hook, and caching bottlenecks.

What are the safety guardrails when optimizing WordPress performance?

The safety guardrails when optimizing WordPress performance require benchmarking before and after making changes, documenting cache invalidation rules, and ensuring all fixes are verified against the initial Query Monitor baseline measurements.