B2C Code
B2C Code generates tailored Salesforce Commerce Cloud code snippets for enhanced B2C experiences and custom functionality, boosting efficiency & personalization.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add b2c-code npx -- -y @trustedskills/b2c-code
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"b2c-code": {
"command": "npx",
"args": [
"-y",
"@trustedskills/b2c-code"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The b2c-code skill provides developer tooling specifically designed for the Salesforce Commerce Cloud (B2C) platform. It enables AI agents to generate, manage, and deploy code tailored for building and maintaining B2C commerce solutions within the Salesforce ecosystem.
When to use it
- Automating the creation of custom storefront components for B2C sites.
- Generating API integration logic to connect external services with Commerce Cloud data.
- Deploying updates or patches to existing B2C codebases without manual intervention.
- Assisting in debugging and refactoring legacy Salesforce Commerce Cloud scripts.
Key capabilities
- B2C-Specific Context: Understands the unique architecture and requirements of Salesforce Commerce Cloud for consumer-facing businesses.
- Code Generation: Produces ready-to-use code snippets and modules aligned with B2C best practices.
- Developer Tooling Integration: Leverages underlying tooling to streamline the development lifecycle on the platform.
Example prompts
- "Generate a React component for a product detail page optimized for Salesforce Commerce Cloud B2C."
- "Write an API handler to fetch customer order history from the B2C backend and format it for JSON response."
- "Create a deployment script to push a new feature flag configuration to our live B2C environment."
Tips & gotchas
Ensure your AI agent has access to the specific Salesforce Commerce Cloud version documentation, as tooling behavior may vary across releases. This skill is strictly scoped to B2C environments and should not be used for B2B or non-Salesforce commerce projects.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.