Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

b2c-setup

БесплатноБез исполняемых скриптовНе проверен

Plan and run end-to-end setup of a B2C Commerce sandbox or realm (staging, production, development) with the b2c CLI — sample storefront data, sites, search…

SalesforceCommerceCloudот SalesforceCommerceCloud★ 58 звёзд на GitHub

Об этом скилле

B2C Setup Skill

Set up a B2C Commerce sandbox or realm from an empty instance to a working storefront. This skill is an index: pick the path for the target, follow its reference, and use the workflow catalog for product- or feature-specific steps.

Tip: If b2c is not installed globally, use npx @salesforce/b2c-cli instead (for example, npx @salesforce/b2c-cli sites list).

Safety First

Classify every target before changing it. Staging, production, and development instances are shared and can serve live traffic; imports and replication there change global settings for every site on the instance.

Target Before each change
Sandbox Confirm creating (billable) or deleting a sandbox. Imports and storefront setup can proceed once the user asked.
Staging, production, development instances State the instance hostname and the exact change, then wait for explicit approval. Ask again for each separate change.
Account Manager (API clients, users, roles) Show every detail (organization, roles, tenant filter, scopes) and wait for explicit approval. Ask again for each client.
  • Never infer that a target is a sandbox from a configuration name; check the hostname (see safety).
  • Approval for one instance or step does not carry to the next.
  • Production and development receive code and data by replication from staging. Do not import site data there directly; the storefront record is the exception (see b2c-cli:b2c-storefronts).

Recommend Safety Mode for shared instances: safety.

Choose a Path

Goal Path
A development sandbox with sample data and a storefront Sandbox setup
A new realm: staging first, then production / development Realm setup
Sample sites, catalogs, and content for any instance Storefront datasets
A Storefront Next storefront, project code, and .env Storefront Next setup
Add an instance to an existing Storefront Next project b2c-cli:b2c-storefronts

Every path starts the same way:

  1. Connect. Configure the instance and API client, then check with b2c setup inspect. See b2c-cli:b2c-config. Jobs, sites, and storefront commands need an API client; if the user has none, create one with their sign-in (b2c-cli:b2c-am, Create Client), and only after they approve every detail of it. Creating a Storefront Next storefront from the CLI needs storefront scopes on the client: Storefront Next setup.
  2. Check what exists. b2c sites list and b2c code list show existing sites and code versions. Do not overwrite existing sites or settings without approval.
  3. Load data (staging or sandbox only), then rebuild search indexes.
  4. Deploy code for the storefront type (cartridges, or a Storefront Next storefront).
  5. Verify each step before starting the next.

Workflow Catalog

Steps that depend on the product line, license, or feature. Use only the rows that apply to the user's realm.

Workflow Applies to Guidance
Instance connection, API clients, roles All b2c-cli:b2c-config, b2c-cli:b2c-am, b2c-cli:b2c-bm-users-roles
Sample data and search indexes All Storefront datasets, b2c-cli:b2c-job
Site archives and custom data All b2c-cli:b2c-site-import-export
Code and data replication Realms (staging to production/development) b2c-cli:b2c-replication
Storefront Next storef
Полный SKILL.md на GitHub

Установить b2c-setup в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

evals/trigger-evals.jsonreferences/DATASETS.mdreferences/REALM.mdreferences/SAFETY.mdreferences/SANDBOX.mdreferences/STOREFRONT-NEXT.md

FAQ

Что делает скилл b2c-setup?

Plan and run end-to-end setup of a B2C Commerce sandbox or realm (staging, production, development) with the b2c CLI — sample storefront data, sites, search indexes, code, Storefront Next storefronts, and replication — with confirmation before changes to shared instances. Use this skill whenever the user wants to set up a new sandbox or realm, load demo or sample data, stand up a storefront on a fresh instance, or get production ready from staging — even if they just say "set up my new realm" or "get Market Street running on my sandbox". For CLI connection settings alone, use b2c-cli:b2c-config.

Как установить скилл b2c-setup?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл b2c-setup запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить b2c-setup с