Salesforce B2C Commerce Managed Runtime (MRT) project and deployment 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 manage Managed Runtime (MRT) projects and deployments for PWA Kit storefronts.
# push a bundle to MRT for a specific project
b2c mrt push --project my-storefront
# push to a specific environment (staging, production, etc.)
b2c mrt push --project my-storefront --environment staging
# push to production with a release message
b2c mrt push --project my-storefront --environment production --message "Release v1.0.0"
# push from a custom build directory
b2c mrt push --project my-storefront --build-dir ./dist
# specify Node.js version for SSR runtime
b2c mrt push --project my-storefront --node-version 20.x
# add SSR parameters
b2c mrt push --project my-storefront --ssr-param SSRProxyPath=/api
# use JSON output for automation
b2c mrt push --project my-storefront --json
# create a new MRT environment
b2c mrt env create
# delete an MRT environment
b2c mrt env delete
# manage environment variables for an MRT environment
b2c mrt env var
MRT settings can be configured in dw.json:
mrtProject: MRT project slugmrtEnvironment: MRT environment name (staging, production, etc.)Environment variables:
SFCC_MRT_PROJECT: MRT project slugSFCC_MRT_ENVIRONMENT: MRT environmentSFCC_MRT_API_KEY: MRT API keySee b2c mrt --help for a full list of available commands and options in the mrt topic.
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 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 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.