Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计提醒

marketplace-building市场建设

Agent Skill

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

总安装

461

周安装

19

GitHub Stars

19

下载量

150
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill marketplace-building

简介

用于查找、检索和筛选相关信息,支持基于关键词或来源线索定位结果。

  • 适用于 Codex、Claude、Cursor、Gemini CLI 中需要快速获取候选信息的场景。
  • 安装方式:GitHub 仓库,命令为 npx skills add <repo> --skill marketplace-building。
  • 使用前建议确认权限范围、维护状态及是否触发联网或文件操作。
  • 可结合原始 README 继续核验具体功能和使用限制。

SKILL.md

Marketplace Building

Overview

A multi-vendor marketplace lets independent sellers list products on your platform, collects payment from buyers, deducts your commission, and pays out the remainder to sellers. The key components are: seller onboarding with KYC verification, product listing management per seller, commission calculation, and automated payouts. For Shopify and WooCommerce merchants, purpose-built marketplace apps handle most of this — custom development is needed primarily for highly specific commission structures or white-label marketplace platforms.

When to Use This Skill

  • When building a platform where third-party sellers list and sell their own products (not your inventory)
  • When you need the platform to collect payment from buyers and distribute funds to sellers minus a commission
  • When sellers need their own dashboard to manage listings, view orders, and track earnings
  • When complying with KYC (Know Your Customer) requirements for seller identity verification
  • When designing the commission structure (percentage, tiered, category-based) and payout schedule

Core Instructions

Step 1: Determine your platform and choose the right marketplace tool

PlatformRecommended ToolWhy
ShopifyMulti Vendor Marketplace by Webkul or BOLD Multi-VendorWebkul's app adds seller accounts, product management, commission rules, and a seller dashboard to Shopify without replacing the storefront
WooCommerceDokan Multi-Vendor (most popular, 60K+ installs) or WC VendorsDokan is purpose-built for WooCommerce marketplaces with seller onboarding, commission management, payout requests, and a seller dashboard
BigCommerceMulti Vendor Marketplace by Webkul (BigCommerce version)Webkul has a BigCommerce version of their marketplace app
Custom / HeadlessBuild seller accounts + Stripe Connect for KYC and payoutsStripe Connect handles KYC, bank account collection, and 1099-K tax forms — use it for any custom marketplace

Step 2: Set up seller onboarding and KYC

KYC (Know Your Customer) is required to verify seller identity before you can legally send them payments. Using Stripe Connect for this is strongly recommended — building it yourself is expensive and legally complex.

Shopify — Multi Vendor Marketplace by Webkul

  1. Install Multi Vendor Marketplace by Webkul from the Shopify App Store
  2. Sellers register via a seller signup form (customizable URL, e.g., yourstore.com/seller/register)
  3. You approve seller applications manually in the Webkul admin — review the seller profile before approval
  4. Connect Webkul to Stripe Connect for payouts: go to Webkul → Settings → Payment → Stripe Connect and enter your Stripe credentials
  5. When you approve a seller, Webkul sends them an onboarding email with a link to connect their Stripe account (Stripe Express account — Stripe handles KYC and bank details)
  6. Seller is live once their Stripe Express account is verified (Stripe notifies you via webhook)

WooCommerce — Dokan Multi-Vendor

  1. Install Dokan Multi-Vendor Plugin from WordPress.org (free) or Dokan.com (pro)
  2. Enable seller registration: go to Dokan → Settings → General → Allow Registration
  3. Customize the seller registration form with required fields (business name, tax ID, bank info)
  4. For KYC: Dokan Pro integrates with Stripe Connect — go to Dokan → Settings → Withdrawal → Stripe Connect and enter your Stripe platform credentials
  5. Sellers connect their bank accounts via the Stripe Connect onboarding flow built into Dokan
  6. In Dokan → Vendors, approve or reject seller applications manually

Custom / Headless — Stripe Connect for KYC

import Stripe from 'stripe';
const stripe = new Stripe(process.env.STRIPE_SECRET_KEY!);

// Create a Stripe Express account for a new seller and return the onboarding URL
async function onboardSeller(sellerId: string, sellerEmail: string): Promise<string> {
  // Create the Stripe Express account
  const account = await stripe.accounts.create({
    type: 'express',
    email: sellerEmail,
    capabilities: {
      transfers: { requested: true },
    },
  });

  // Store the Stripe account ID on the seller record
  await db.sellers.update(sellerId, { stripe_account_id: account.id });

  // Generate the onboarding link (valid for 24 hours)
  const accountLink = await stripe.accountLinks.create({
    account: account.id,
    refresh_url: `${process.env.APP_URL}/seller/onboarding/refresh`,
    return_url: `${process.env.APP_URL}/seller/onboarding/complete`,
    type: 'account_onboarding',
  });

  return accountLink.url; // send this URL to the seller
}

// Webhook handler: activate seller when Stripe confirms KYC is complete
async function handleStripeAccountUpdated(account: Stripe.Account): Promise<void> {
  const seller = await db.sellers.findByStripeAccountId(account.id);
  if (!seller) return;

  if (account.charges_enabled && account.payouts_enabled && seller.status !== 'active') {
    await db.sellers.update(seller.id, { status: 'active' });
    // Send welcome email to seller
  }
}

Step 3: Set up product listings per seller

Shopify (Webkul)

  1. Approved sellers log in to their Seller Dashboard at yourstore.com/seller/dashboard
  2. Sellers add products from their dashboard — products are submitted to you for approval before going live (configurable in Webkul settings)
  3. You control whether sellers can set their own prices or if all prices need your approval
  4. Product images, descriptions, and inventory are all managed by the seller from their dashboard

