WordPress engineering skills for Claude Code. Optimize performance, audit security, develop Gutenberg blocks, and follow theme/plugin best practices. Ideal for operations teams managing WordPress sites.
git clone https://github.com/elvismdev/claude-wordpress-skills.gitClaude WordPress Skills provides five professional engineering skills for Claude Code to optimize WordPress sites and codebases. The wp-performance-review skill delivers comprehensive code reviews covering database anti-patterns, caching issues, AJAX optimization, and template performance with severity-ranked findings and fix recommendations. Additional skills address security auditing, Gutenberg block development, theme standards, and plugin architecture. Install via marketplace or locally to activate slash commands like /wp-perf-review and /wp-perf for full analysis or fast triage scans. Ideal for WordPress developers, operations teams, and agencies managing site performance and code quality.
[{"step":"Identify the specific WordPress task to automate or optimize. Common use cases include performance audits, security hardening, Gutenberg block development, or theme/plugin updates.","tip":"Use WordPress CLI (`wp`) commands for server-side operations. For example: `wp plugin update --all` or `wp db optimize`."},{"step":"Run Claude Code with the appropriate prompt template. Include the site URL and specific context like 'Audit security for [SITE_URL] using the WordPress Security Checklist v2023.'","tip":"For complex tasks, break them into smaller steps. Start with a read-only audit before making changes."},{"step":"Review the generated code or configuration changes. Test all modifications on a staging environment before applying to production.","tip":"Use `wp db query` to verify database changes or `wp option get siteurl` to confirm site settings."},{"step":"Document the changes and create automated workflows. For example, set up a GitHub Actions workflow to run weekly performance audits or security scans.","tip":"Store sensitive data (API keys, credentials) in environment variables or WordPress constants (e.g., `WP_ENVIRONMENT_TYPE`)."},{"step":"Monitor the impact of changes using tools like Query Monitor, New Relic, or WordPress's built-in Site Health tool.","tip":"Set up alerts for critical issues (e.g., failed cron jobs, plugin conflicts) using tools like UptimeRobot or WP Activity Log."}]
Comprehensive performance code reviews before WordPress site launch
Quick pre-deploy security and performance triage scans
Security auditing and hardening of themes and plugins
Gutenberg block development following best practices
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/elvismdev/claude-wordpress-skillsCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Use Claude Code to [TASK] for the WordPress site at [SITE_URL]. Ensure all changes follow WordPress coding standards and best practices. [ADDITIONAL_CONTEXT].
### Performance Optimization Report for AcmeCorp.com **Current State Analysis:** - PageSpeed Insights Score: 68 (Mobile), 82 (Desktop) - GTmetrix Waterfall: 12 blocking JavaScript resources, 8 unoptimized images - Database: 1,247 post revisions, 8 orphaned meta entries **Optimizations Implemented:** 1. **Image Optimization:** Compressed 45 product images using ShortPixel (avg reduction: 68%). Added `loading="lazy"` to all images below the fold. 2. **Asset Loading:** Deferred 11 non-critical JavaScript files using `wp_enqueue_script()` with `defer` parameter. Combined 3 CSS files into 1. 3. **Database Cleanup:** Removed 1,247 post revisions using WP-CLI (`wp post delete --force $(wp post list --post_type='revision' --format=ids)`). Optimized `_wp_session` table (reduced from 2.1MB to 14KB). 4. **Caching:** Configured Redis Object Cache via `wp-config.php` (enabled via `WP_REDIS_HOST` and `WP_CACHE_KEY_SALT`). **Results:** - PageSpeed Score: 92 (Mobile), 96 (Desktop) - 35% improvement - GTmetrix Load Time: 1.8s (down from 4.2s) - Database Size: 14MB (down from 22MB) - Memory Usage: 42MB (down from 89MB) **Next Steps:** - Implement critical CSS inlining for above-the-fold content - Configure Cloudflare APO for edge caching - Set up weekly automated database optimization via WP-CLI cron job All changes tested on staging site (acmecorp-staging.com) and deployed via GitHub Actions workflow.
Managed WordPress hosting and website builder
We create engaging workshops for companies and private events centred around plants, flowers and all things botanical.
AI assistant built for thoughtful, nuanced conversation
An AI plugin for seamless WordPress content management
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan