dr-robert-li/cowork-wordpress-expert/performance
Claude Code and agent skill by dr-robert-li/cowork-wordpress-expert
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Analyzes WordPress performance across database queries, PHP execution, frontend rendering, and caching layers. Use when investigating slow pages, optimizing load times, or reviewing caching strategy.
Install
npx vskill@latest install dr-robert-li/cowork-wordpress-expert/performanceSKILL.md
The same SKILL.md was published earlier as dr-robert-li/cowork-wordpress-expert/performance.
Domain 3: Performance Analysis
3.1 Database Performance
- Identify N+1 query patterns (queries inside loops)
- Flag
meta_querywithout proper indexing - Detect unnecessary
LIKE '%value%'queries (leading wildcard prevents index use) - Check for missing indexes on custom tables
- Identify excessive
wp_optionsautoloading (total autoloaded data size) - Review transient usage — orphaned or never-expiring transients
- Detect
SELECT *where specific columns would suffice - Flag
ORDER BY RAND()on large datasets - Check post revision accumulation and recommend limits
- Review
wp_postmetatable bloat
3.2 PHP Performance
- Identify expensive operations in
init,wp_loaded, oradmin_inithooks that should run conditionally - Detect heavy computation on every page load vs lazy/on-demand execution
- Flag blocking HTTP API calls without timeouts
- Identify missing object caching for repeated expensive operations
- Check for excessive use of
get_option()on non-autoloaded options (each triggers a DB query) - Detect memory-intensive operations (loading all posts, large arrays in memory)
- Review cron jobs for efficiency and proper scheduling
- Identify duplicate plugin functionality (multiple SEO plugins, multiple caching layers)
3.3 Frontend Performance
- Audit render-blocking CSS and JavaScript
- Check proper use of
wp_enqueue_script()/wp_enqueue_style()(not hardcoded in templates) - Verify scripts load in footer where possible (
in_footerparameter) - Identify scripts/styles loaded globally that should be conditional
- Check for proper async/defer attributes
- Review image optimization (WebP support, proper sizing, lazy loading)
- Identify excessive DOM size from page builder bloat
- Check for unused CSS/JS being loaded
- Verify proper use of WordPress asset dependency system
- Core Web Vitals impact assessment (LCP, FID/INP, CLS)
3.4 Caching Analysis
- Page caching configuration and effectiveness
- Object caching (Redis/Memcached) configuration
- Browser caching headers (Cache-Control, Expires, ETag)
- CDN configuration and cache hit rates
- Fragment caching for dynamic content areas
- Transient API usage patterns
- OPcache configuration for PHP
Tool Usage: Performance Analysis Commands
Database Analysis
WordPress CLI Diagnostics
Query Monitoring
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/performance/SKILL.md
Popularity
- Repository stars
- 29
- Repository forks
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dr-robert-li/cowork-wordpress-expert/performance)