WooCommerce (Dokan)

  1. Sellers access their store dashboard at yourstore.com/dashboard
  2. Sellers add products from Dokan → Products → Add New
  3. Enable "Product Review" in Dokan settings to require your approval before new products go live
  4. Sellers manage their own inventory counts, product variations, and prices
  5. In Dokan Pro, you can set commission rates at the product level, category level, or globally

Step 4: Configure commission rules and payouts

Shopify (Webkul)

  1. Go to Webkul → Commission to set commission rates:

- Global commission: e.g., 15% on all sales - Seller-specific: override for specific sellers (e.g., 10% for VIP sellers) - Category-specific: different rates by product category

  1. Commissions are deducted automatically from each order when paid
  2. Seller earnings are tracked in Webkul → Payments → Seller Transactions
  3. To pay out sellers: go to Webkul → Payments → Process Payout. Select sellers and click Process via Stripe Connect — funds transfer from your Stripe balance to the seller's connected account

WooCommerce (Dokan)

  1. Go to Dokan → Settings → Selling → Commission to set the global commission rate
  2. Override per-seller in Dokan → Vendors → [Seller] → Commission
  3. Sellers request withdrawals from their dashboard (Dokan → Withdraw Requests)
  4. You approve withdrawal requests in Dokan → Withdraw Requests → Pending
  5. For automated payouts via Stripe: Dokan Pro's Stripe Connect module automatically processes approved withdrawal requests

Custom / Headless — commission and payout logic

// Calculate commission and record seller earnings when an order is paid
async function recordSellerEarning(params: {
  orderId: string;
  sellerId: string;
  grossAmountCents: number;  // what buyer paid for this seller's items
  commissionRate: number;    // e.g., 0.15 for 15%
}): Promise<void> {
  const commissionCents = Math.round(params.grossAmountCents * params.commissionRate);
  const netAmountCents = params.grossAmountCents - commissionCents;

  // Funds held until return window closes (e.g., 30 days)
  const availableAt = new Date();
  availableAt.setDate(availableAt.getDate() + 30);

  await db.sellerEarnings.insert({
    seller_id: params.sellerId,
    order_id: params.orderId,
    gross_amount_cents: params.grossAmountCents,
    commission_cents: commissionCents,
    net_amount_cents: netAmountCents,
    status: 'held',             // becomes 'available' after return window
    available_at: availableAt,
  });
}

// Transfer available earnings to seller's Stripe account
async function payoutSeller(sellerId: string): Promise<void> {
  const seller = await db.sellers.findById(sellerId);
  const availableEarnings = await db.sellerEarnings.findAll({
    seller_id: sellerId,
    status: 'available',
    available_at: { lte: new Date() },
  });

  const totalCents = availableEarnings.reduce((s, e) => s + e.net_amount_cents, 0);
  if (totalCents < 100) return; // minimum payout $1.00

  // Transfer from your Stripe balance to seller's connected account
  const transfer = await stripe.transfers.create({
    amount: totalCents,
    currency: 'usd',
    destination: seller.stripe_account_id,
    metadata: { seller_id: sellerId },
  });

  // Mark earnings as paid out
  await db.sellerEarnings.updateMany(
    availableEarnings.map(e => e.id),
    { status: 'paid_out' }
  );
}

Step 5: Set up seller dashboards

Shopify (Webkul)

  • Sellers access a Webkul-provided dashboard at yourstore.com/seller/dashboard showing: orders, products, earnings summary, and payout history
  • Customize the dashboard appearance (colors, logo) in Webkul → Settings → Dashboard

WooCommerce (Dokan)

  • Dokan provides a full frontend dashboard at yourstore.com/dashboard with: sales analytics, product management, withdrawal requests, and order management
  • The dashboard is highly customizable via Dokan's template overrides

Best Practices

  • Use Stripe Connect Express for all seller payouts — Express handles KYC, bank account verification, and IRS 1099-K reporting; building this yourself is expensive and legally risky
  • Hold funds for the return window — don't release earnings to sellers until the buyer's return window closes; releasing early means the platform absorbs refund losses
  • Record commission in the same transaction as order confirmation — never compute commission asynchronously from a queue that might fail; the earning record must be atomic with the order
  • Send payout summaries to sellers by email — weekly earnings summaries with order-level detail build seller trust and reduce support contacts
  • Block seller publishing until Stripe onboarding is complete — check charges_enabled && payouts_enabled on the Stripe account before allowing a seller to publish listings

Common Pitfalls

ProblemSolution
Payout fails but earnings marked as paidIn Stripe Connect, use the transfer.created webhook to confirm success before marking earnings as paid_out; never mark paid-out in the same call that initiates the transfer
Platform pays out before buyer payment clearsOnly trigger payout eligibility from the payment_intent.succeeded webhook, not from checkout session creation
Seller lists products before KYC is verifiedCheck Stripe account status (charges_enabled && payouts_enabled) before allowing product publication; Webkul and Dokan do this automatically
Seller disputes commission deductionStore the commission rate and gross amount on every seller_earning record; show sellers their commission calculation history in the seller dashboard

Related Skills

  • @multi-channel-selling
  • @vendor-management
  • @b2b-commerce
  • @order-management-system

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.37%
按下载量换算50

Claude

32.88%
按下载量换算49

Cursor

18.45%
按下载量换算28

Gemini CLI

8.78%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills