What problem does it solve? Overselling occurs when orders are placed for out-of-stock items, especially during flash sales or high-concurrency checkouts, leading to cancellations, refunds, and inventory corruption. This Skill provides platform-specific setup guidance and production-grade code patterns for reserving stock atomically, releasing reservations idempotently, and expiring abandoned cart holds. ## Core Features & Use Cases - Platform Setup Guides: Step-by-step inventory configuration for Shopify, WooCommerce, BigCommerce, and custom/headless stacks, including multi-location stock and backorder settings. - Atomic Reservation Logic: TypeScript implementations using optimistic concurrency control with version-based locking, retry loops, and idempotent release to prevent overselling under load. - Cart Expiry & Audit Logging: Background job patterns that reclaim inventory from stale carts and an immutable transaction log for diagnosing discrepancies. - Use Case: A streetwear brand launching a limited-edition drop uses the reservation function to ensure the last unit of each size cannot be purchased twice, while a cron job releases stock held by carts inactive for over 30 minutes. ## Quick Start Ask the AI to set up real-time inventory tracking with oversell protection and backorder support for your Shopify, WooCommerce, BigCommerce, or custom store.