wp-performance
Optimize WordPress for Core Web Vitals
Also available from: Automattic
Slow WordPress sites hurt user experience and search rankings. This skill provides proven techniques for image compression, caching configuration, asset optimization, and speed testing to achieve excellent Core Web Vitals scores.
Download the skill ZIP
Upload in Claude
Go to Settings → Capabilities → Skills → Upload skill
Toggle on and start using
Test it
Using "wp-performance". How can I improve my WordPress site LCP score?
Expected outcome:
- LCP (Largest Contentful Paint) optimization checklist:
- Compress hero image to WebP format under 100KB
- Preload the LCP image with <link rel="preload">
- Enable server-side caching with 7-day TTL
- Defer non-critical JavaScript to prevent render blocking
- Use a CDN with Brotli compression enabled
- Consider upgrading to Redis object cache for database queries
Using "wp-performance". Set up caching for my WordPress site
Expected outcome:
- Recommended caching configuration:
- Enable LiteSpeed Cache in plugin settings
- Set page cache TTL to 604800 seconds (7 days)
- Configure browser cache TTL to 31557600 seconds (1 year)
- Enable Redis object cache for high-traffic sites
- Add cache headers in .htaccess for static assets
- Clear cache automatically when content updates
Security Audit
SafeThis is a documentation-only skill providing WordPress optimization guidance. All static findings are false positives: video codec references (H.264/H.265) are not cryptographic algorithms, shell commands are legitimate examples (FFmpeg, WP-CLI, Lighthouse) for optimization tasks, and API key placeholders (YOUR_API_KEY) are documentation examples for legitimate testing tools (PageSpeed Insights, WebPageTest). No executable code, credential exfiltration, or malicious patterns exist.
Risk Factors
🌐 Network access (14)
⚙️ External commands (39)
🔑 Env variables (4)
Quality Score
What You Can Build
Performance Audits
Conduct comprehensive performance audits and implement optimization strategies for client websites.
Core Web Vitals Fixes
Diagnose and fix specific LCP, INP, and CLS issues to pass Google ranking signals.
Caching Infrastructure
Configure server-level caching, CDN delivery, and database optimization for high-traffic sites.
Try These Prompts
Check my WordPress site performance and identify top issues affecting Core Web Vitals scores.
Help me configure image optimization on my WordPress site with WebP conversion and lazy loading.
Set up LiteSpeed Cache and Redis object caching for my WordPress multisite installation.
Create an automated speed testing script using PageSpeed Insights API that runs daily and reports metrics.
Best Practices
- Always test performance changes on a staging site before deploying to production
- Use the PageSpeed Insights API to establish baseline metrics before and after optimizations
- Combine multiple optimization techniques together for cumulative performance gains
Avoid
- Installing too many optimization plugins that conflict with each other
- Enabling aggressive minification without testing for broken layouts
- Setting extremely long cache TTLs without proper cache invalidation strategies