woocommerce-code-review
SKILL.md
WooCommerce Code Review
Review code changes against WooCommerce coding standards and conventions.
Critical Violations to Flag
Backend PHP Code
Consult the woocommerce-backend-dev skill for detailed standards. Using these standards as guidance, flag these violations and other similar ones:
Architecture & Structure:
- Standalone functions - Must use class methods (file-entities.md)
- Using
newfor DI-managed classes - Classes insrc/must use$container->get()(dependency-injection.md) - Classes outside
src/Internal/- Default location unless explicitly public (file-entities.md)
Naming & Conventions: