forcedotcom avatar

Commerce B2b Open Code Components Integrate

If you're setting up a B2B Commerce store and want to pull in Salesforce's official open source components from GitHub, this automates the whole integration. It clones the forcedotcom/b2b-commerce-open-source-components repo, resolves your package directory from sfdx-project.json, checks for existing store metadata (or retrieves it from your org), then copies all the LWC components and labels into your site's metadata structure so they show up in Experience Builder. The workflow is thorough with smart checks for existing files and gives you options to overwrite or skip. Saves you from manually wrangling Git repos and folder structures when you just want those components available in your store.

skills.sh installs
4.6K
GitHub stars
1.2K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/forcedotcom/sf-skills
Categories
Git & Pull Requests, Sales & Marketing
First seen
Jul 14, 2026

More from forcedotcom/sf-skills

All 158
1dpearson2699 avatarswift-testingdpearson2699/swift-ios-skillsWrites and migrates Swift Testing framework tests with @Test, @Suite, #expect, #require, confirmation, traits, withKnownIssue, Attachment.record, processExitsWi4.5Kskills.sh installs
2amelnagdy avatartest-guardamelnagdy/guard-skillsReview generated or changed test code against universal testing rules before it ships. Best used reactively after an agent writes, edits, generates, or refactor4.3Kskills.sh installs
3trailofbits avatargraph-evolutiontrailofbits/skillsCompares Trailmark code graphs at two source code snapshots (git commits, tags, or directories) to surface security-relevant structural changes. Detects new att4.2Kskills.sh installs
4xixu-me avatarxgetxixu-me/xgetUse when tasks involve Xget URL rewriting, registry/package/container/API acceleration, integrating Xget into Git, download tools, package managers, container b4.2Kskills.sh installs
5schpet avatarReleaseschpet/linear-cliThis skill should be used when the user asks to "make a release", "create a release", "cut a release", "release a new version", "publish a release", or mentions3.9Kskills.sh installs
6openai avatarskill-installeropenai/skillsInstall Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill3.9Kskills.sh installs