experience-ui-bundle-metadata-generate

Generate and configure Salesforce UI Bundle metadata with Salesforce CLI.

Updated Jul 2, 2026
One-click install
npx skills add https://github.com/padjei/SF_Agents --skill experience-ui-bundle-metadata-generate-padjei
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: experience-ui-bundle-metadata-generate
Source: https://github.com/padjei/SF_Agents/tree/main/.claude/skills/experience-ui-bundle-metadata-generate
Command: npx skills add https://github.com/padjei/SF_Agents --skill experience-ui-bundle-metadata-generate-padjei

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires salesforce-cli, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of managing metadata for Salesforce UI Bundles, automating tasks related to scaffolding, configuration, and CSP Trusted Sites setup.

Core Features & Use Cases

  • UI Bundle Scaffolding: Automatically generate new UI Bundles with the sf template generate ui-bundle command.
  • Configuration Management: Configure ui-bundle.json and .uibundle-meta.xml files for routing, headers, and output directories.
  • CSP Trusted Sites Setup: Register external domains as CSP Trusted Sites for secure content loading.
  • Use Case: When you need to set up a new Salesforce UI Bundle, this Skill automates the creation of the bundle, configures the necessary files, and registers external resources.

Quick Start

Generate a new UI Bundle named 'MyApp' using the template 'reactbasic':

sf template generate ui-bundle -n MyApp --template reactbasic

Frequently Asked Questions about experience-ui-bundle-metadata-generate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Salesforce UI Bundle scaffolding and metadata configuration?

Salesforce UI Bundle metadata management is automated by generating the bundle structure via `sf template generate ui-bundle` and configuring `ui-bundle.json` and `.uibundle-meta.xml` files for routing and output directories.

How do I configure CSP Trusted Sites for a Salesforce UI Bundle?

Configuring CSP Trusted Sites for a Salesforce UI Bundle registers external domains as trusted sources for secure content loading. This setup is automated alongside `ui-bundle.json` and `.uibundle-meta.xml` configuration.

Do I need Salesforce CLI to generate UI Bundle metadata?

Salesforce CLI is required to generate UI Bundle metadata. You need it installed along with appropriate permissions to manage UI Bundles and metadata before executing the `sf template generate ui-bundle` command.

What is the best way to set up a new UI Bundle in Salesforce with a React template?

Setting up a new UI Bundle in Salesforce with a React template is best achieved by running `sf template generate ui-bundle -n MyApp --template reactbasic`. This scaffolds the bundle and prepares the necessary metadata configuration.

What files are configured when setting up Salesforce UI Bundle metadata?

Setting up Salesforce UI Bundle metadata configures the `ui-bundle.json` and `.uibundle-meta.xml` files. These files manage routing, headers, and output directories for the generated UI Bundle.