一键导入
commerce-warehouse
Use when running warehouse operations — locations, receiving, waves and picking, cycle counts, transfers, or lot/serial traceability.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when running warehouse operations — locations, receiving, waves and picking, cycle counts, transfers, or lot/serial traceability.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when tracking EDI documents (850/855/856/810), managing their status lifecycle, or coordinating with the StateSet EDI gateway.
Use when working the general ledger, month-end close, AP/AR workflows, fixed assets, or revenue recognition.
Manage sequencer sync, outbox, and conflict resolution. Use when running `stateset-sync` or checking sync status, push, or pull.
Set up and run the StateSet iCommerce engine locally (CLI install, DB init, demo data, sync). Use when bootstrapping an environment, running `stateset-doctor`, or starting `stateset-autonomous`.
Use when creating new storefront websites, scaffolding e-commerce projects, or building commerce applications with StateSet.
Stream real-time commerce events and manage webhooks. Use when debugging live behavior (orders/inventory/customers/products/returns) or integrating external systems via webhooks.
| name | commerce-warehouse |
| description | Use when running warehouse operations — locations, receiving, waves and picking, cycle counts, transfers, or lot/serial traceability. |
Domain knowledge for WMS operations: physical layout, inbound and outbound flows, cycle counting, transfers, and traceability.
Warehouse (code, name, timezone)
└── Location: zone ► aisle ► rack ► bin
flags: isPickable, isReceivable
create_warehouse / list_warehouses / get_warehouse — warehouse master datacreate_location — optional zone, aisle, rack, bin plus
isPickable / isReceivable flagslist_locations / get_location — layout reviewlist_pickable_locations — pickable locations holding a SKU in a warehouseget_warehouse_sku_available_quantity — location-level availabilityFlags drive flow: receiving puts stock into receivable locations; waves pick from pickable ones. A staging bin is often receivable but not pickable.
inbound shipment ──► receipt ──► put-away into locations
create_inbound_shipment ──► mark_inbound_shipment_in_transit
──► mark_inbound_shipment_arrived ──► receive_inbound_shipment_line
cancel_inbound_shipment — blocked once received or already cancelled (terminal-state guard)check_inbound_shipments_supported — feature probe before using the domaincreate_receipt_from_purchase_order # lines seeded from PO quantities
──► start_receiving ──► complete_receiving
create_receipt for ad-hoc (non-PO) receiptscancel_receipt — only before receiving completes; a receipt already in
inspection/put-away cannot be cancelledcreate_fulfillment_wave ──► release_fulfillment_wave ──► pick ──► pack ──► ship
│
└──► cancel_fulfillment_wave
create_fulfillment_wave — batch orders for pickingrelease_fulfillment_wave — generates pick taskscomplete_fulfillment_wave — all picks donelist_pick_tasks ──► assign_pick_task ──► start_pick_task ──► [complete]
│
└──► cancel_pick_task
Pick completion is idempotent with an over-pick guard — completing an already-completed/short pick is a no-op, and you cannot pick more than tasked.
check_order_ready_to_pack — all picks complete?check_order_ready_to_ship — packed into cartons, ready for carrier?create_shipment / ship_order from the shipments/orders domainscreate_cycle_count (draft) ──► start_cycle_count (in-progress)
──► record_cycle_counts ──► complete_cycle_count (completed)
│
cancel_cycle_count ◄──────────┘ (only before completion)
record_cycle_counts — counted quantities per location/SKUcomplete_cycle_count — transactionally applies variances to location
inventory and writes cycle_count movement audit records; fires a
domain eventcompleted and cancelled are terminal — a completed count cannot be
reopened; create a new count insteadcreate_transfer_order ──► ship_transfer_order ──► receive_transfer_order_line
│
└──► cancel_transfer_order (not after received/cancelled)
check_transfer_orders_supported — feature probecreate_lot — batch with expiry; list_active_lots, list_available_lots_for_skulist_expiring_lots / list_expired_lotsquarantine_lot ⇄ release_lot_quarantine; list_quarantined_lotscreate_serial — unit-level tracking; list_available_serials,
check_serial_availabilitymark_serial_sold — on fulfillment; quarantine_serial for holdsadjust_inventory tool covers item-level adjustments) operate per
(location, SKU, lot)complete_cycle_count, not by manual adjustmentscheck_*_supported before transfer/inbound worklist_available_lots_for_sku ordered by expiry| Error | Cause | Solution |
|---|---|---|
Cannot cancel | Document already received/cancelled | Terminal state — create a reversing document |
Wave not released | Picking before release | release_fulfillment_wave first |
Not ready to pack | Open pick tasks | Complete or cancel remaining picks |
Count not in progress | Recording against a draft/completed count | start_cycle_count first |
Lot quarantined | Picking held stock | release_lot_quarantine or pick another lot |