wp-patterns

Analyze WordPress theme, plugin, data, and integration architecture against best practices.

27|1|Updated Feb 16, 2026
One-click install
npx skills add https://github.com/dr-robert-li/cowork-wordpress-expert --skill wp-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wp-patterns
Source: https://github.com/dr-robert-li/cowork-wordpress-expert/tree/main/skills/wp-patterns
Command: npx skills add https://github.com/dr-robert-li/cowork-wordpress-expert --skill wp-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps evaluate and improve the underlying structure and design choices of WordPress themes and plugins, ensuring best practices are followed for maintainability, scalability, and security.

Core Features & Use Cases

  • Theme Architecture Review: Assesses child theme configuration, template hierarchy, and functions.php organization.
  • Plugin Architecture Review: Examines plugin structure, hook implementation, database interactions, and API usage.
  • Data Architecture Review: Evaluates choices between CPTs, custom tables, and meta storage, along with database schema best practices.
  • Integration Architecture Review: Checks external API integrations, background processing, and adherence to WordPress HTTP API patterns.
  • Use Case: Before deploying a custom-built WordPress plugin, use this Skill to perform a thorough architectural audit to identify potential issues and ensure it aligns with WordPress development standards.

Quick Start

Use the wp-patterns skill to review the architecture of a custom WordPress theme.

Frequently Asked Questions about wp-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit a custom WordPress plugin against best practices?

To audit a custom WordPress plugin, review its hook implementation, database interactions, and API usage. This validates the plugin structure aligns with WordPress development standards for maintainability and security before deployment.

What is the best way to structure a WordPress child theme?

A sound WordPress child theme structure requires proper template hierarchy and functions.php organization. Reviewing theme architecture ensures proper configuration and adherence to WordPress standards for scalable design.

When should I use custom tables instead of CPTs for WordPress data modeling?

Use custom tables for WordPress data modeling when handling large datasets requiring complex queries, otherwise use Custom Post Types (CPTs) and meta storage. Evaluate data architecture choices against database schema best practices.

How does WordPress background processing work with external API integrations?

WordPress background processing handles external API integrations by utilizing the WordPress HTTP API patterns. Checking integration architecture validates that background tasks and external requests adhere to standard practices.

Can I review database schema standards for a custom WordPress plugin?

Yes, you can review database schema standards for a custom WordPress plugin. Evaluating data architecture choices ensures interactions with the database follow WordPress best practices for data modeling and security.