orbit-wp-performance

Analyze WordPress plugin PHP code for performance bottlenecks.

2|1|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/adityaarsharma/orbit --skill orbit-wp-performance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: orbit-wp-performance
Source: https://github.com/adityaarsharma/orbit/tree/main/skills/orbit-wp-performance
Command: npx skills add https://github.com/adityaarsharma/orbit --skill orbit-wp-performance

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill identifies performance issues in WordPress plugin PHP code, helping to improve efficiency and speed.

Core Features & Use Cases

  • Performance Code Review: Analyze PHP code for issues like slow hooks, N+1 queries, and blocking assets.
  • WordPress-Specific Analysis: Focuses on WordPress hook system, WP_Query, $wpdb, asset enqueueing, caching APIs, and PHP execution cost.
  • Use Case: Use this Skill to analyze a WordPress plugin for performance bottlenecks, such as slow hooks or inefficient database queries.

Quick Start

Run the orbit-wp-performance skill on your plugin code to find and fix performance issues.

Frequently Asked Questions about orbit-wp-performance

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

FAQPage Schema
How do I find performance bottlenecks in my WordPress plugin's PHP code?

Performance code review for WordPress plugins analyzes PHP files to identify slow hooks, N+1 database queries, blocking assets, and inefficient APIs. It targets execution cost within the hook system, WP_Query, $wpdb, and asset enqueueing to improve overall plugin speed.

What causes N+1 database queries in WordPress plugins and how do I fix them?

N+1 database queries in WordPress plugins happen when PHP code executes individual $wpdb or WP_Query calls within loops. Identifying these patterns through code review allows you to refactor the logic and batch fetch data to reduce database load.

Do I need advanced WordPress development knowledge to optimize my plugin's PHP performance?

Yes, optimizing WordPress plugin performance requires advanced knowledge of WordPress development practices and PHP performance optimization techniques. Understanding the hook system, WP_Query, $wpdb, and caching APIs is necessary to identify and fix slow hooks and inefficient queries.

Can I analyze slow WordPress hooks and blocking assets for performance issues?

Yes, you can analyze slow WordPress hooks and blocking assets to pinpoint performance issues. The code review process evaluates PHP execution costs within the WordPress hook system and asset enqueueing practices to detect and resolve execution delays.

What is the best way to review a WordPress plugin for inefficient API usage?

The best way to review a WordPress plugin for inefficient API usage is to scan the PHP code for high execution cost operations, focusing on WP_Query, $wpdb, and caching APIs. This identifies slow hooks and blocking assets that degrade plugin performance.