/b2c-cli:b2c-jobfrom b2c-cli
Runs B2C Commerce jobs, monitors executions, inspects failures, rebuilds search indexes, and imports/exports site archives via CLI.
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 for existing jobs. To create job steps or author jobs.xml, use
b2c:b2c-custom-job-steps. If b2c is unavailable, use npx @salesforce/b2c-cli.
CLI and MCP share configuration: SFCC_* variables (including project .env),
project/shared dw.json, and plugins; package.json provides nonsecret defaults.
Use --project-directory when running outside the target project. Inspect with
b2c setup inspect --json or MCP config_inspect; both mask secrets by default.
Override configured values only when needed. For resolution issues, use b2c-cli:b2c-config.
No dedicated MCP job tool exists. In an MCP session, start, wait for, and review
jobs in code mode (skill://mcp/b2c-mcp-scapi/references/jobs.md); use the CLI
for archive transfer (import/export) and when running from a terminal.
b2c job run my-job --wait --timeout 600
b2c job run my-job --wait -P key=value
b2c job search --job-id my-job --count 5
b2c job wait my-job execution-id --timeout 600
b2c job log my-job --failed
Rebuild a search index (system jobs take --body, never -P):
b2c job run sfcc-search-index-product-full-update --wait --body '{"site_scope":["MySite"]}'
job run returns immediately unless --wait is supplied. For raw system-job
bodies, search indexing, standard step choices, execution deletion, and backend
configuration: run and monitor.
Deletion removes completed execution records; it does not cancel jobs.
b2c job import ./archive --show-log
b2c job import ./storefront-export.zip --wait-for-storefront
b2c job export --site MySite --site-data campaigns_and_promotions --output ./export
b2c job export --storefront my-storefront --output ./export
b2c job export --all --output ./full-export
Import/export wait by default and transfer files over WebDAV. Jobs prefer SCAPI
(sfcc.jobs.rw for writes, sfcc.jobs for reads); --api-backend auto falls back
on supported SCAPI rejections. See the backend section in the run/monitor reference
if access fails. Check job outcome before retrying a write.
Read only the relevant reference:
b2c-cli:b2c-site-import-export.b2c-cli:b2c-import-set-migrations.b2c-cli:b2c-replication.b2c-cli:b2c-storefronts.Normal CLI output suffices for status. For scripting, save large --json results
to a file and print selected fields; keep the exit code and inspect failures.
See export, section compact-results. Avoid dumping full
execution records or reading both JSON and human output for the same result.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub salesforcecommercecloud/b2c-developer-tooling --plugin b2c-cli28 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"./b2c-capManage Commerce App Packages (CAPs), also called commerce apps or apps, and commerce features using the b2c CLI. Use this skill whenever the user needs to validate, package, install, uninstall, list, or pull commerce apps on B2C Commerce instances, view configuration tasks, or pull app sources for cartridge deployment or Storefront Next development. Also use when checking which apps are installed on an instance, inspecting app details or versions, or managing app lifecycle — even if they just say "what apps do I have", "list my commerce apps", "which CAPs are installed", "install this app", "pull app sources", or "show installed apps"./b2c-cipQuery CIP/CCAC sales, merchandising, payment, traffic, and API/controller analytics with the B2C CLI or MCP. Discover reports/tables, scope SQL, export results, and resolve analytics access./b2c-codeDeploy, download, and manage cartridge code versions on B2C Commerce instances. Use this skill whenever the user needs to upload or download cartridges to/from a sandbox, activate or delete code versions, watch for local file changes during development, or deploy a subset of cartridges. Also use when pushing code to an instance, pulling code from an instance, or setting up a dev workflow with live reload -- even if they just say 'push my code to the sandbox', 'download the code', or 'how do I activate the new version'./b2c-configConfigure B2C CLI/MCP authentication, instances, and project defaults; troubleshoot missing credentials, wrong targets, or configuration precedence. Routine inspection can use config_inspect or b2c setup inspect directly.Other plugins' skills for the same job