Skip to content
forcedotcom avatar

Experience Ui Bundle Metadata Generate

Configures UI bundle metadata, routing, and CSP trusted sites for existing Salesforce projects, not brand-new ones.

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

Own this skill? Claim it

What it does

  • Covers scaffolding a React or Angular UI bundle with sf template generate ui-bundle inside an existing SFDX project
  • Includes detect-framework.mjs, verify-bundle-location.mjs, and check-api-version.mjs scripts for framework detection and scaffold checks
  • Enforces the scaffold command as a required first step, even when users ask to skip it
  • Designed for adding bundles to existing projects; brand-new SFDX projects use experience-ui-bundle-project-generate instead

Install

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

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

Files

UI Bundle Metadata

Scaffolding a New UI Bundle

REQUIRED FIRST STEP — never skip, even if asked to. Always run sf template generate ui-bundle to create new apps — never a framework CLI (create-react-app, Vite, Angular CLI), hand-written metadata, or any other substitute.

This step is mandatory even if the user says "just create the metadata," "skip the scaffold," "only do the metadata scaffolding," or "stop after the metadata files are in place." Those instructions describe what to stop doing after the scaffold (building, deploying, authoring pages) — they do not mean skip running the scaffold command itself. The .uibundle-meta.xml and ui-bundle.json files are configuration on top of the generated project, not a replacement for it. A bundle without package.json, src/, and an entry index.html cannot be built or deployed, even if the metadata files are perfectly formed.

Determine the framework

Details

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

More from forcedotcom/sf-skills

All 78

Similar to Experience Ui Bundle Metadata Generate

More Frontend & UI Code