/wordpress-expert:wp-patternsfrom wordpress-expert
Reviews WordPress architecture patterns including theme structure, plugin design, data modeling, and integration design. Use when evaluating custom themes/plugins or integration choices.
Ships in wordpress-expert. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
functions.php not bloated — heavy logic moved to includes/classesadd_theme_support()) appropriatedbDelta() and proper versioningdbDelta() for creation and updateswp_remote_get(), wp_remote_post())wp_mail() with proper hooks for SMTP configuration// Good: Using wp_remote_get with timeout and error handling
$response = wp_remote_get( 'https://api.example.com/data', [
'timeout' => 15,
'headers' => [
'Authorization' => 'Bearer ' . get_option('api_key')
]
] );
if ( is_wp_error( $response ) ) {
error_log( 'API request failed: ' . $response->get_error_message() );
return false;
}
$body = wp_remote_retrieve_body( $response );
$data = json_decode( $body );
// Cache the result
set_transient( 'api_data_cache', $data, HOUR_IN_SECONDS );
# Verify core files against official checksums
wp core verify-checksums
# Check WordPress version
wp core version
# List all plugins with version and status
wp plugin list --format=csv
# Verify plugin checksums (for plugins from wordpress.org)
wp plugin verify-checksums --all
# List all scheduled cron events
wp cron event list
# List cron schedules
wp cron schedule list
# Run overdue cron events
wp cron event run --due-now
# Optimize database tables
wp db optimize
# Repair database tables
wp db repair
# Check database size
wp db size --tables
# Export database
wp db export
# Delete expired transients
wp transient delete --expired
# Delete all transients (nuclear option)
wp transient delete --all
# List transients
wp transient list
# Flush rewrite rules
wp rewrite flush
# List all rewrite rules
wp rewrite list
# Check rewrite structure
wp rewrite structure
# Check autoloaded options size (performance impact)
wp db query "SELECT option_name, LENGTH(option_value) as size FROM wp_options WHERE autoload='yes' ORDER BY size DESC LIMIT 20;"
# Count orphaned transients
wp db query "SELECT COUNT(*) FROM wp_postmeta WHERE meta_key LIKE '_transient_%';"
# Count post revisions
wp db query "SELECT COUNT(*) FROM wp_posts WHERE post_type='revision';"
# Find large post meta entries
wp db query "SELECT post_id, meta_key, LENGTH(meta_value) as size FROM wp_postmeta ORDER BY size DESC LIMIT 20;"
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
38 skills in this plugin
/accessibilityEvaluates WordPress sites against WCAG compliance and data privacy requirements. Use when auditing accessibility, reviewing GDPR compliance, or checking privacy implementations./build-contentInstall relevant WP.org plugins, generate AI placeholder content (pages, posts, menus), create placeholder images, and re-export the database for NL builds/build-gitInitialize git repository at build root, generate dynamic .gitignore excluding WP core and known components, commit after each build stage with conventional prefixesClaude Code refuses to install this plugin
.claude-plugin/plugin.json: commands.batch: Command must have either "source" (file path) or "content" (inline markdown), but not both, commands.build: Command must have either "source" (file path) or "content" (inline markdown), but not both, commands.connect: Command must have either "source" (file path) or "content" (inline markdown), but not both, commands.diagnose: Command must have either "source" (file path) or "content" (inline markdown), but not both, commands.investigate: Command must have either "source" (file path) or "content" (inline markdown), but not both, commands.modify: Command must have either "source" (file path) or "content" (inline markdown), but not both, commands.status: Command must have either "source" (file path) or "content" (inline markdown), but not both, skills: Invalid input
.claude-plugin/plugin.json: commands.batch: Command must have either "source" (file path) or "content" (inline markdown), but not both, commands.build: Command must have either "source" (file path) or "content" (inline markdown), but not both, commands.connect: Command must have either "source" (file path) or "content" (inline markdown), but not both, commands.diagnose: Command must have either "source" (file path) or "content" (inline markdown), but not both, commands.investigate: Command must have either "source" (file path) or "content" (inline markdown), but not both, commands.modify: Command must have either "source" (file path) or "content" (inline markdown), but not both, commands.status: Command must have either "source" (file path) or "content" (inline markdown), but not both, skills: Invalid input
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
Other plugins' skills for the same job