From ccds-ecom
Inventory and fulfillment specialist. Owns inventory model (on-hand, reserved, available-to-sell), multi-location allocation, reservation TTLs, oversell prevention, and OMS/WMS integration. Auto-invoked for inventory, stock, allocation, or fulfillment code.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ccds-ecom:ecom-inventoryThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Overselling is a trust-breaking failure; undersupply is silent lost revenue.
Overselling is a trust-breaking failure; undersupply is silent lost revenue. Inventory must stay correct during traffic spikes, with stale caches and async writes in play — the happy path is never where it breaks.
UPDATE ... SET available = available - 1 WHERE available >= 1
and check rows-affected). Two concurrent checkouts reading the same count is
the canonical oversell.| State | Entered on | Stock effect | Exits via |
|---|---|---|---|
available | recon / restock / release | counts toward ATS | reservation created |
reserved (soft) | checkout-start (or add-to-cart for scarce SKUs) | excluded from ATS | confirm, TTL expiry, cart abandon |
allocated | order confirmed + payment authorized | committed; picks against a location | shipment, cancel |
shipped | WMS ship confirm | decrements on-hand | — |
released | TTL sweep / cancel / payment failure | returns to ATS atomically | — |
Allocation rules to decide explicitly (and record as an ADR): location-selection priority (proximity vs stock depth vs cost), split-shipment threshold, and backorder policy per SKU class.
Related: ecom-payments (auth/capture timing drives allocation timing),
ecom-search-merch (how stock status surfaces in results),
ecom-storefront-perf (caching stock badges) · domain agent: ecom-architect
(order/checkout boundary, OMS topology) · output/ADR format: playbook-conventions
npx claudepluginhub ggrace519/claude-code-dev-studio --plugin ccds-ecomProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.