From woocommerce-woocommerce-code-review
Reviews WooCommerce code changes against coding standards for PHP backend, JS/TS frontend, and UI copy. Useful for local review, PR automation, and quality checks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/woocommerce-woocommerce-code-review:woocommerce-code-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Review code changes against WooCommerce coding standards and conventions.
Review code changes against WooCommerce coding standards and conventions.
Consult the woocommerce-backend-dev skill for detailed standards. Using these standards as guidance, flag these violations and other similar ones:
Architecture & Structure:
new for DI-managed classes - Classes in src/ must use $container->get() (dependency-injection.md)src/Internal/ - Default location unless explicitly public (file-entities.md)Naming & Conventions:
Documentation:
@since annotations - Required for public/protected methods and hooks (code-entities.md)Data Integrity:
Testing:
$instance in tests - Must use $sut variable name (unit-tests.md)@testdox - Required in test method docblocks (unit-tests.md)includes/ vs src/ (unit-tests.md)Architecture & Structure:
from '../', from '../../', from '../index', from '../../index') when that barrel re-exports it. Relevant to SWC TDZ / esbuild tree-shaking / tsc incremental builds. Fix: use the direct module path instead.Consult the woocommerce-copy-guidelines skill. Flag:
For each violation found:
❌ [Issue Type]: [Specific problem]
Location: [File path and line number]
Standard: [Link to relevant skill file]
Fix: [Brief explanation or example]
woocommerce-backend-dev, woocommerce-dev-cycle, and woocommerce-copy-guidelines skillsnpx claudepluginhub aiskillstore/marketplace --plugin woocommerce-woocommerce-code-reviewReviews WooCommerce PHP backend code for standards compliance on architecture, naming, documentation, data integrity, testing, and UI text conventions like sentence case.
Guides WooCommerce development workflow: run tests, fix PHP/JS code style, linting, and i18n checks. Use when making code changes.
Reviews generated or changed WooCommerce code for HPOS, checkout, payment, shipping, and order/product logic before shipping.