Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

order-management-system订单管理系统

Agent Skill

order-management-system 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

823

周安装

35

GitHub Stars

19

下载量

288
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:order-management-system(订单管理系统)
来源仓库:https://github.com/finsilabs/awesome-ecommerce-skills
仓库路径:skills/order-management-system
安装命令:
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill order-management-system
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill order-management-system

简介

order-management-system 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词或任务场景快速定位候选结果。
  • 通过 npx skills add 命令从指定仓库安装,需结合原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Order Management System

Overview

An Order Management System (OMS) handles the full order lifecycle from placement to delivery: routing orders to the right fulfillment source (own warehouse, 3PL, or dropship supplier), splitting orders when items must ship from multiple locations, handling backorders, and maintaining a complete audit trail. For most merchants, platform-native features plus a shipping app cover 80–90% of OMS needs. A custom OMS is warranted when you have multiple fulfillment locations, complex routing rules, or are building a platform for other brands.

When to Use This Skill

  • When your order volume has outgrown a single-warehouse workflow and you need multi-location routing
  • When orders that mix in-stock and out-of-stock items need to ship in separate shipments without blocking fulfillment
  • When integrating multiple fulfillment sources (own warehouse, 3PLs, dropship suppliers) into a unified routing engine
  • When building the core order processing pipeline for a new platform that will support high order volume
  • When you need a complete audit trail of every order state change for customer service and finance

Core Instructions

Step 1: Determine your platform and choose the right OMS approach

ScenarioRecommended ApproachWhy
Single warehouse, ShopifyShopify + ShipStationShipStation handles order management, label creation, and tracking natively
Multi-location, ShopifyShopify Locations + ShipStation or Shopify Fulfillment NetworkShopify supports up to 10 locations; ShipStation routes to the right location based on rules
3PL integrationShipBob, Whiplash, or Flexport + your platform's appEach 3PL has native apps for Shopify, WooCommerce, and BigCommerce
Complex routing + backordersSkubana (Extensiv), Linnworks, or ShipHeroThese purpose-built OMS tools handle multi-warehouse routing, backorder queues, and split shipments
Custom / HeadlessBuild an OMS state machine + integrate Shippo/EasyPost for labelsFull control over routing rules, state transitions, and audit trail

Step 2: Set up multi-location order routing

Shopify

Shopify Locations (up to 10 locations on standard plans):

  1. Go to Settings → Locations → Add location for each warehouse or fulfillment center
  2. In Settings → Shipping and delivery → Fulfill orders from, set your fulfillment priority:

- Shopify will automatically route orders to the location closest to the customer with available stock

  1. For each product variant, set which locations stock that item: go to Products → [Product] → Inventory → Check each location's stock level
  2. When an order is placed, Shopify selects the optimal fulfillment location automatically based on your priority rules

For 3PL integration:

  • Install the 3PL's native Shopify app (ShipBob, Whiplash, Flexport all have Shopify apps)
  • Configure which products are fulfilled by the 3PL vs. your own warehouse in the app settings
  • The 3PL app creates an additional "location" in Shopify and receives order notifications automatically

For split shipments:

  • Shopify automatically creates separate fulfillments when an order ships from multiple locations
  • Each fulfillment gets its own tracking number and triggers its own shipping notification to the customer

WooCommerce

Using ATUM Inventory Management:

  1. Install ATUM Inventory Management (free/premium, WordPress.org)
  2. ATUM adds multi-location inventory tracking to WooCommerce
  3. Configure fulfillment priority in ATUM → Settings → Multi-inventory
  4. Orders are routed to the location with available stock based on your priority rules

For 3PL integration:

  • ShipBob has a WooCommerce plugin; install it and configure which products ship from ShipBob
  • ShipStation's WooCommerce plugin connects to multiple carriers and warehouses; configure routing rules in ShipStation → Automation → Rules

BigCommerce

  1. Go to Inventory → Locations to add multiple fulfillment locations (available on Plus and above)
  2. Set inventory levels per location for each product
  3. BigCommerce routes orders to the location with stock closest to the customer based on your settings
  4. For 3PL integration: ShipBob, Whiplash, and ShipStation all have native BigCommerce integrations via the App Marketplace

Step 3: Handle backorders

A backorder occurs when an order is placed for an item that is out of stock. The customer still wants the item; you need to fulfill it when stock arrives.

Shopify

Enable backorders:

  1. Go to Products → [Product] → Variants → [Variant]
  2. Set inventory tracking: check "Continue selling when out of stock" — this allows orders to come in even when stock = 0
  3. Be transparent: show a "Ships in 2–3 weeks" message on the product page when stock is 0

Communicate backorders:

  • When a product is backordered, Shopify's standard order confirmation doesn't flag this automatically
  • Use Klaviyo or Shopify Email to create a trigger: when order has a line item with quantity > available stock → send a "Backordered" email with the estimated restock date

Fulfilling backordered orders:

  • When stock arrives (you receive a shipment): manually fulfill the backordered orders in Shopify → Orders → filter by "Unfulfilled" and sort by order date
  • For automatic backorder fulfillment: use Shopify Flow (Plus) or a webhook to trigger fulfillment when inventory is replenished

WooCommerce

  1. Go to WooCommerce → Settings → Products → Inventory
  2. Enable "Allow backorders" at the global level, or set per product: Products → [Product] → Inventory → Allow Backorders
  3. Options: "Do not allow", "Allow but notify customer", "Allow without notification"
  4. Recommend: "Allow but notify customer" — WooCommerce adds a "On backorder" badge and notifies the customer at checkout
  5. Backordered orders appear in WooCommerce → Orders with status "On Hold" or "Processing" depending on your payment flow

