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

sfcc-business-manager证监会业务经理

Agent Skill

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

总安装

480

周安装

20

GitHub Stars

19

下载量

160
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill sfcc-business-manager

简介

用于查找、检索和筛选相关信息。sfcc-business-manager 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

  • 适合根据关键词或任务场景快速定位候选结果。
  • 可结合来源仓库和原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态及是否触发联网或命令执行。
  • 安装方式:通过 npx 从指定 GitHub 仓库添加技能。

SKILL.md

SFCC Business Manager

Overview

Business Manager (BM) is the SFCC administration interface accessed at https://{instance}.dx.commercecloud.salesforce.com/on/demandware.store/Sites-Site/default/ViewApplication-DisplayWelcomePage. It controls every aspect of the SFCC installation: catalog and product management, site preferences, promotion engine, content assets, A/B tests, and job scheduling. Bulk data operations are performed via XML import/export using the Import & Export framework, which processes files from the IMPEX directory via scheduled jobs.

When to Use This Skill

  • When performing initial catalog setup for a new SFCC site
  • When importing products, prices, or inventory from an ERP or PIM system via XML
  • When configuring OCAPI settings for API client registrations
  • When setting up site preferences for custom cartridge configurations
  • When managing promotions, coupon campaigns, and A/B tests across sites
  • When diagnosing job failures or reviewing import error logs in Business Manager

