Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Reviews new or changed WooCommerce code for HPOS compatibility, checkout validation, pricing, hook safety and money-critical failures.
82% 86%+5 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 18 of 22 without it.
We added a custom tax identification field to the checkout page. Is validating the input format purely in JavaScript on the front end sufficient for checkout security?
Recommends enforcing server-side validation using woocommerce_checkout_process or Store API schemas
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
High-Performance Order Storage moved orders out of wp_posts/wp_postmeta into dedicated tables, and it is the default on new stores. Code that treats orders as posts returns empty results or stale data on HPOS stores — silently, with no error. Code written "from memory" almost always targets the legacy storage, because that is what most training-era tutorials show.
// Wrong — assumes orders are posts. Fails on HPOS.
$total = get_post_meta( $order_id, '_order_total', true );
$orders = get_posts( array( 'post_type' => 'shop_order', 'numberposts' => 20 ) );
// Right — storage-agnostic CRUD API.
$order = wc_get_order( $order_id );
$total = $order ? $order->get_total() : 0;
$orders = wc_get_orders( array( 'status' => 'wc-processing', 'limit' => 20 ) );
wc_get_orders() takes its own argument schema (not WP_Query args): limit, status, customer_id, date_created, version-dependent meta_query for metadata and field_query for order properties (distinct APIs; check storage support). Never run an unbounded order query — always set a limit (wp-guard covers query discipline in depth when installed).
$order = wc_get_order( $order_id );
if ( ! $order ) {
throw new \InvalidArgumentException( 'Order not found' );
}
$order->update_meta_data( '_ncs_sync_status', 'queued' );
$order->save(); // persists to whichever storage backend is active
Published skills whose descriptions closely match this one, with their benchmark result.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.