B2C Developer Tooling plugins for enhanced development workflows.
npx claudepluginhub salesforcecommercecloud/b2c-developer-toolingB2C CLI Skills for Salesforce Commerce Cloud development.
B2C Commerce development skills including Custom API development guides.
MCP server for AI-assisted Salesforce B2C Commerce development with project-aware tooling for common workflows.
Claude Code plugins for the Slidev presentation framework
Bundled plugins for actuating and debugging the Chrome browser.
Claude Code marketplace entries for the plugin-safe Antigravity Awesome Skills library and its compatible editorial bundles.
[!NOTE] This project is Generally Available (GA). Please provide feedback via GitHub issues.
Salesforce B2C Commerce Command Line Tools.
[!TIP] Just looking for the B2C CLI or MCP install instructions? Visit the documentation site at https://salesforcecommercecloud.github.io/b2c-developer-tooling/ for the latest install guide and CLI reference.
This is a pnpm monorepo with the following packages:
| Package | Description |
|---|---|
b2c-cli | Command line interface built with oclif |
b2c-tooling-sdk | SDK/library for B2C Commerce operations; supports the CLI and can be used standalone |
b2c-dx-mcp | MCP server for B2C Commerce developer experience tools |
pnpm install
pnpm start
# or directly:
pnpm --filter @salesforce/b2c-cli run dev
# or using convenience script:
./cli
The dev mode uses Node.js --conditions=development to resolve TypeScript source files directly from @salesforce/b2c-tooling-sdk without needing to build first.
# Build all packages
pnpm -r run build
# Build individual packages
pnpm --filter @salesforce/b2c-cli run build
pnpm --filter @salesforce/b2c-tooling-sdk run build
Tests use Mocha + Chai with c8 for coverage. HTTP mocking uses MSW.
# Run all tests with coverage (also runs linter after tests)
pnpm test
# Run tests for a specific package
pnpm --filter @salesforce/b2c-tooling-sdk run test
# Run tests without coverage (faster)
pnpm --filter @salesforce/b2c-tooling-sdk run test:unit
# Watch mode for TDD
pnpm --filter @salesforce/b2c-tooling-sdk run test:watch
# Run a specific test file
cd packages/b2c-tooling-sdk
pnpm mocha "test/clients/webdav.test.ts"
# Run tests matching a pattern
pnpm mocha --grep "uploads a file" "test/**/*.test.ts"
Coverage reports are generated in each package's coverage/ directory:
coverage/index.html - HTML reportcoverage/lcov.info - LCOV format for CI integrationThe SDK package has a 5% coverage threshold that will fail the build if not met.
# Run linter only
pnpm --filter @salesforce/b2c-cli run lint
pnpm --filter @salesforce/b2c-tooling-sdk run lint
This project uses Prettier for code formatting.
# Format all packages
pnpm -r run format
# Check formatting without modifying files
pnpm -r run format:check
Documentation is built using TypeDoc for API reference generation and VitePress for the documentation site.
docs/ - VitePress documentation source
guide/ - User guide and getting startedcli/ - CLI command referenceapi/ - Generated API documentation (do not edit manually)typedoc.json - TypeDoc configuration with entry points for SDK modulespnpm run docs:dev
This runs typedoc to generate API docs, then starts VitePress in development mode with hot reload.
pnpm run docs:build
pnpm run docs:preview
The documentation site serves two versions:
/dev/) — built from the main branch, updated on every push to mainDoc-only releases (without bumping CLI/SDK/MCP versions) are possible by creating a changeset targeting @salesforce/b2c-dx-docs. See PUBLISHING.md for details.
API documentation is auto-generated from JSDoc comments in the @salesforce/b2c-tooling-sdk package. The entry points are defined in typedoc.json:
See the documentation site for the generated API reference.