wp-perf
The wp-perf command performs rapid WordPress performance diagnostics by executing pattern-based searches across specified directories to identify critical issues. Use this command during initial triage when you need quick detection of common performance problems before committing to deeper analysis with the more comprehensive wp-perf-review command.
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/elvismdev/claude-wordpress-skills/HEAD/commands/wp-perf.md -o ~/.claude/commands/wp-perf.mdwp-perf.md
Use the **wp-performance-review** skill to perform a quick triage scan. **Target**: $ARGUMENTS (if empty, use current working directory) Focus only on the "Search Patterns for Quick Detection" section—run the grep commands to find critical issues fast. Report matches with file:line references and severity levels. Skip deep analysis. If critical issues are found, suggest running `/wp-perf-review` for comprehensive analysis with fixes.
WordPress performance code review - detects database anti-patterns, caching issues, hook problems, and scalability concerns
WordPress performance code review and optimization analysis. Use when reviewing WordPress PHP code for performance issues, auditing themes/plugins for scalability, optimizing WP_Query, analyzing caching strategies, checking code before launch, or detecting anti-patterns, or when user mentions "performance review", "optimization audit", "slow WordPress", "slow queries", "high-traffic", "scale WordPress", "code review", "timeout", "500 error", "out of memory", or "site won't load". Detects anti-patterns in database queries, hooks, object caching, AJAX, and template loading.