Commerce Catalog Strategy 标志

Commerce Catalog Strategy

社区
PranavNagrecha
commerce-catalog-strategy

Use this skill when designing a product catalog taxonomy, planning attribute strategy, or determining search and navigation structure for a B2B or B2C/D2C Commerce store. Triggers on: taxonomy design questions, attribute planning, search index strategy, category navigation structure, or merchandising hierarchy decisions. NOT for wiring the catalog itself — WebStoreCatalog, entitlement policies, product assignment — use admin/commerce-product-catalog. NOT for configuring searchable or facetable attributes, sort rules and index rebuilds — use apex/commerce-search-customization.

概览

发布者PranavNagrecha
代码仓库AwesomeSalesforceSkills
技能名称commerce-catalog-strategy
星标数
26
复刻数
5
附带文件
6
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 6 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 PranavNagrecha 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Commerce Catalog Strategy AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/admin/commerce-catalog-strategy
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/PranavNagrecha/AwesomeSalesforceSkills.git /tmp/AwesomeSalesforceSkills
mkdir -p .claude/skills
cp -r /tmp/AwesomeSalesforceSkills/skills/admin/commerce-catalog-strategy .claude/skills/commerce-catalog-strategy
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Commerce Catalog Strategy,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Commerce Catalog Strategy。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Commerce Catalog Strategy 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Commerce Catalog Strategy

This skill activates when a practitioner needs to design — not configure — a product catalog for Salesforce B2B or B2C/D2C Commerce. It covers taxonomy design, attribute planning, search index strategy, storefront navigation structure, and merchandising hierarchy. For hands-on configuration tasks (creating WebStoreCatalog records, assigning products to categories, configuring entitlement policies), use the companion skill admin/commerce-product-catalog.


Before Starting

Gather this context before working on anything in this domain:

  • Store type: B2B and B2C/D2C stores use the same underlying product catalog data model but have different storefront catalog structures, search behaviors, and attribute visibility rules. Confirm which platform is in scope.
  • Most common wrong assumption: Practitioners conflate the product catalog (the system-of-record for all products, not site-assigned, shared across orgs) with the storefront catalog (the navigation structure visible to buyers, one per site). These are separate objects with different design concerns.
  • 50 searchable field limit: D2C and B2C stores support a maximum of 50 searchable fields per product. Exceeding this limit silently breaks the next search index rebuild. This constraint must be resolved at taxonomy design time, not after catalog migration.
  • Full-token search only: Commerce search uses full-token matching. There is no prefix search or infix (substring) search. This constrains attribute naming conventions and significantly impacts how buyers can locate products by partial term.

Core Concepts

Understanding these four concepts is mandatory before making any taxonomy or attribute recommendation.

Product Catalog vs. Storefront Catalog

Salesforce Commerce uses two distinct catalog constructs that serve different purposes:

  • The product catalog (ProductCatalog object) is the system-of-record repository for all products and their attributes. It is not assigned to a storefront. Products exist in the product catalog independent of any store. This is where taxonomy (category hierarchy), product variants, and attribute definitions live as data.
  • The storefront catalog is the navigation structure used by a specific B2B or B2C site. It determines which categories buyers see, in what order, and which products appear in which category pages. A store has exactly one active storefront catalog.

Design mistake: planning the storefront navigation hierarchy first and then trying to force it into the product catalog. The product catalog taxonomy must be designed for system-of-record integrity and reuse across storefronts. The storefront catalog is a filtered, ordered view layered on top.

Search Index Architecture and the 50-Field Limit

D2C Commerce (and Salesforce B2C Commerce) indexes product attributes for search using a flat field mapping. The platform supports a maximum of 50 searchable fields per product. This limit applies across all attributes, custom fields, and standard fields that are marked as searchable.

Key implications for taxonomy and attribute strategy:

  • Budget searchable fields at the attribute planning stage, before any data migration.
  • Not every attribute needs to be searchable. Distinguish between: searchable (keyword-indexed), filterable (facet), and display-only (rendered on PDP but not indexed).
  • If the total searchable field count exceeds 50, the search index rebuild job will fail silently on the next run, returning stale or incomplete results. There is no runtime error visible to buyers; the failure is visible only in index job logs.

Full-Token Search and Naming Conventions

Commerce search performs full-token matching only. There is no prefix search (typing "cab" will not return "cabinet") and no infix/substring matching. This is a platform constraint, not a configuration option.

