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.gitWordPress 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.
[{"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."}]
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.
We create engaging workshops for companies and private events centred around plants, flowers and all things botanical.
Managed WordPress hosting and website builder
AI assistant built for thoughtful, nuanced conversation
IronCalc is a spreadsheet engine and ecosystem
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