Core Instructions

  1. Navigate key Business Manager areas Business Manager URLs follow the pattern {instanceUrl}/on/demandware.store/Sites-Site/default/{Controller-Action}: # Site Selection (global) /on/demandware.store/Sites-Site/default/ViewApplication-DisplayWelcomePage # Catalog Management (site-specific) /on/demandware.store/Sites-{SiteID}/default/ViewCategories-Start # Site Preferences /on/demandware.store/Sites-{SiteID}/default/ViewSitePreference-StartGroups # OCAPI Settings /on/demandware.store/Sites-Site/default/ViewApplicationApiSettings-Start # Import & Export /on/demandware.store/Sites-{SiteID}/default/ViewJobSchedule-Start # Job Execution /on/demandware.store/Sites-Site/default/ViewJobSchedule-Start
  2. Import products via XML catalog import SFCC catalog XML follows Demandware's catalog.xsd schema. Products are imported as catalog objects: <?xml version="1.0" encoding="UTF-8"?> <catalog xmlns="http://www.demandware.com/xml/impex/catalog/2006-10-31" catalog-id="your-catalog"> <!-- Category definition --> <category category-id="electronics"> <display-name xml:lang="x-default">Electronics</display-name> <display-name xml:lang="en-US">Electronics</display-name> <online-flag>true</online-flag> <parent>root</parent> </category> <!-- Simple product --> <product product-id="PROD-001"> <ean>1234567890123</ean> <upc>123456789012</upc> <display-name xml:lang="x-default">Wireless Headphones Pro</display-name> <display-name xml:lang="en-US">Wireless Headphones Pro</display-name> <long-description xml:lang="x-default">Premium wireless headphones with ANC</long-description> <online-flag>true</online-flag> <available-flag>true</available-flag> <searchable-flag>true</searchable-flag> <tax-class-id>standard</tax-class-id> <brand>AudioPro</brand> <manufacturer-sku>AP-WH-001</manufacturer-sku> <classification-category catalog-id="your-catalog">electronics</classification-category> <images> <image-group view-type="large"> <image path="products/PROD-001-large.jpg"/> </image-group> <image-group view-type="small"> <image path="products/PROD-001-small.jpg"/> </image-group> </images> <custom-attributes> <custom-attribute attribute-id="color">Black</custom-attribute> <custom-attribute attribute-id="batteryLife">30</custom-attribute> </custom-attributes> </product> <!-- Variation master product --> <product product-id="SHIRT-MASTER"> <display-name xml:lang="x-default">Classic Cotton Shirt</display-name> <online-flag>true</online-flag> <classification-category catalog-id="your-catalog">apparel</classification-category> <variations> <attributes> <variation-attribute attribute-id="color" variation-attribute-id="color"> <display-name xml:lang="x-default">Color</display-name> <variation-attribute-values> <variation-attribute-value value="Blue"> <display-value xml:lang="x-default">Blue</display-value> </variation-attribute-value> <variation-attribute-value value="Red"> <display-value xml:lang="x-default">Red</display-value> </variation-attribute-value> </variation-attribute-values> </variation-attribute> <variation-attribute attribute-id="size" variation-attribute-id="size"> <display-name xml:lang="x-default">Size</display-name> <variation-attribute-values> <variation-attribute-value value="S"><display-value xml:lang="x-default">S</display-value></variation-attribute-value> <variation-attribute-value value="M"><display-value xml:lang="x-default">M</display-value></variation-attribute-value> <variation-attribute-value value="L"><display-value xml:lang="x-default">L</display-value></variation-attribute-value> </variation-attribute-values> </variation-attribute> </attributes> <variants> <variant product-id="SHIRT-BLUE-S"/> <variant product-id="SHIRT-BLUE-M"/> <variant product-id="SHIRT-RED-M"/> </variants> </variations> </product> <!-- Variant products --> <product product-id="SHIRT-BLUE-S"> <display-name xml:lang="x-default">Classic Cotton Shirt - Blue / S</display-name> <online-flag>true</online-flag> <variation-attribute-values> <variation-attribute-value attribute-id="color">Blue</variation-attribute-value> <variation-attribute-value attribute-id="size">S</variation-attribute-value> </variation-attribute-values> </product> <!-- Product category assignment --> <category-assignment category-id="electronics" product-id="PROD-001"> <primary-flag>true</primary-flag> </category-assignment> </catalog>
  3. Import inventory and prices <!-- inventory.xml — import stock levels --> <?xml version="1.0" encoding="UTF-8"?> <inventory xmlns="http://www.demandware.com/xml/impex/inventory/2007-05-31"> <inventory-list> <header list-id="your-inventory-list"> <default-in-stock>false</default-in-stock> <description>Main Inventory</description> </header> <records> <record product-id="PROD-001"> <allocation>150.00</allocation> <allocation-timestamp>2026-03-12T00:00:00.000Z</allocation-timestamp> <perpetual>false</perpetual> <preorderable>false</preorderable> <backorderable>false</backorderable> </record> <record product-id="SHIRT-BLUE-S"> <allocation>42.00</allocation> <perpetual>false</perpetual> </record> </records> </inventory-list> </inventory> <!-- pricebook.xml — import prices --> <?xml version="1.0" encoding="UTF-8"?> <pricebooks xmlns="http://www.demandware.com/xml/impex/pricebook/2006-10-31"> <pricebook> <header pricebook-id="usd-m-list-prices"> <currency>USD</currency> <display-name xml:lang="x-default">USD List Prices</display-name> <online-flag>true</online-flag> </header> <price-tables> <price-table product-id="PROD-001"> <amount quantity="1">149.99</amount> </price-table> <price-table product-id="SHIRT-BLUE-S"> <amount quantity="1">39.99</amount> </price-table> </price-tables> </pricebook> </pricebooks>
  4. Configure site preferences for custom cartridge settings Site preferences are custom attributes defined in Business Manager → Administration → Site Development → System Object Types → SitePreferences: <!-- system-objecttype-extensions.xml — define custom site preference --> <?xml version="1.0" encoding="UTF-8"?> <metadata xmlns="http://www.demandware.com/xml/impex/metadata/2006-10-31"> <type-extension type-id="SitePreferences"> <custom-attribute-definitions> <attribute-definition attribute-id="myIntegration_apiEndpoint"> <display-name xml:lang="x-default">My Integration API Endpoint</display-name> <type>string</type> <mandatory-flag>false</mandatory-flag> <externally-managed-flag>false</externally-managed-flag> <min-length>0</min-length> <max-length>255</max-length> </attribute-definition> <attribute-definition attribute-id="myIntegration_enabledFlag"> <display-name xml:lang="x-default">My Integration Enabled</display-name> <type>boolean</type> <mandatory-flag>false</mandatory-flag> </attribute-definition> </custom-attribute-definitions> <group-definitions> <attribute-group group-id="MyIntegration"> <display-name xml:lang="x-default">My Integration Settings</display-name> <attribute attribute-id="myIntegration_apiEndpoint"/> <attribute attribute-id="myIntegration_enabledFlag"/> </attribute-group> </group-definitions> </type-extension> </metadata> Access in cartridge ISML/controller: // In SFCC ISML controller (server-side JS) var Site = require('dw/system/Site'); var currentSite = Site.getCurrent(); var apiEndpoint = currentSite.getCustomPreferenceValue('myIntegration_apiEndpoint'); var isEnabled = currentSite.getCustomPreferenceValue('myIntegration_enabledFlag');
  5. Configure and run import jobs SFCC import jobs are configured in Business Manager → Administration → Operations → Jobs. Jobs use XML feed files placed in /IMPEX/src/ or uploaded via the Jobs API: ` // Upload an XML file to IMPEX via OCAPI WebDAV before triggering job const importFile = fs.readFileSync('./catalog.xml'); // Upload via WebDAV (SFCC exposes IMPEX as WebDAV) const webdavUrl = ${instanceUrl}/on/demandware.servlet/webdav/Sites/Impex/src/catalog-import.xml; await fetch(webdavUrl, {method: "PUT", headers: {Authorization: Basic ${Buffer.from(${clientId}:${clientSecret}).toString("base64")}, "Content-Type": "application/xml",}, body: importFile,}); // Trigger the import job via Jobs API const jobResponse = await fetch(${instanceUrl}/s/-/dw/data/v23_2/jobs/sfcc-site-archive-import/executions, {method: "POST", headers: {Authorization: Bearer ${adminToken}, "Content-Type": "application/json",}, body: JSON.stringify({parameters: [{name: "ImportFile", value: "catalog-import.xml"}, {name: "catalogID", value: "your-catalog"},],}),}); `

