Help us improve
Share bugs, ideas, or general feedback.
Reviews WooCommerce PHP backend code for standards compliance on architecture, naming, documentation, data integrity, testing, and UI text conventions like sentence case.
npx claudepluginhub secondsky/claude-skills --plugin woocommerce-code-reviewHow this skill is triggered — by the user, by Claude, or both
Slash command
/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.
Adds or modifies WooCommerce backend PHP code following project conventions for classes, methods, hooks, dependency injection, data integrity, and unit tests.
Guides WooCommerce development workflow: run PHP/JS tests with pnpm, linting, code quality checks, and fixes. Useful for testing, style issues, and dev cycle in WooCommerce projects.
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.
Share bugs, ideas, or general feedback.
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)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 skills