Skip to content

WooCommerce

woo-stock-reservation-reconciliation

Reconcile WooCommerce stock reservations safely

Explains where WooCommerce stock is held, reduced or restored, then reconciles discrepancies with owner-approved corrections and rollback steps.

Area
WooCommerce
Checked against
WooCommerce 11.1.2, Action Scheduler 4.0.0, WordPress 7.1.2
Last verified
29 September 2026
Files
SKILL.md, 8 references, 5 scripts

How it works

  1. 1Record versions, stock settings, order storage, cancellation scheduling and relevant callbacks.
  2. 2Inspect reservation rows and identify which holds still affect shoppers.
  3. 3Check unpaid orders, cancellation runs and deducted units against order statuses.
  4. 4Build a per-product ledger and compare it with the owner's shelf count.
  5. 5Review each finding and proposed correction with the owner.
  6. 6Apply one approved change, then re-run the report and verify the result.

Use it when

  • Checkout reports less stock than the product page.
  • Unpaid orders keep units held or never cancel.
  • WooCommerce stock differs from the shelf count.
  • Investigating an oversell or a change to stock handling.

How it stays safe

  • Starts with read-only reports and runs scanning SQL on staging, a replica or at a quiet hour.
  • Takes a tested backup before changes and gets owner approval for each separate correction.
  • Preserves live unexpired holds and routes stock changes through WooCommerce rather than SQL.
  • Keeps personal data out of reports and removes reports, ledgers and exports after the work.

Install it

Copy the whole woo-stock-reservation-reconciliation folder into your agent's skills folder, not only SKILL.md.

git clone --depth 1 https://github.com/hamzaahmadaslam/agent-skills.git
cp -R agent-skills/woo-stock-reservation-reconciliation "<your agent's skills folder>/"

More skills in the collection

All 16 skills