Practical impact on attribute and taxonomy design:

  • Product names and attribute values that rely on abbreviations or codes (e.g., "SKU-AX-2241") will not surface via partial-term search unless buyers type the complete token.
  • Category names used as search facet labels should use the buyer's natural vocabulary, not internal codes.
  • If buyers commonly search by partial term, consider denormalizing full descriptive names into a dedicated searchable field rather than relying on the attribute value format.

Taxonomy Depth, Breadth, and Category Assignment

A well-designed taxonomy balances navigability with maintainability:

  • Depth: Hierarchies deeper than 3–4 levels cause buyer navigation problems (excessive drilling) and increase the complexity of storefront catalog maintenance. The platform supports deeper nesting, but UX and search facet usability degrade.
  • Breadth: Categories with more than 20–30 direct children become unwieldy for faceted navigation. Group related subcategories under an intermediate level rather than flattening.
  • Assignment: A product can belong to multiple categories in the product catalog, but storefront catalog placement is managed separately. Design the category hierarchy to reflect logical groupings, not current navigation UI requirements — those requirements change, but the taxonomy should be stable.

Common Patterns

Attribute Budget Planning Before Data Migration

When to use: When migrating products from a legacy PIM, ERP, or spreadsheet into Commerce and the source system has many attributes per product.

How it works:

  1. Export the full attribute list from the source system.
  2. Classify each attribute as: searchable, filterable-only, display-only, or internal (not exposed to storefront).
  3. Count searchable candidates. If count exceeds 50, work with stakeholders to de-prioritize lower-value searchable fields.
  4. Document the classification in the catalog strategy document before any product import is attempted.
  5. Use the ProductAttribute and ProductAttributeSet objects to model the agreed attribute structure.

Why not the alternative: Waiting until post-migration to audit searchable fields means rework at scale. Changing a field from searchable to non-searchable after products are imported requires a full re-index, which is time-consuming for large catalogs.

Two-Layer Taxonomy Design

When to use: When a single storefront needs to present different navigation structures (e.g., by industry, by product type, or by buyer persona) while all products live in one product catalog.

How it works:

  1. Design the product catalog taxonomy for system-of-record accuracy: logical category hierarchy based on product nature, not buyer intent.
  2. Design the storefront catalog as a curated view: select which product catalog categories to expose, rename them for buyer-facing vocabulary, and set their display order.
  3. Use separate category records in the storefront catalog that map back to product catalog categories — do not try to serve two navigation intents with one taxonomy.

Why not the alternative: Building a single flat taxonomy that tries to serve both system-of-record integrity and multiple storefront navigation styles creates a category hierarchy that is too broad, hard to maintain, and resistant to change when the storefront UX evolves.


Decision Guidance

SituationRecommended ApproachReason
Attribute count in source system exceeds 50Classify attributes into searchable / filterable / display-only tiers; reduce searchable to ≤50Exceeding 50 searchable fields breaks search index rebuild
Multiple storefronts need different navigationDesign product catalog taxonomy for system-of-record; create separate storefront catalogs per siteStorefront catalog is a view layer; product catalog is stable record of truth
Buyers search by partial term or code fragmentAdd a dedicated full-name searchable field; document the token-matching constraintFull-token-only search means partial inputs return no results
Category hierarchy is deeper than 4 levelsFlatten intermediate levels; use faceted filtering to compensateDeep hierarchies degrade navigation UX and complicate storefront catalog maintenance
Product belongs to multiple logical categoriesAllow multi-category assignment in product catalog; manage storefront placement separatelyProducts can span categories at the product catalog level without storefront navigation conflict
Migrating from legacy PIM with inconsistent namingNormalize attribute values to buyer vocabulary during migration; do not import raw ERP codesFull-token search makes raw codes unsearchable unless buyers know the exact string

Recommended Workflow

