Guide
How to review a WooCommerce extension with Claude Code
WooCommerce extensions need more than a generic plugin review. Modern reviews should check HPOS compatibility, correct use of WooCommerce CRUD objects, payment gateway flows, Action Scheduler patterns, checkout performance, and whether template overrides preserve hooks.
Start with the WooCommerce-specific command
/wordpress-skills:wp-woo-review wp-content/plugins/my-woo-extension
Use the fast version when you want triage first:
/wordpress-skills:wp-woo wp-content/plugins/my-woo-extension
What this review should cover
1. HPOS compatibility
- Compatibility declaration during
before_woocommerce_init - No direct post or postmeta access for orders
- Use of WooCommerce CRUD methods instead of legacy order queries
2. Payment and checkout safety
- Nonce and capability handling for admin settings
- Secure payment gateway callbacks and webhook handling
- No unsafe assumptions about order state transitions
3. Performance and job execution
- Action Scheduler used for async work instead of misusing WP-Cron
- No heavy checkout-time queries or remote calls
- Cart fragments and frontend assets only loaded where needed
4. Template and hook quality
- Template overrides preserve WooCommerce hooks
- Version tracking on overridden templates
- Extension behavior stays compatible with blocks and modern checkout flows
Related commands to use during a release review
/wordpress-skills:wp-sec-reviewfor deeper security checks/wordpress-skills:wp-perf-reviewfor slow query and request profiling heuristics/wordpress-skills:wp-migration-reviewfor schema or upgrade routines/wordpress-skills:wp-test-reviewto turn findings into a WooCommerce regression plan
Example review output
Critical — Direct order post access breaks HPOS compatibility
- File: includes/class-sync-orders.php:144
- Why it matters: modern WooCommerce stores can persist orders outside wp_posts
- Fix: replace direct post queries with WC_Order / wc_get_order / wc_get_orders patterns
Warning — Checkout callback schedules remote sync during request lifecycle
- File: includes/class-checkout-sync.php:93
- Why it matters: slow remote calls can degrade checkout completion and retries
- Fix: enqueue async work through Action Scheduler and persist retry state
Good natural-language prompts
Review this WooCommerce extension for HPOS issues
Check this payment gateway for order lifecycle risks
Audit this checkout customization for performance problems
Review these WooCommerce template overrides before release