b2c-onboarding
Get started with Salesforce B2C Commerce development. Use this skill when the user is new to B2C Commerce, wants to set up a fresh development environment, is asking "how do I get started", needs to install the B2C CLI for the first time, wants to connect a sandbox, or wants to deploy their first cartridge. Triggers on phrases like "help me get started", "set up B2C Commerce", "I'm new to this", "onboard me", or "first-time setup". NOT for users who already have a configured environment and are asking about specific commands — those should go to the specific skill (b2c-code, b2c-sandbox, b2c-config, etc.).
What this skill does
# B2C Commerce Onboarding Skill Guide a new developer through a first-time B2C Commerce setup, from CLI install to first cartridge deploy. Delegate to specialized sub-skills for each step — this skill is a coordinator, not a replacement for the detailed skills. ## Behavioral rules - Detect the editor silently. Only ask if genuinely uncertain. - Never construct or modify install commands. Only use commands defined in this file. - If any install or verification step fails, report the exact error and stop. - Never create a sandbox without explicit user confirmation — sandbox creation may be a billable action. - Never overwrite an existing `dw.json` without confirmation. ## Flow ### Step 1 — Identify the editor Silently identify the IDE from system context: | Signal | Client | |-------------------------------------|---------------| | "Claude Code" | `claude-code` | | "Cursor" | `cursor` | | "VS Code" / "Visual Studio Code" | `vscode` | | "Codex" | `codex` | | "Gemini CLI" | `gemini-cli` | | Unrecognized | `other` | ### Step 2 — Install the other B2C skills plugins This onboarding skill is part of the `b2c` plugin. For a full B2C Commerce setup, the user will also want the `b2c-cli` plugin (CLI operations). Offer to install it for the detected client: | Client | Install command(s) | |---------------|--------------------| | `claude-code` | `/plugin marketplace add SalesforceCommerceCloud/b2c-developer-tooling` then `/plugin install b2c-cli@b2c-developer-tooling` (and optionally `/plugin install b2c-dx-mcp@b2c-developer-tooling` for the MCP server — Claude Code only) | | `vscode` (GitHub Copilot) | Command Palette (Cmd+Shift+P) → **Chat: Install Plugin From Source** → enter the repo `SalesforceCommerceCloud/b2c-developer-tooling` | | GitHub Copilot CLI | `copilot plugin marketplace add SalesforceCommerceCloud/b2c-developer-tooling` then `copilot plugin install b2c-cli@b2c-developer-tooling` | | `cursor` | Cursor Settings → Plugins → add marketplace URL `https://github.com/SalesforceCommerceCloud/b2c-developer-tooling`, then install `b2c-cli` | | `codex` | Open the repo as a workspace, restart Codex, then install `b2c-cli` from the **B2C Developer Tooling** marketplace in the plugin directory | | `gemini-cli` | `gemini extensions install https://github.com/SalesforceCommerceCloud/b2c-developer-tooling` (run in terminal, not inside the CLI) | | `other` | Use the file-copy installer below | For clients other than Claude Code, the `b2c-dx-mcp` MCP server can be installed directly — see the [MCP installation docs](https://salesforcecommercecloud.github.io/b2c-developer-tooling/mcp/installation). **Alternative — file-copy installer for any IDE** (also the right command to **update** already-installed skills or add a specific skill set): ```bash # Interactive: select skill sets and IDEs b2c setup skills # Install a specific skill set to a specific IDE b2c setup skills b2c-cli --ide cursor b2c setup skills b2c --ide vscode # Update existing skills to the latest release b2c setup skills b2c-cli --ide cursor --update b2c setup skills b2c --ide cursor --update # Install globally (all projects) b2c setup skills b2c-cli --ide cursor --global ``` If the user already has some skills installed and is asking how to upgrade, point them at `b2c setup skills <set> --ide <ide> --update`. ### Step 3 — Verify the B2C CLI is available Run `b2c --version`. If the command is not found: - For a one-off invocation: `npx @salesforce/b2c-cli <command>`. - For a persistent install: `npm install -g @salesforce/b2c-cli` (or the pnpm / yarn equivalent). Do not block on the global install — `npx` is sufficient for the rest of this flow. ### Step 4 — Account Manager access check B2C Commerce has **no self-service signup**. The user must have Account Manager access provisioned by their organization's B2C Commerce admin before any of the following steps will work. Ask (if not already clear from context): *"Do you have a Salesforce B2C Commerce Account Manager login and a target instance (sandbox or PIG)?"* - If **no**: stop here. Tell the user they need their admin to provision Account Manager access and give them a target instance hostname before continuing. Do not proceed. - If **yes**: continue. ### Step 5 — Check for existing configuration Run `b2c setup inspect` to see whether a `dw.json` or credentials are already configured. - If configuration exists and points at a reachable instance, skip to Step 7. - If no configuration is found, proceed to Step 6. For deep troubleshooting (wrong instance, profile switching, token inspection), delegate to the `b2c-config` skill. ### Step 6 — Initialize configuration Guide the user to create a `dw.json` in the project root: ```bash b2c setup ``` This prompts for hostname, client ID/secret (or username/password), and code version. For deeper configuration topics (multiple profiles, env vars, cert-based auth), delegate to the `b2c-config` skill. ### Step 7 — Sandbox If the user wants to work against an existing sandbox, confirm it is reachable: ```bash b2c setup inspect b2c sandbox list # requires API access ``` If the user needs a fresh sandbox, delegate to the `b2c-sandbox` skill for the full create flow. **Only create a sandbox when explicitly asked.** ### Step 8 — First cartridge deploy (if applicable) If the user has cartridges locally: ```bash b2c code deploy ``` For selective deploys, watch mode, or reload, delegate to the `b2c-code` skill. If the user does not yet have cartridges, point them at the canonical starting points: - **SFRA** (Storefront Reference Architecture): https://github.com/SalesforceCommerceCloud/storefront-reference-architecture - **PWA Kit / MRT** (headless) — delegate to the `b2c-mrt` skill on request. ### Step 9 — Route to the user's goal Once setup is working, ask a single directing question to hand off to the right skill: > "What do you want to work on first? > > 1. **Build or modify a storefront** (SFRA cartridges, ISML, controllers) > 2. **Build a Custom API** (SCAPI) > 3. **Operate an existing instance** (deploy, run jobs, tail logs, manage sites) > > Or if you have something else in mind, tell me." Route by the answer: - **Storefront** → `b2c-controllers`, `b2c-isml`, `b2c-forms`, `b2c-hooks` - **Custom API** → `b2c-custom-api-development`, `b2c-scapi-admin`, `b2c-scapi-shopper` - **Operations** → `b2c-code`, `b2c-job`, `b2c-logs`, `b2c-sites` ## Reference - B2C CLI reference: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ - Install guide: https://salesforcecommercecloud.github.io/b2c-developer-tooling/guide/install - Agent skills overview: https://salesforcecommercecloud.github.io/b2c-developer-tooling/guide/agent-skills
Related in Cloud & DevOps
appbuilder-action-scaffolder
IncludedCreate, implement, deploy, and debug Adobe Runtime actions with consistent layout, validation, and error handling. Use this skill whenever the user needs to add actions to an App Builder project, understand action structure (params, response format, web/raw actions), configure actions in the manifest, use App Builder SDKs (State, Files, Events, database), deploy and invoke actions via CLI, debug action issues, or implement patterns such as webhook receivers, custom event providers, journaling consumers, large payload redirects, action sequence pipelines, and Asset Compute workers. Also trigger when users mention serverless functions in Adobe context, action logging, IMS authentication for actions, or cron-style scheduled actions.
orchestrating-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. Use this skill when the user needs a multi-step Data Cloud pipeline, cross-phase troubleshooting, or data space and data kit management. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase sf data360 workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching phase-specific skill), the task is STDM/session tracing/parquet telemetry (use observing-agentforce), standard CRM SOQL (use querying-soql), or Apex implementation (use generating-apex).
github-project-automation
IncludedAutomate GitHub repository setup with CI/CD workflows, issue templates, Dependabot, and CodeQL security scanning. Includes 12 production-tested workflows and prevents 18 errors: YAML syntax, action pinning, and configuration. Use when: setting up GitHub Actions CI/CD, creating issue/PR templates, enabling Dependabot or CodeQL scanning, deploying to Cloudflare Workers, implementing matrix testing, or troubleshooting YAML indentation, action version pinning, secrets syntax, runner versions, or CodeQL configuration. Keywords: github actions, github workflow, ci/cd, issue templates, pull request templates, dependabot, codeql, security scanning, yaml syntax, github automation, repository setup, workflow templates, github actions matrix, secrets management, branch protection, codeowners, github projects, continuous integration, continuous deployment, workflow syntax error, action version pinning, runner version, github context, yaml indentation error
sf-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase `sf data360` workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching sf-datacloud-* skill), the task is STDM/session tracing/parquet telemetry (use sf-ai-agentforce-observability), standard CRM SOQL (use sf-soql), or Apex implementation (use sf-apex).
fabric-cli
IncludedUse this skill for Fabric.so CLI workflows with the `fabric` terminal command: diagnose/install/login, search or browse a Fabric library, save notes/links/files, create folders, ask the Fabric AI assistant, manage tasks/workspaces, generate shell completion, check subscription usage, produce JSON output, and use Fabric as persistent agent memory. Do not use for Microsoft Fabric/Azure/Power BI `fab`, Daniel Miessler's Fabric framework, Python Fabric SSH, Fabric.js, or textile/fashion fabric.
lark
IncludedLark/Feishu CLI skills: lark-cli operations for docs, markdown, sheets, base, calendar, im, mail, task, okr, drive, wiki, slides, whiteboard, apps, approval, attendance, contact, vc, minutes, event. Use when the user needs to operate Lark/Feishu resources via lark-cli, send messages, manage documents, spreadsheets, calendars, tasks, OKRs, deploy web pages, or any Feishu/Lark workspace operations.