wordpress-performance-best-practices

Installation
Summary

WordPress performance optimization guidelines across database, caching, assets, and plugin architecture.

  • 34 rules organized by impact across 8 categories: database optimization, caching strategies, asset management, theme performance, plugin architecture, media optimization, API/AJAX, and advanced patterns
  • Covers critical areas including WP_Query optimization, transient and object cache usage, proper asset enqueueing, and REST API caching
  • Designed for code review and generation workflows, with rule prefixes (db-, cache-, asset-, etc.) for quick reference during development
  • Each rule includes explanations, incorrect/correct code examples, and context to guide WordPress plugin, theme, and custom code development
SKILL.md

WordPress Performance Best Practices

Comprehensive performance optimization guide for WordPress development, designed for AI agents and LLMs. Contains 34 rules across 8 categories, prioritized by impact to guide code review and generation.

When to Apply

Reference these guidelines when:

  • Writing WordPress plugins or themes
  • Working with WP_Query or database operations
  • Implementing caching (transients, object cache)
  • Optimizing asset loading (scripts, styles)
  • Reviewing WordPress code for performance issues
  • Working with REST API or AJAX handlers

Rule Categories by Priority

Installs
418
GitHub Stars
10
First Seen
Jan 20, 2026