Skip to content
forcedotcom avatar

Commerce B2b Open Code Components Integrate

Copies Salesforce B2B Commerce open source LWC components and labels into a store for Experience Builder.

CCM score
66 of 100
skills.sh installs
4.7K
GitHub stars
1.2K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers cloning the forcedotcom open source repo, then copying sfdc_cms__lwc components and sfdc_cms__label sets into the store's site metadata
  • Checks for an existing clone and existing components, offering reuse or re-clone and overwrite or copy-only-new options before copying
  • Resolves the package directory from sfdx-project.json and retrieves store metadata from the connected org when none is present locally
  • Designed for B2B Commerce developers adding open source components to a store before deploying and publishing it in Experience Builder

Install

$ npx -y skills add forcedotcom/sf-skills --skill commerce-b2b-open-code-components-integrate -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

When to Use This Skill

Use this skill when you need to:

  • Integrate all open source B2B Commerce components into a store
  • Add open source components to a new or existing B2B Commerce store
  • Make open code components available in Experience Builder

Rules

  1. Always explain before executing. Before running any command, you MUST tell the user what the command does and why you are running it. Never just show a raw command and ask for permission. The user should be able to read your explanation and understand the purpose before approving.

Overview

This skill copies all open source B2B Commerce components from the official Salesforce repository (https://github.com/forcedotcom/b2b-commerce-open-source-components) into a B2B Commerce store's site metadata. After integration, the components appear in the Experience Builder component palette.


Startup Flow

When this skill is triggered, perform these checks automatically before copying.

Check 0: Resolve Package Directory

Details

Repository
github.com/forcedotcom/sf-skills
Category
Frontend & UI Code
First seen
Jul 14, 2026

Questions

What does the commerce-b2b-open-code-components-integrate skill do?

It copies the open source Salesforce B2B Commerce components and their labels from the GitHub repository into a store's site metadata. After integration the components appear in the Experience Builder component palette, and the skill tells you to deploy and publish the site afterward.

How do I install the commerce-b2b-open-code-components-integrate skill?

Run npx -y skills add forcedotcom/sf-skills --skill commerce-b2b-open-code-components-integrate -y in your project. The skill then clones the source repository into a local .tmp folder when it runs, so your agent can copy the components into your store.

What does the skill need before it can integrate components?

It needs git and the Salesforce CLI (sf) available, plus a store to copy into, either existing site metadata in the project or a connected org it can retrieve from. If no store is found, it hands off to the commerce-b2b-store-create skill.

Where does this skill stand in the Frontend and UI Code category?

It sits in the Frontend and UI Code category, which is led by vercel-react-best-practices, web-design-guidelines and design-taste-frontend. This skill is narrower: it only adds Salesforce B2B Commerce open code components to a store for Experience Builder.

More from forcedotcom/sf-skills

All 78

Similar to Commerce B2b Open Code Components Integrate

More Frontend & UI Code