Skip to content
View as Markdown
View as Markdown

Agent Skills & Plugins

Turn your coding agent into a B2C Commerce specialist. Skills cover the full platform — storefront and headless development, operational workflows, and everything in between — so your agent knows both how B2C Commerce works and which CLI commands to run.

Skills follow the open Agent Skills standard and work with Agentforce Vibes, Claude Code, Cursor, GitHub Copilot (VS Code and CLI), Codex, OpenCode, and others. Install from your IDE's plugin marketplace or the B2C CLI (b2c setup skills).

Quick Start

bash
claude plugin marketplace add SalesforceCommerceCloud/b2c-developer-tooling
# Use --scope project to install for current project only
claude plugin install b2c-cli
claude plugin install b2c
claude plugin install storefront-next
text
In VS Code, open the Command Palette (Cmd/Ctrl+Shift+P) and run:
  Chat: Install Plugin from Source
Then enter:
  SalesforceCommerceCloud/b2c-developer-tooling
bash
copilot plugin marketplace add SalesforceCommerceCloud/b2c-developer-tooling
copilot plugin install b2c-cli@b2c-developer-tooling
copilot plugin install b2c@b2c-developer-tooling
copilot plugin install storefront-next@b2c-developer-tooling
bash
codex plugin marketplace add SalesforceCommerceCloud/b2c-developer-tooling
# Then in Codex, run /plugins, select the "B2C Developer Tooling"
# marketplace, and select and install the desired plugins.
bash
# Marketplace install coming soon. For now, use the B2C CLI:
npx @salesforce/b2c-cli setup skills --ide agentforce-vibes
bash
npx @salesforce/b2c-cli setup skills

Available Plugins

PluginDescription
b2c-cliB2C CLI commands and operations — code deployment, job execution, site archives, WebDAV, On-Demand Sandbox management
b2cB2C Commerce development patterns — controllers, ISML, forms, localization, logging, metadata, web services, custom job steps, Page Designer, Business Manager extensions, Custom APIs
storefront-nextStorefront Next development — project setup, routing, data fetching, components, Page Designer, authentication, i18n, extensions, testing, and deployment to Managed Runtime
b2c-dx-mcpAutomatic project type detection and B2C Commerce workflows for your AI assistant. See MCP Installation

Claude Code

Add the marketplace:

bash
claude plugin marketplace add SalesforceCommerceCloud/b2c-developer-tooling

Install plugins at your preferred scope:

bash
claude plugin install b2c-cli
claude plugin install b2c
claude plugin install storefront-next
claude plugin install b2c-dx-mcp
bash
claude plugin install b2c-cli --scope project
claude plugin install b2c --scope project
claude plugin install storefront-next --scope project
claude plugin install b2c-dx-mcp --scope project

Verify, update, or uninstall:

bash
claude plugin list
claude plugin marketplace update
claude plugin update b2c-cli@b2c-developer-tooling
claude plugin update storefront-next@b2c-developer-tooling
claude plugin uninstall b2c-cli@b2c-developer-tooling
claude plugin marketplace remove b2c-developer-tooling

Codex

Add the marketplace:

bash
codex plugin marketplace add SalesforceCommerceCloud/b2c-developer-tooling

Then in Codex run /plugins, select the B2C Developer Tooling marketplace, and select and install the desired plugins.

Codex does not yet support installing plugins from the command line — installs happen from the interactive /plugins picker. You can also point Codex at a local marketplace directory by running codex plugin marketplace add <path-to-dir>.

Upgrade or remove the marketplace later with:

bash
codex plugin marketplace upgrade b2c-developer-tooling
codex plugin marketplace remove b2c-developer-tooling

Note: The b2c-dx-mcp plugin is available only for Claude Code. For other clients, install the MCP server directly — see MCP Installation.

B2C CLI

Interactive — select skillsets and IDEs:

bash
b2c setup skills

List available skills:

bash
b2c setup skills b2c --list
b2c setup skills b2c-cli --list
b2c setup skills storefront-next --list

Install to specific IDEs:

bash
b2c setup skills b2c --ide cursor
b2c setup skills b2c-cli --ide windsurf
b2c setup skills b2c --ide cursor --ide windsurf
bash
b2c setup skills b2c --ide cursor --global
b2c setup skills b2c-cli --ide vscode --global

Install specific skills only:

bash
b2c setup skills b2c-cli --skill b2c-code --skill b2c-webdav --ide cursor

Update existing skills:

bash
b2c setup skills b2c --ide cursor --update

Non-interactive (CI/CD):

bash
b2c setup skills b2c-cli --ide cursor --global --force

See Setup Commands for full documentation.

Agentforce Vibes

See Skills in Agentforce Vibes for platform details.

bash
b2c setup skills b2c --ide agentforce-vibes
b2c setup skills b2c-cli --ide agentforce-vibes
b2c setup skills b2c --ide agentforce-vibes --global

Other IDEs

TIP

Use b2c setup skills for any supported IDE.

IDEFlag
Cursor--ide cursor
Windsurf--ide windsurf
VS Code / Copilot--ide vscode
Codex CLI--ide codex
OpenCode--ide opencode

Manual Installation

Install to .agents/skills/ (default) or a custom directory:

bash
b2c setup skills b2c --ide manual
b2c setup skills b2c --ide manual --directory ./my-skills

For reference, the install locations each --ide flag writes to:

IDEProjectUser
Cursor.cursor/skills/~/.cursor/skills/
Windsurf.windsurf/skills/~/.codeium/windsurf/skills/
VS Code / Copilot.github/skills/~/.copilot/skills/
Codex CLI.codex/skills/~/.codex/skills/
OpenCode.opencode/skills/~/.config/opencode/skills/
Agentforce Vibes.a4drules/skills/IDE's global storage

Usage Examples

Once installed, ask your AI assistant:

  • "Deploy the cartridges in ./cartridges to my sandbox"
  • "List all code versions on my instance and show which one is active"
  • "Run the reindex job on my sandbox"
  • "Download the latest log files from my instance"
  • "Create a new On-Demand Sandbox with TTL of 48 hours"
  • "Help me create a Custom API for loyalty information"
  • "Add logging to my checkout controller"
  • "Create an HTTP service to call the payment gateway API"
  • "Set up a new Storefront Next project"
  • "Add a new route with a loader to my Storefront Next app"
  • "Deploy my Storefront Next storefront to Managed Runtime"
  • "Add Page Designer support to my storefront component"

Released under the Apache-2.0 License.