Agent skill
b2c-mrt
Using the b2c CLI for Managed Runtime (MRT) project and deployment management
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/b2c-mrt-salesforcecommercecl-b2c-developer-toolin-c0454eff
SKILL.md
B2C MRT Skill
Use the b2c CLI plugin to manage Managed Runtime (MRT) projects and deployments for PWA Kit storefronts.
Examples
Push Bundle to Managed Runtime
# 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
Manage Environments
# create a new MRT environment
b2c mrt env create
# delete an MRT environment
b2c mrt env delete
Environment Variables
# manage environment variables for an MRT environment
b2c mrt env var
Configuration
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 key
More Commands
See b2c mrt --help for a full list of available commands and options in the mrt topic.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?