Command: pre-promo-readiness-audit
Verify all promo SKUs for pricing accuracy, inventory availability, web copy consistency, and checkout operability before campaign launch.
Inputs
promo-name — The promotion or campaign identifier (e.g., "summer-sale-2026") — required
sku-list — Comma-separated or newline-separated SKU codes to audit; if empty, audit all SKUs tagged with promo-name — optional
threshold-price-delta — Org-wide maximum allowed price variance (e.g., 5% or $10.00) before requiring human approval — defaults to org setting
include-checkout — Run live checkout test with a test account if true — defaults to false
Steps
- Fetch promo configuration and retrieve all SKUs associated with promo-name or from sku-list.
- Cross-check each SKU's pricing against the promo terms; flag any variance above threshold-price-delta and mark for human review.
- Query inventory system for stock levels; alert if quantity falls below safe minimum or is zero.
- Verify web product pages display correct promo copy, discount terms, and imagery; flag mismatches or missing content.
- If include-checkout is true, run a test purchase flow (non-destructive) to confirm checkout accepts the promo code and applies discount correctly.
- Aggregate results into a pass/fail report per SKU.
Constraints
- Never apply price changes or issue refunds autonomously; price deltas above threshold-price-delta must be approved by a human operator.
- Do not modify catalog data, inventory levels, or promo configurations without explicit human approval.
- Test checkout flow must use test payment methods only; do not capture real payments.
Done when: A pass/fail readiness report for each SKU is generated, with flagged items queued for human approval.