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★ 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
b2cis not installed globally, usenpx @salesforce/b2c-cliinstead (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:
- Connect. Configure the instance and API client, then check with
b2c setup inspect. Seeb2c-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. - Check what exists.
b2c sites listandb2c code listshow existing sites and code versions. Do not overwrite existing sites or settings without approval. - Load data (staging or sandbox only), then rebuild search indexes.
- Deploy code for the storefront type (cartridges, or a Storefront Next storefront).
- 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 |
Установить b2c-setup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic