Claude-skill-registry b2c-docs
Search and read B2C Commerce Script API documentation and XSD schemas. Use when writing B2C scripts, looking up classes for the SFCC/Demandware/B2C Commerce script API, answering "how do I" questions about generating URLs, querying products, processing orders, services, or any dw.* API task. Also use for import/export XML format reference. Use to verify class methods, properties, and usage.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/b2c-docs" ~/.claude/skills/majiayu000-claude-skill-registry-b2c-docs && rm -rf "$T"
manifest:
skills/data/b2c-docs/SKILL.mdsource content
B2C Docs Skill
Use the
b2c CLI to search and read bundled Script API documentation and XSD schemas for Salesforce B2C Commerce.
Examples
Search Documentation
# Search for a class by name b2c docs search ProductMgr # Search with partial match b2c docs search "catalog product" # Limit results b2c docs search status --limit 5 # List all available documentation b2c docs search --list
Read Documentation
# Read documentation for a class (renders in terminal) b2c docs read ProductMgr # Read by fully qualified name b2c docs read dw.catalog.ProductMgr # Output raw markdown (for piping) b2c docs read ProductMgr --raw # Output as JSON b2c docs read ProductMgr --json
Download Documentation
Download the latest Script API documentation from a B2C Commerce instance:
# Download to a directory b2c docs download ./my-docs # Download with specific server b2c docs download ./docs --server sandbox.demandware.net # Keep the original archive b2c docs download ./docs --keep-archive
Read XSD Schemas
Read bundled XSD schema files for import/export data formats:
# Read a schema by name b2c docs schema catalog # Fuzzy match schema name b2c docs schema order # List all available schemas b2c docs schema --list # Output as JSON b2c docs schema catalog --json
Common Classes
| Class | Description |
|---|---|
| Product management and queries |
| Product data and attributes |
| Shopping basket operations |
| Order processing |
| Customer management |
| Site configuration |
| URL generation utilities |
Common Schemas
| Schema | Description |
|---|---|
| Product catalog import/export |
| Order data import/export |
| Customer data import/export |
| Inventory data import/export |
| Price book import/export |
| Promotion definitions |
| Coupon codes import/export |
| Job step definitions |
More Commands
See
b2c docs --help for a full list of available commands and options.