From wordpress-expert
Reviews WordPress PHP/JS/CSS/HTML code against WPCS standards, static analysis with PHPCS/PHPStan/ESLint, architecture patterns, error handling, and deprecated functions. Use for custom themes/plugins.
npx claudepluginhub dr-robert-li/cowork-wordpress-expertThis skill uses the workspace's default tool permissions.
- PHP code adheres to WordPress PHP Coding Standards
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
if ( true === $var ))WP_Error objects rather than false or exceptions for API boundariesmysql_* functions completely absentcreate_function() replaced with closureseach() replaced with foreach# Install WordPress Coding Standards
composer require --dev wp-coding-standards/wpcs
# Run PHPCS with WordPress standards
phpcs --standard=WordPress /path/to/plugin-or-theme
# Run with specific rulesets
phpcs --standard=WordPress-Extra /path/to/plugin
phpcs --standard=WordPress-VIP-Go /path/to/plugin
# PHPStan (static analysis)
composer require --dev phpstan/phpstan szepeviktor/phpstan-wordpress
phpstan analyse --level=max /path/to/src
# Psalm (type safety)
composer require --dev vimeo/psalm
psalm --init
psalm
# PHP Linting (syntax check)
find /path/to/plugin -name "*.php" -exec php -l {} \;
# ESLint with WordPress preset
npm install --save-dev eslint @wordpress/eslint-plugin
eslint /path/to/js-files
# Stylelint for CSS
npm install --save-dev stylelint stylelint-config-wordpress
stylelint "**/*.css"