BigCommerce

  1. Go to Products → [Product] → Inventory
  2. Enable "Allow Purchasing Out of Stock" — BigCommerce shows the product as "Available for Pre-Order" automatically when stock = 0
  3. Set "Back Ordering" message text in Store Setup → Store Settings → Product Settings

Step 4: Maintain an order audit trail

Every order status change should be logged with who made the change and when. This is essential for customer service and fraud investigation.

Shopify

  • Shopify automatically logs all order status changes in Orders → [Order] → Timeline
  • The Timeline shows every event: payment confirmed, fulfillment created, shipping label purchased, tracking updated, etc.
  • Add manual notes to the Timeline (visible to staff only) for any manual actions taken

WooCommerce

  • WooCommerce logs order notes in each order's Order Notes section
  • Status changes are logged automatically ("Order status changed from Processing to Completed")
  • For more comprehensive audit logging: install WooCommerce Order Status Manager or Activity Log plugin

BigCommerce

  • BigCommerce logs order status changes in the Order Activity section of each order
  • The activity log shows all status changes, notes added, and system actions

Custom / Headless — order state machine with event log

// Order status state machine with full audit trail
type OrderStatus =
  | 'pending'
  | 'payment_processing'
  | 'paid'
  | 'awaiting_fulfillment'
  | 'partially_fulfilled'
  | 'fulfilled'
  | 'delivered'
  | 'cancelled'
  | 'refunded';

const VALID_TRANSITIONS: Partial<Record<OrderStatus, OrderStatus[]>> = {
  pending:              ['payment_processing', 'cancelled'],
  payment_processing:   ['paid', 'cancelled'],
  paid:                 ['awaiting_fulfillment', 'cancelled'],
  awaiting_fulfillment: ['partially_fulfilled', 'fulfilled', 'cancelled'],
  partially_fulfilled:  ['fulfilled'],
  fulfilled:            ['delivered', 'refunded'],
  delivered:            ['refunded'],
};

async function transitionOrder(params: {
  orderId: string;
  newStatus: OrderStatus;
  actorId: string;
  note?: string;
}): Promise<void> {
  const order = await db.orders.findById(params.orderId);
  const allowed = VALID_TRANSITIONS[order.status] ?? [];

  if (!allowed.includes(params.newStatus)) {
    throw new Error(`Invalid transition: ${order.status} → ${params.newStatus}`);
  }

  await db.transaction(async tx => {
    await tx.orders.update(params.orderId, { status: params.newStatus, updated_at: new Date() });
    // Every transition is recorded — this IS the audit trail
    await tx.orderEvents.insert({
      order_id: params.orderId,
      from_status: order.status,
      to_status: params.newStatus,
      actor_id: params.actorId,
      note: params.note ?? null,
      occurred_at: new Date(),
    });
  });
}

// Route an order to the right fulfillment source
async function routeOrder(orderId: string): Promise<void> {
  const order = await db.orders.findById(orderId);
  const lines = await db.orderLines.findByOrderId(orderId);

  for (const line of lines) {
    // Check own warehouse first
    const warehouseStock = await db.inventory.findAvailable(line.sku, line.quantity);
    if (warehouseStock) {
      await db.fulfillmentLines.insert({
        order_id: orderId,
        order_line_id: line.id,
        source: 'warehouse',
        source_id: warehouseStock.location_id,
        status: 'pending',
      });
      continue;
    }

    // Fall back to dropship supplier
    const supplier = await db.supplierProducts.findBestSupplier(line.product_id, line.quantity);
    if (supplier) {
      await db.fulfillmentLines.insert({
        order_id: orderId,
        order_line_id: line.id,
        source: 'dropship',
        source_id: supplier.supplier_id,
        status: 'pending',
      });
      continue;
    }

    // No source available — create a backorder
    await db.backorders.insert({
      order_id: orderId,
      order_line_id: line.id,
      product_id: line.product_id,
      quantity: line.quantity,
      status: 'pending',
    });
    // Notify customer about the backorder
  }
}

Best Practices

  • Use a purpose-built OMS before building custom — Skubana/Extensiv ($500+/month) or Linnworks handles multi-warehouse routing, backorders, and split shipments with proven reliability; custom development should only start when these tools can't meet your specific needs
  • Keep orders and fulfillments as separate entities — an order is a financial contract with the customer; fulfillments are physical shipments; one order can generate multiple fulfillments
  • Queue fulfillment planning asynchronously — don't route orders synchronously during checkout; enqueue routing immediately after payment confirmation and process in a background worker
  • Never silently drop backordered lines — always notify the customer and give them the option to wait or cancel; silent backorders erode trust when the customer discovers weeks later
  • Alert on orders stuck in "awaiting fulfillment" for 24+ hours — set up a daily alert for orders that haven't moved to fulfillment; these usually indicate a routing error or system issue

Common Pitfalls

ProblemSolution
Order splits into multiple shipments unexpectedlyPre-warn customers at checkout if an order will ship from multiple locations; show estimated delivery per shipment separately
Backorder never fulfilled after stock arrivesSet up an automatic trigger: when inventory is replenished above the backorder quantity, trigger fulfillment for the oldest pending backorder (FIFO)
Partial cancellation leaves the order in a broken stateImplement partial cancellation — cancel only lines that haven't been picked; issue a refund for cancelled lines; update the order total
Shopify shows "partially fulfilled" but customer thinks full shipment is comingSend a clear email explaining each shipment as it ships, with the items in that specific shipment and the remaining items to follow

Related Skills

  • @order-fulfillment-workflow
  • @returns-management
  • @multi-channel-selling
  • @dropshipping-integration
  • @demand-forecasting

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.91%
按下载量换算112

Claude

30.03%
按下载量换算86

Cursor

17.02%
按下载量换算49

Gemini CLI

9.46%
按下载量换算27

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills