elvismdev/claude-wordpress-skills

Professional WordPress engineering skills for Claude Code - performance optimization, security auditing, Gutenberg block development, and theme/plugin best practices.

License:MITLanguage:N/A420
ai-toolsclaude-codeclaude-skillsperformance-analysissecurity-auditwordpresswordpress-development

Deep Analysis

Professional WordPress performance code review and optimization analysis skill for Claude Code CLI

Core Features

Technical Implementation

Highlights
  • Covers multiple WordPress performance optimization dimensions (database, caching, AJAX, templates, PHP, JS, Gutenberg)
  • Supports multiple installation methods (marketplace subscription, local clone, submodule integration)
Use Cases
  • WordPress theme and plugin performance optimization
  • Discover potential performance issues during code review
  • Learn WordPress performance best practices
Limitations
  • Currently only wp-performance-review skill available, other 4 skills (security review, Gutenberg, theme development, plugin development) still in development
Tech Stack
Claude Code Skills FrameworkWordPressPHPJavaScriptBlock Editor/Gutenberg

Claude WordPress Skills

Professional WordPress engineering skills for Claude Code - performance optimization, security auditing, Gutenberg block development, and theme/plugin best practices.

Available Skills

Skill Description Status
wp-performance-review Performance code review and optimization analysis βœ…
wp-security-review Security audit and hardening code review 🚧
wp-gutenberg-blocks Block Editor / Gutenberg development 🚧
wp-theme-development Theme development best practices 🚧
wp-plugin-development Plugin architecture and standards 🚧

Installation

Option 1: Add as Marketplace

Subscribe to receive all skills and updates (Recommended):

# In Claude Code CLI
/plugin marketplace add elvismdev/claude-wordpress-skills

# Install specific skills
/plugin install claude-wordpress-skills@claude-wordpress-skills

Option 2: Clone Locally

git clone https://github.com/elvismdev/claude-wordpress-skills.git ~/.claude/plugins/wordpress

Option 3: Add to Project

Add as a git submodule for team-wide access:

# In your project root
git submodule add https://github.com/elvismdev/claude-wordpress-skills.git .claude/plugins/wordpress
git commit -m "Add WordPress Claude skills"

Team members get the skills automatically when they clone or update the repo.

Option 4: Copy Individual Skills

Download and extract specific skills:

# Copy just the performance review skill
cp -r skills/wp-performance-review ~/.claude/skills/

Slash Commands

When installed, these commands become available:

Command Description
/wp-perf-review [path] Full WordPress performance code review with detailed analysis and fixes
/wp-perf [path] Quick triage scan using grep patterns (fast, critical issues only)

Usage Examples

# Full review of current directory
/wp-perf-review

# Full review of specific plugin
/wp-perf-review wp-content/plugins/my-plugin

# Quick scan of a theme (fast triage)
/wp-perf wp-content/themes/my-theme

# Quick scan to check for critical issues before deploy
/wp-perf .

Command Comparison

Aspect /wp-perf-review /wp-perf
Speed Thorough (slower) Fast triage
Depth Full analysis + fixes Critical patterns only
Output Grouped by severity with line numbers Quick list of matches
Use case Code review, PR review, optimization Pre-deploy check, quick audit

When installed via marketplace, commands are namespaced:

/claude-wordpress-skills:wp-perf-review [path]
/claude-wordpress-skills:wp-perf [path]

Natural Language Usage

Skills also activate automatically based on context. Just ask naturally:

Review this plugin for performance issues
Audit this theme for scalability problems
Check this code for slow database queries
Help me optimize this WP_Query
Check my theme before launch
Find anti-patterns in this plugin

Claude will detect the context and apply the appropriate skill.

Trigger Phrases

Skill Trigger Phrases
wp-performance-review "performance review", "optimization audit", "slow WordPress", "slow queries", "scale WordPress", "high-traffic", "code review", "before launch", "anti-patterns", "timeout", "500 error", "out of memory"

What's Included

wp-performance-review

Comprehensive performance code review covering:

  • Database Query Anti-Patterns - Unbounded queries, missing WHERE clauses, slow LIKE patterns, NOT IN performance
  • Hooks & Actions - Expensive code on init, database writes on page load, inefficient hook placement
  • Caching Issues - Uncached function calls, object cache patterns, transient best practices
  • AJAX & External Requests - admin-ajax.php alternatives, polling patterns, HTTP timeouts
  • Template Performance - N+1 queries, get_template_part optimization
  • PHP Code Patterns - in_array() performance, heredoc escaping issues
  • JavaScript Bundles - Full library imports, defer/async strategies
  • Block Editor - registerBlockStyle overhead, InnerBlocks handling
  • Platform Guidance - Patterns for WordPress VIP, WP Engine, Pantheon, self-hosted

Output includes severity levels (Critical/Warning/Info) with line numbers and fix recommendations.

Requirements

  • Claude Code CLI installed
  • Skills are loaded automatically - no additional dependencies

Contributing

🀝 Super welcome to contributions, please! See CONTRIBUTING.md for guidelines.

Ways to contribute:

  • πŸ› Report issues or incorrect/deprecated advice
  • πŸ’‘ Suggest new anti-patterns or best practices
  • πŸ“ Improve documentation or examples
  • πŸ”§ Submit new skills

License

MIT License β€” see LICENSE for details.

Changelog

See CHANGELOG.md for version history.


Note: These skills represent community best practices for WordPress development and are not affiliated with or endorsed by any specific company or platform. Some patterns reflect my own experience with WordPress and from years of working alongside engineers far smarter than me - so bias is inevitable. Contributions are always welcome; I'm genuinely curious to hear different approaches and learn together.

Highly Recommended
agents

wshobson/agents

wshobson

Intelligent automation and multi-agent orchestration for Claude Code

The most comprehensive Claude Code plugin ecosystem, covering full-stack development scenarios with a three-tier model strategy balancing performance and cost.

25.6k2.8k3 days ago
Highly Recommended
awesome-claude-skills

ComposioHQ/awesome-claude-skills

ComposioHQ

A curated list of awesome Claude Skills, resources, and tools for customizing Claude AI workflows

The most comprehensive Claude Skills resource list; connect-apps is a killer feature.

19.9k2.0k3 days ago
Recommended
oh-my-opencode

code-yeongyu/oh-my-opencode

code-yeongyu

The Best Agent Harness. Meet Sisyphus: The Batteries-Included Agent that codes like you.

Powerful multi-agent coding tool, but note OAuth limitations.

17.5k1.2k3 days ago
Highly Recommended
ui-ux-pro-max-skill

nextlevelbuilder/ui-ux-pro-max-skill

nextlevelbuilder

An AI SKILL that provide design intelligence for building professional UI/UX multiple platforms

Essential for designers; comprehensive UI/UX knowledge base.

15.3k1.5k3 days ago
Recommended
claude-mem

thedotmack/claude-mem

thedotmack

A Claude Code plugin that automatically captures everything Claude does during your coding sessions, compresses it with AI (using Claude's agent-sdk), and injects relevant context back into future sessions.

A practical solution for Claude's memory issues.

14.0k9143 days ago
Highly Recommended
planning-with-files

OthmanAdi/planning-with-files

OthmanAdi

Claude Code skill implementing Manus-style persistent markdown planning β€” the workflow pattern behind the $2B acquisition.

Context engineering best practices; an open-source implementation of Manus mode.

9.3k8113 days ago