Skills wp-performance

wp-performance

Safe 🌐 Network access⚙️ External commands🔑 Env variables

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.

Supports: Claude Codex Code(CC)
📊 69 Adequate
1

Download the skill ZIP

2

Upload in Claude

Go to Settings → Capabilities → Skills → Upload skill

3

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

Safe
v5 • 1/16/2026

This 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.

2
Files scanned
715
Lines analyzed
3
findings
5
Total audits
Audited by: claude View Audit History →

Quality Score

38
Architecture
100
Maintainability
85
Content
21
Community
100
Security
87
Spec Compliance

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

Quick Audit
Check my WordPress site performance and identify top issues affecting Core Web Vitals scores.
Image Optimization
Help me configure image optimization on my WordPress site with WebP conversion and lazy loading.
Caching Setup
Set up LiteSpeed Cache and Redis object caching for my WordPress multisite installation.
Speed Testing
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

Frequently Asked Questions

Does this skill work with all WordPress hosting providers?
Yes, the techniques work on shared hosting, VPS, and managed WordPress hosts. Some advanced features like Redis require server-level access.
What are the minimum Core Web Vitals thresholds for passing?
LCP under 2.5s, INP under 200ms, and CLS under 0.1 are considered good scores in Google PageSpeed Insights.
Can I use these optimizations with page builders like Elementor?
Yes, but additional care is needed. Disable page builder assets on pages where they are not needed and use selective loading techniques.
Is my data safe when using these optimization techniques?
All optimizations are read-only guidance. The skill does not execute code on your server or modify databases automatically.
Why is my score fluctuating between tests?
Variability is normal due to network conditions, server load, and third-party scripts. Run tests multiple times and use the median result.
How does this compare to hiring a performance expert?
This skill provides the same techniques and configuration examples. A human expert adds judgment for complex issues and faster troubleshooting.

Developer Details

File structure

📄 SKILL.md