Examples

Export orders for ERP sync

<!-- Order export configuration — Business Manager → Merchant Tools → Site Preferences → Export/Import -->
<!-- Or via OCAPI Data API order search: -->
// Paginated order export via OCAPI Data API
async function exportOrdersSince(sinceDate: string) {
  const token = await getAdminToken();
  const instanceUrl = process.env.SFCC_INSTANCE_URL!;
  const siteId = process.env.SFCC_SITE_ID!;

  let start = 0;
  const count = 100;
  const allOrders = [];

  while (true) {
    const response = await fetch(
      `${instanceUrl}/s/${siteId}/dw/data/v23_2/order_search`,
      {
        method: "POST",
        headers: {
          Authorization: `Bearer ${token}`,
          "Content-Type": "application/json",
        },
        body: JSON.stringify({
          query: {
            filtered_query: {
              query: { match_all_query: {} },
              filter: {
                range_filter: {
                  field: "creation_date",
                  from: sinceDate,
                },
              },
            },
          },
          select: "(**)",
          count,
          start,
          sorts: [{ field: "creation_date", sort_order: "asc" }],
        }),
      }
    );

    const { hits, total } = await response.json();
    allOrders.push(...(hits ?? []));
    start += count;
    if (start >= total) break;
  }

  return allOrders;
}

Create a promotion via OCAPI

async function createPromotion(promo: {
  id: string;
  name: string;
  discountPercent: number;
  startDate: string;
  endDate: string;
}) {
  const token = await getAdminToken();
  const instanceUrl = process.env.SFCC_INSTANCE_URL!;
  const siteId = process.env.SFCC_SITE_ID!;

  await fetch(
    `${instanceUrl}/s/${siteId}/dw/data/v23_2/promotions/${promo.id}`,
    {
      method: "PUT",
      headers: {
        Authorization: `Bearer ${token}`,
        "Content-Type": "application/json",
      },
      body: JSON.stringify({
        id: promo.id,
        name: { default: promo.name },
        enabled: true,
        start_date: promo.startDate,
        end_date: promo.endDate,
        discount: {
          type: "percentage",
          value: promo.discountPercent,
        },
        promotion_class: "order",
      }),
    }
  );
}

Best Practices

  • Validate XML imports against Demandware schemas before uploading — the XSD files are available in Business Manager under Administration → Site Development → System Object Types; invalid XML fails silently without line-level error messages
  • Use unique job IDs for concurrent imports — SFCC jobs are single-threaded per job definition; use multiple job definitions if you need parallel catalog + inventory imports
  • Always include catalog-id in catalog XML — mismatched or missing catalog IDs cause products to import into the wrong catalog or fail completely
  • Test imports on staging before production — there is no bulk "undo" for catalog imports; test with a small subset first
  • Monitor job logs in BM → Administration → Operations → Jobs — failed jobs log to /IMPEX/log/; download and review logs immediately after automated imports
  • Use <display-name xml:lang="x-default"> for all localized strings — the x-default locale is required; missing it causes display issues in all locales
  • Set site preferences via import XML, not manually — document all custom site preference values in XML files committed to version control for environment consistency

Common Pitfalls

ProblemSolution
Products imported but not visible in storefrontCheck product online-flag is true, the category assignment has primary-flag set, and the site catalog is assigned to the current site
Import job completes but log shows "0 records processed"Verify the file was uploaded to the correct IMPEX path and the job's ImportFile parameter matches the exact filename including extension
Custom site preference not appearing in BM UIEnsure the system-objecttype-extensions.xml has been imported via BM → Administration → Site Development → Import & Export and the cache has been cleared
Inventory not updating despite successful importCheck that the inventory-list list-id in the XML matches the inventory list assigned to the site in BM → Merchant Tools → Products and Catalogs
OCAPI Data API returns 403 on job triggerThe client ID must have Data API permissions for the jobs resource; verify in BM → Administration → Site Development → OCAPI Settings → Data
Prices show default catalog price instead of imported pricebookAssign the pricebook to the site customer groups in BM → Merchant Tools → Pricing → Pricebooks; imported pricebooks are not active until assigned

Related Skills

  • @sfcc-cartridge-development
  • @sfcc-ocapi-scapi
  • @catalog-management
  • @product-import-export
  • @promotion-engine

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.89%
按下载量换算54

Claude

30.87%
按下载量换算49

Cursor

17.33%
按下载量换算28

Gemini CLI

9.91%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills