b2c-sites
Salesforce B2C Commerce storefront sites listing and inspection Skill
When & Why to Use This Skill
This Claude skill provides a powerful interface for managing Salesforce B2C Commerce (Demandware) environments. It enables developers and administrators to list, inspect, and audit storefront sites across multiple instances—including production and sandboxes—directly through the b2c CLI. By streamlining site discovery and configuration retrieval, it significantly reduces the manual effort required for e-commerce platform maintenance and environment synchronization.
Use Cases
- Multi-Instance Auditing: Quickly list all active storefront sites across different Salesforce instances (sandbox, staging, production) to ensure environment consistency.
- DevOps Pipeline Integration: Utilize the JSON output capability to automate site status reports or feed site data into custom deployment and monitoring scripts.
- Rapid Troubleshooting: Use server-specific flags and debug logging to inspect site configurations and identify connectivity issues on specific Salesforce B2C Commerce servers.
- Environment Discovery: Help new developers or team members quickly understand the site structure and available storefronts within a complex Salesforce organization.
| name | b2c-sites |
|---|---|
| description | Using the b2c CLI for storefront sites listing and inspection |
B2C Sites Skill
Use the b2c CLI plugin to list and inspect storefront sites on Salesforce B2C Commerce instances.
Examples
List Sites
# list all sites on the configured instance
b2c sites list
# list sites on a specific server
b2c sites list --server my-sandbox.demandware.net
# list sites with JSON output (useful for parsing/automation)
b2c sites list --json
# use a specific instance from config
b2c sites list --instance production
# enable debug logging
b2c sites list --debug
More Commands
See b2c sites --help for a full list of available commands and options in the sites topic.