/sf-experience:experience-lwr-site-generatefrom Salesforce — Experience, LWC & Mobile
Creates, modifies, and manages Salesforce Experience Cloud LWR sites via DigitalExperience metadata including pages, routes, views, themes, branding, and guest user access.
Ships in Salesforce — Experience, LWC & Mobile. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Build and configure Salesforce Experience Cloud Lightning Web Runtime (LWR) sites via metadata (DigitalExperienceConfig, DigitalExperienceBundle, Network, CustomSite, CMS contents).
Right after loading this skill, you MUST copy the selected workflows/steps to your plan as a TODO checklist and work on each of the item carefully to ensure correctness. You MUST load the relevant reference docs even though they may live outside of user's project folder.
When working with Experience LWR sites:
sharingGuestRules) for any Salesforce object (Account, Case, Contact, etc.) — including when the user refers to a "Site Guest User" username or any guest user by IDSupported Template: Build Your Own (LWR) - talon-template-byo
Before doing anything else, note down the following properties from the local project if available as they will be used for various operations. Check with the user if any of the following is missing:
'My Community').'mycommunity') and verify with the user for the converted value.talon-template-byo.digitalExperienceConfigs/{siteName}1.digitalExperienceConfig-meta.xmldigitalExperiences/site/{siteName}1/{siteName}1.digitalExperience-meta.xmlnetworks/{siteName}.network-meta.xmlsites/{siteName}.site-meta.xmldigitalExperiences/site/{siteName}1/sfdc_cms__*/{contentApiName}/*_meta.json and content.json file.| Content Type | Description | When to Use |
|---|---|---|
sfdc_cms__site | Root site configuration containing site-wide settings | Required for every site; one per site |
sfdc_cms__appPage | Application page container that groups routes and views | Required; defines the app shell |
sfdc_cms__route | URL routing definition mapping paths to views | Create one for each page/URL path |
sfdc_cms__view | Page layout and component structure | Create one for each route; defines page content. Also use to edit existing views (e.g., adding/removing components on a specific page) |
sfdc_cms__brandingSet | Brand colors, fonts, and styling tokens | Required; defines site-wide styling. Use to create or edit existing branding sets |
sfdc_cms__languageSettings | Language and localization configuration | Required; defines supported languages |
sfdc_cms__mobilePublisherConfig | Mobile app publishing settings | Required for mobile app deployment |
sfdc_cms__theme | Theme definition referencing layouts and branding | Required; one per site |
sfdc_cms__themeLayout | Page layout templates used by views | Create layouts for different page structures. Also use to edit existing theme layouts (e.g., updating theme layout, add a component that's persistent across pages) |
Important: Creating any new pages require BOTH sfdc_cms__route AND sfdc_cms__view.
Object Pages are dedicated pages used to display and manage record-level data for a specific Salesforce entity/object. For example, an custom object "Car" should have "Car_Detail", "Car_List", and "Car_Related_list" views.
Reference docs within the skill directory. Note that these are local and not MCP. Before doing anything, you MUST ALWAYS load them first if they match user intent.
sharingGuestRules) for public sites — use for any request involving "guest sharing rule", "Site Guest User", or sharing object records with unauthenticated visitorsurlPathPrefix in DigitalExperienceConfig, Network, and CustomSiteRules:
Steps (Follow the steps sequentially. Do not skip any step before proceeding):
Steps (Follow the steps sequentially. Do not skip any step before proceeding):
Steps (Follow the steps sequentially. Do not skip any step before proceeding):
Steps (Follow the steps sequentially. Do not skip any step before proceeding):
Steps (Follow the steps sequentially. Do not skip any step before proceeding):
Steps (Follow the steps sequentially. Do not skip any step before proceeding):
Steps (Follow the steps sequentially. Do not skip any step before proceeding):
Steps (Follow the steps sequentially. Do not skip any step before proceeding):
sfdc_cms__route, load configure-content-route.md.execute_metadata_action to get the schema and examples for that content type after loading the corresponding reference docs.
execute_metadata_action ONCE for that content type. Reuse the schema and examples for all items of that type within the same user request.execute_metadata_action using the following:{
"metadataType": "ExperienceSiteLwr",
"actionName": "getSiteContentMetadata",
"parameters": {
"contentType": "<content type from table above>",
"shouldIncludeExamples": true
}
}
Use when user requests to preview a site, access a builder site, or after successfully deploying a site.
Use the execute_metadata_action MCP tool to get the preview and builder URLs:
{
"metadataType": "ExperienceSiteLwr",
"actionName": "getSiteUrls",
"parameters": {
"siteDevName": "<site developer name>"
}
}
The site developer name can be found in the CustomSite filename (e.g., sites/MySite.site-meta.xml → developer name is MySite).
If the site is not found, an error message will be returned indicating that the site may not be deployed. Ensure the site has been successfully deployed before calling this action.
Use when user wants to update or change site URLs (urlPathPrefix).
Steps (Follow the steps sequentially. Do not skip any step before proceeding):
Use sf CLI to validate and deploy. Access help docs by attaching --help, e.g.:
sf project deploy --helpsf project deploy validate --helpNote that metadata types are space-delimited. Never wrap them in quotes or use commas. For example, --metadata "DigitalExperienceBundle DigitalExperience" is incorrect — always use --metadata DigitalExperienceBundle DigitalExperience.
Validate:
sf project deploy validate --metadata DigitalExperienceBundle DigitalExperience DigitalExperienceConfig Network CustomSite --target-org ${usernameOrAlias}
Deploy:
sf project deploy start --metadata DigitalExperienceBundle DigitalExperience DigitalExperienceConfig Network CustomSite --target-org ${usernameOrAlias}
references/bootstrap-template-byo-lwr.md (opens in a new tab)references/configure-content-brandingSet.md (opens in a new tab)references/configure-content-route.md (opens in a new tab)references/configure-content-themeLayout.md (opens in a new tab)references/configure-content-view.md (opens in a new tab)references/configure-guest-sharing-rules.md (opens in a new tab)references/handle-component-and-region-ids.md (opens in a new tab)references/handle-ui-components.md (opens in a new tab)references/update-site-urls.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
salesforce, experience-cloud, lwr-sites, digital-experience, guest-user
48 skills in this plugin
/commerce-b2b-open-code-components-integrateIntegrate Salesforce B2B Commerce open source components from GitHub into B2B Commerce stores. Use when users mention "integrate open code components", "open source B2B commerce", "add open code components", "forcedotcom/b2b-commerce-open-source-components", or want to add open source commerce components to their store. Copies all components and labels so they become available in Experience Builder./commerce-b2b-open-code-components-replaceReplace OOTB (out-of-the-box) B2B Commerce components with open source equivalents in site metadata content.json files, or look up the equivalent open code `site:` component for OOTB definitions. Use when users mention "replace OOTB components", "replace commerce components with open code", "swap OOTB for open source", "replace commerce_builder:", "replace OOTB in site", "replace component in site metadata", "replace component definition", "find open code equivalent", "equivalent open code component", "OOTB to open code mapping", "what is the site component for", components "in this view" or "for a given view", or a specific list of component names — and want to update or only discover mappings in their store metadata./commerce-b2b-store-createInteractive workflow to create Commerce B2B Stores and retrieve storefront metadata. Use when users want to: create B2B Commerce stores, build Commerce storefronts, set up B2B stores from Vibes, retrieve Commerce metadata, deploy Commerce experiences, work with DigitalExperienceBundle for Commerce./commerce-react-storefront-createStand up the commerce-b2b-headless reference React storefront in a Salesforce B2B Commerce org, end to end — discover the org's WebStores, pick one, fill the four org-specific values (WebStore Id, BuyerGroup Id, buyer permission set group, Vite org alias), build + deploy the UI Bundle, assign the site guest user the auth permission set, and hand back the live Experience Cloud storefront URL. Use whenever the user says "create a react storefront in my org", "set up the headless B2B storefront", "deploy commerce-b2b-headless", "stand up a React storefront for <org-alias>", "get me a hosted headless commerce storefront", or points at a cloned commerce-b2b-headless repo and wants it running against their org./experience-accessibility-validateUse this skill to determine whether a Lightning Web Component (LWC) is accessible and meets WCAG accessibility guidelines. TRIGGER when the user asks "is my component accessible?", "does my LWC meet accessibility guidelines?", "is this component WCAG compliant?", "find accessibility problems in this LWC", "is this LWC keyboard accessible?", "does this component work with a screen reader?", "does this component have sufficient color contrast?", "check ARIA usage in this LWC", or "WCAG 2.2 accessibility check". Also TRIGGER when the user wants to fix or improve accessibility (a11y, WCAG, ARIA) in an LWC's HTML, JS, or CSS — semantic markup, focus, keyboard nav, contrast, screen-reader labels, WCAG 2.2 SC. Produces `a11y-review.md` with WCAG-cited findings. DO NOT TRIGGER for general LWC generation (use `experience-lwc-generate`) or SLDS visual/design review not focused on accessibility (use `design-systems-slds-validate`)./experience-afv-analytics-querySystem-of-record for the public Lightning Instrumentation Headless Connect REST API route that retrieves Agentforce Vibes (AFV) metrics, analytics, data, and adoption/usage insights, including token/LOC, weekly active-user, and per-user activity. Supports local result filtering by period (default current), orgType (default All), recordType, modelName (default All), and other explicitly returned row fields after one parameterless API call.npx claudepluginhub reej-consulting/reej-sf-skills --plugin sf-experience3 plugins ship this exact skill · first indexed Aug 23, 2026
Other plugins' skills for the same job