Step-by-step instructions for an AI agent or practitioner working on this task:

  1. Identify store type and catalog scope. Confirm whether this is B2B, B2C, or D2C. Identify whether there are multiple storefronts sharing a single product catalog. Collect the estimated product count and number of distinct product types.
  2. Audit existing or planned attributes. List all attributes, custom fields, and standard fields that stakeholders want buyers to search or filter by. Classify each as: searchable, filterable-only, display-only, or internal. Confirm the searchable count is ≤50 before proceeding.
  3. Design the product catalog taxonomy. Define the category hierarchy with a maximum of 3–4 levels. Ensure category names reflect product nature (system-of-record intent), not buyer navigation intent. Verify each leaf category is specific enough to support faceted filtering.
  4. Design storefront catalog navigation. Map product catalog categories to the storefront catalog structure. Rename categories using buyer vocabulary. Define display order and which categories are visible on the storefront. If multiple storefronts exist, design a storefront catalog for each separately.
  5. Document attribute naming for search. Identify any attributes that use codes, abbreviations, or internal terminology. Decide whether to add a parallel descriptive field or normalize values for buyer-facing vocabulary. Document this decision in the catalog strategy artifact.
  6. Validate against platform limits. Run a final count of searchable fields. Confirm taxonomy depth. Confirm that no category hierarchy design decisions have been baked into the product catalog that should belong in the storefront catalog.
  7. Hand off to configuration. Produce the catalog strategy document (taxonomy diagram, attribute classification table, storefront navigation plan) and transfer to the configuration workstream using the admin/commerce-product-catalog skill.

Review Checklist

Run through these before marking work in this area complete:

  • Searchable field count confirmed at ≤50 per product type
  • Product catalog taxonomy designed independently from storefront navigation structure
  • All attribute values that buyers search by use full vocabulary terms, not codes or abbreviations
  • Storefront catalog designed as a curated view over the product catalog, not merged with it
  • Category hierarchy depth is 4 levels or fewer
  • Attribute classification (searchable / filterable / display-only) is documented and signed off
  • Multi-storefront scenarios have separate storefront catalog designs

Salesforce-Specific Gotchas

Non-obvious platform behaviors that cause real production problems:

  1. Exceeding 50 searchable fields fails silently — When the searchable field count exceeds 50, the next search index rebuild job completes without a user-visible error but returns stale or incomplete results. Buyers see no error; the failure is logged only in the index job history. By the time the symptom is noticed, the catalog may have grown significantly beyond the limit.
  2. Product catalog taxonomy changes do not automatically reflect in storefront catalog — Modifying a category in the product catalog (renaming, restructuring) does not propagate to the storefront catalog. Storefront catalog records must be updated separately. Teams that design these as one object are surprised when navigation breaks after a product catalog reorganization.
  3. Full-token search cannot be made prefix-aware through configuration — There is no admin setting or search configuration option that enables prefix or infix matching. This is a platform-level constraint. Workarounds require denormalizing data (adding extra searchable fields with expanded values), not configuration changes.

Output Artifacts

ArtifactDescription
Catalog Strategy DocumentTaxonomy diagram, attribute classification table, searchable field count, and storefront catalog navigation plan
Attribute Classification TableSpreadsheet mapping each attribute to its role: searchable, filterable, display-only, or internal
Storefront Catalog Navigation PlanCategory tree for each storefront with buyer-facing names, display order, and product catalog category mappings

Related Skills

  • admin/commerce-product-catalog — Use for the configuration execution that follows this strategy: creating ProductCatalog records, wiring WebStoreCatalog, assigning products to categories, configuring entitlement policies
  • admin/b2b-vs-b2c-requirements — Use when the store type has not yet been decided; determines which platform constraints apply before catalog strategy begins
  • apex/commerce-search-customization — Use after catalog strategy is complete to tune storefront search: searchable and facetable attributes, sort rules, index rebuilds, and Einstein product recommendations

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Commerce Catalog Strategy AI 技能有什么作用?

Use this skill when designing a product catalog taxonomy, planning attribute strategy, or determining search and navigation structure for a B2B or B2C/D2C Commerce store. Triggers on: taxonomy design questions, attribute planning, search index strategy, category navigation structure, or merchandising hierarchy decisions. NOT for wiring the catalog itself — WebStoreCatalog, entitlement policies, product assignment — use admin/commerce-product-catalog. NOT for configuring searchable or facetable attributes, sort rules and index rebuilds — use apex/commerce-search-customization.

为什么在 TypingMind 中使用 Commerce Catalog Strategy?

因为您只需安装一次,就能搭配任何模型使用。Commerce Catalog Strategy 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Commerce Catalog Strategy?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/admin/commerce-catalog-strategy。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Commerce Catalog Strategy?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Commerce Catalog Strategy 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Commerce Catalog Strategy 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Commerce Catalog Strategy AI 技能免费吗?

PranavNagrecha 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