/b2c-cli:b2c-site-import-exportfrom b2c-cli
Authors, validates, imports, and exports B2C Commerce site archives and metadata XML. Useful for migrating or inspecting site data via CLI or MCP.
Ships in b2c-cli. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use b2c job import / b2c job export to transfer site archives. If b2c is
unavailable, use npx @salesforce/b2c-cli.
CLI and MCP share resolved configuration: SFCC_* variables (including project
.env), project/shared dw.json, and plugins. package.json provides nonsecret
defaults. Use --project-directory outside the target project. Inspect with
b2c setup inspect --json or MCP config_inspect; keep secrets masked. Configured
values normally make credential flags and manual dw.json reads unnecessary.
For resolution issues, use b2c-cli:b2c-config.
Use the CLI for XML imports and exports, including settings absent from SCAPI
contracts. Without a terminal, MCP site_archive_import imports XML given as text
(skill://mcp/b2c-mcp-site-import/SKILL.md); it does not export. MCP scapi_execute can
manage supported Admin fields; a metadata record alone does not prove that
promotion discounts or targeting rules are configured.
b2c docs schema <name> (list names with --list), then validate the archive
with b2c validate ./archive (MCP: validate_xml_schema) and fix every error.--show-log shows
job logs on failure. Check completion before retrying.b2c job import ./archive --show-log
b2c job export --site MySite --site-data campaigns_and_promotions --output ./verification
--site alone exports all site data; specify --site-data for focused work.
For a full instance export use --all; --site all, --catalog all, etc. select
every object of one type. Prefer these flags over hand-written --data-units JSON.
Directory output retains the platform's generated *_export root. Do not overwrite
an existing/applied migration. Exports may contain secrets or unrelated defaults;
review and trim before committing, preserving XSD-required fields.
b2c-job skill.b2c-cli:b2c-import-set-migrations.b2c:b2c-webservices.b2c-cli:b2c-setup.Jobs prefer SCAPI; --api-backend auto can fall back to OCAPI on supported
rejections. Archive transfer uses WebDAV in either case. For job scopes, backend
selection, and monitoring, use the relevant section of b2c-cli:b2c-job.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
b2c-commerce, site-archive, xml-migration, salesforce-commerce
28 skills in this plugin
/b2c-amManage Account Manager resources including API clients, users, roles, and organizations. Use this skill whenever the user needs to create or update API clients, onboard or offboard developers, assign Account Manager roles scoped to tenants, audit user permissions, look up organizations, or provision API clients for CI/CD pipelines. Also use when managing AM role assignments or querying Account Manager data — even if they just say "add a new developer" or "set up an API client". For instance-level Business Manager administration (BM roles, BM users, BM access keys, BM whoami), defer to the `b2c-cli:b2c-bm-users-roles` skill./b2c-bm-users-rolesManage Business Manager users, access roles, role permissions, and per-user access keys on a B2C Commerce instance using the b2c CLI. Use this skill whenever the user needs to list or search BM users on a sandbox or production instance, identify which BM user an OAuth token resolves to ("whoami"), assign or revoke instance-level access roles, edit role permissions, look up a user's WebDAV / OCAPI / Storefront access key, or rotate access keys for SSO-managed users. Also use when the user asks "what's my BM login on sandbox X", "rotate my WebDAV password", "how do I make a custom BM role", "audit BM users on this instance", or "delete a stale BM user from a sandbox".npx claudepluginhub salesforcecommercecloud/b2c-developer-tooling --plugin b2c-cliOther plugins' skills for the same job