Skip to content
forcedotcom avatar

Experience Ui Bundle Site Generate

Configure a Salesforce Digital Experience Site that hosts a React UI bundle with guest access controls.

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

Own this skill? Claim it

What it does

  • Covers Network, CustomSite, DigitalExperienceConfig, DigitalExperienceBundle, and sfdc_cms__site and sfdc_cms__languageSettings content metadata
  • Resolves siteName, siteUrlPathPrefix, appNamespace, appDevName, enableGuestAccess, and defaultLocale through fallback chains before generating files
  • Enforces an API v68.0 check on the target org before writing multi-language metadata, stopping on lower versions
  • Designed for projects with a uiBundles/*/src/ directory that need hosting, publishing, or internationalization for React apps, not LWR sites

Install

$ npx -y skills add forcedotcom/sf-skills --skill experience-ui-bundle-site-generate -y

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

Files

Digital Experience Site for React UI Bundles

Create and configure Digital Experience Sites that host React UI bundles on Salesforce. This skill generates the minimum necessary site infrastructure — Network, CustomSite, DigitalExperienceConfig, DigitalExperienceBundle, and the sfdc_cms__site content type — so a React app can be served from Salesforce.

React sites differ from standard LWR sites: they don't need routes, views, theme layouts, or branding sets. The site acts as a thin container (appContainer: true) that delegates rendering to the React UI bundle referenced by appSpace.

Required Properties

Resolve all five properties before generating any metadata. Each has a fallback chain — work through each option in order until a value is found.

Details

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

Questions

What does the experience-ui-bundle-site-generate skill do?

It generates the minimum Salesforce Digital Experience Site infrastructure needed to host a React UI bundle, including the Network, CustomSite, DigitalExperienceConfig, DigitalExperienceBundle and sfdc_cms__site metadata. The site acts as a thin container that hands rendering off to the React bundle referenced by appSpace.

When should I use experience-ui-bundle-site-generate instead of experience-lwr-site-generate?

Use it for React UI bundles, and not for LWR non-React sites, which should use experience-lwr-site-generate instead. The skill activates when the project has a uiBundles source directory and the task involves publishing, hosting or configuring guest access for the app.

How do I install the experience-ui-bundle-site-generate skill?

Run npx -y skills add forcedotcom/sf-skills --skill experience-ui-bundle-site-generate -y inside your project. Once installed, the agent can create the site metadata needed to serve your React app from Salesforce.

Can this skill add multiple languages to my site?

Yes, it can declare a default locale and extra supported languages through the sfdc_cms__languageSettings content type. Multi-language sites require a target org on Salesforce Release 264 (API v68.0 or higher), and the skill checks this before writing metadata.

More from forcedotcom/sf-skills

All 78

Similar to Experience Ui Bundle Site Generate

More Backend & APIs