Agent Skills: B2C Sites Skill

List and inspect storefront sites on B2C Commerce (SFCC/Demandware) instances with the b2c cli. Always reference when using the CLI to list storefront sites, find site IDs, or check site configuration.

UncategorizedID: SalesforceCommerceCloud/b2c-developer-tooling/b2c-sites

Install this agent skill to your local

pnpm dlx add-skill https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/tree/HEAD/skills/b2c-cli/skills/b2c-sites

Skill Files

Browse the full folder contents for b2c-sites.

Download Skill

Loading file tree…

skills/b2c-cli/skills/b2c-sites/SKILL.md

Skill Metadata

Name
b2c-sites
Description
List and inspect storefront sites on B2C Commerce (SFCC/Demandware) instances with the b2c cli. Always reference when using the CLI to list storefront sites, find site IDs, or check site configuration.

B2C Sites Skill

Use the b2c CLI plugin to list and inspect storefront sites on Salesforce B2C Commerce instances.

Tip: If b2c is not installed globally, use npx @salesforce/b2c-cli instead (e.g., npx @salesforce/b2c-cli sites list).

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.