Salesforce B2C Commerce code version deployment and management Skill
/plugin marketplace add SalesforceCommerceCloud/b2c-developer-tooling/plugin install b2c-cli@b2c-developer-toolingThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Use the b2c CLI plugin to deploy and manage code versions on Salesforce B2C Commerce instances.
# deploy all cartridges from current directory
b2c code deploy
# deploy cartridges from a specific directory
b2c code deploy ./my-cartridges
# deploy to a specific server and code version
b2c code deploy --server my-sandbox.demandware.net --code-version v1
# deploy and reload (re-activate) the code version
b2c code deploy --reload
# delete existing cartridges before upload and reload
b2c code deploy --delete --reload
# deploy only specific cartridges
b2c code deploy -c app_storefront_base -c plugin_applepay
# exclude specific cartridges from deployment
b2c code deploy -x test_cartridge
# watch cartridges and upload changes automatically
b2c code watch
# watch a specific directory
b2c code watch ./my-cartridges
# watch with specific server and code version
b2c code watch --server my-sandbox.demandware.net --code-version v1
# watch only specific cartridges
b2c code watch -c app_storefront_base
# watch excluding specific cartridges
b2c code watch -x test_cartridge
# list code versions on the instance
b2c code list
# list with JSON output
b2c code list --json
# activate a code version
b2c code activate <version-name>
# reload (re-activate) the current code version
b2c code activate --reload
# delete a code version
b2c code delete <version-name>
See b2c code --help for a full list of available commands and options in the code topic.
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.