commerce-b2b-open-code-components-replace
Skill by forcedotcom
Replaces out-of-the-box B2B Commerce components with open source site components in store site metadata. It can also look up the open code equivalent for OOTB definitions without changing any files.
Install commerce-b2b-open-code-components-replace
Built from the published package, never by AI.
git clone --depth 1 https://github.com/forcedotcom/sf-skills /tmp/sf-skills && mkdir -p ~/.claude/skills && cp -r /tmp/sf-skills/skills/commerce-b2b-open-code-components-replace ~/.claude/skills/commerce-b2b-open-code-components-replacRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install commerce-b2b-open-code-components-replace in Claude Code
git clone --depth 1 https://github.com/forcedotcom/sf-skills /tmp/sf-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/sf-skills/skills/commerce-b2b-open-code-components-replace ~/.gemini/antigravity-cli/skills/commerce-b2b-open-code-components-replacAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install commerce-b2b-open-code-components-replace in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill swaps OOTB (out-of-the-box) B2B Commerce component definitions in site metadata content.json files for their open source site: equivalents. It scans the store's view and theme layout files for commerce_builder definitions, cross-checks them against a mapping file, and confirms each target exists in the cloned open code repository before writing changes.
It also supports a lookup-only mode that reports the equivalent site: component for named components or for definitions in a given view, without writing files. The skill depends on the commerce-b2b-open-code-components-integrate skill for setup. It is aimed at Salesforce B2B Commerce store builders who want to move from OOTB components to open source ones.
Written from the project's SKILL.md and checked against it.
What it can do
- Full replaceScans site metadata, lets the user pick components, and updates their definitions in content.json files.
- Lookup onlyReports the open code site: equivalent for OOTB definitions without changing any files.
- View-scoped lookupLimits file discovery and reads to a single view folder when the user names one.
- Mapping reportLists replaced, skipped, and unmapped components in a summary after the run.
What you need
- A Salesforce B2B Commerce store with site metadata
- Open source B2B Commerce components cloned to .tmp/b2b-commerce-open-source-components
- The commerce-b2b-open-code-components-integrate skill
- Salesforce CLI (sf) to deploy the changed metadata
Try asking
- Replace OOTB components with open code versions in my store
- What is the open code equivalent of commerce_builder:cartBadge?
- Find open code equivalents for components in the Home view
Good to know
- Only components listed in the mapping file are replaced; others are left unchanged.
- Components missing from the cloned open code repo are skipped.
- Lookup-only mode does not write files unless the user confirms replacement.
- Changes must be deployed and the site published by the user.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/commerce-b2b-open-code-components-replace/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Bash(grep:*) Bash(ls:*) Read Write
Alternatives to commerce-b2b-open-code-components-replace
All alternatives →Shopify skill that lets an AI assistant set up and run a Shopify store through Shopify's official MCP server. It is for people who want to sell online, start a store, or manage an existing Shopify store.
Guides an AI assistant through building Shopify apps, extensions and themes. It covers the GraphQL Admin API, Shopify CLI, Polaris UI and Liquid. Intended for Shopify developers.
Searches Ticketmaster events and seat listings with pricing for people looking for event tickets. It returns Ticketmaster checkout links but cannot complete a purchase itself.
Analyzes ecommerce SEO for product pages, product schema, Google Shopping visibility, Amazon marketplace signals and keyword gaps. Built for stores, catalogs and product listings. Live Shopping and Amazon data needs the optional DataForSEO Merchant API.
Drafts replies to customer emails and tickets using order, refund, CRM and support desk data, in the owner's writing voice. Refunds and sends need the owner's approval, and with Shopify it also flags orders needing attention.
Reviews generated or changed WooCommerce code before it ships. It is for developers building extensions, payment and shipping integrations, checkout customizations, and order or product logic.
Compare with shopify, shopify-development or ticketmaster
commerce-b2b-open-code-components-replace: common questions
Does this skill change my store files when I only ask for equivalents?
No. In lookup-only mode it reports the mapping and does not call Write unless the user confirms replacement.
Where does the component mapping come from?
The skill uses assets/ootb-to-open-code-mapping.json as the only source of truth for OOTB to open code mappings.
Which files does the replacement update?
It updates the "definition" values in content.json files under the store's sfdc_cms__view and sfdc_cms__themeLayout folders, leaving other properties unchanged.
How do I install commerce-b2b-open-code-components-replace?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is commerce-b2b-open-code-components-replace free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is commerce-b2b-open-code-components-replace safe to use?
It scores 78 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to commerce-b2b-open-code-components-replace?
Similar skills: shopify, shopify-development, ticketmaster, seo-ecommerce.
