generating-ui-bundle-metadata

Generate UI Bundle metadata files for Salesforce projects.

Updated Jun 1, 2026
One-click install
npx skills add https://github.com/Collabalist/SFDC --skill generating-ui-bundle-metadata-collabalist
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generating-ui-bundle-metadata
Source: https://github.com/Collabalist/SFDC/tree/main/.agents/skills/generating-ui-bundle-metadata
Command: npx skills add https://github.com/Collabalist/SFDC --skill generating-ui-bundle-metadata-collabalist

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the generation of UI Bundle metadata for Salesforce projects, streamlining the setup and configuration process.

Core Features & Use Cases

  • UI Bundle Scaffolding: Automates the creation of new UI Bundles using the sf template generate ui-bundle command.
  • Metadata Configuration: Handles the configuration of ui-bundle.json, .uibundle-meta.xml, and CSP trusted site files.
  • Use Case: When starting a new Salesforce project with a UI Bundle, this Skill can be used to automatically generate the necessary metadata files, saving time and reducing manual errors.

Quick Start

Use the generating-ui-bundle-metadata skill to generate metadata for a new UI Bundle by running the command 'sf template generate ui-bundle -n MyBundleName --template reactbasic'.

Frequently Asked Questions about generating-ui-bundle-metadata

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

FAQPage Schema
How do I generate UI Bundle metadata files for a Salesforce project?

To generate UI Bundle metadata for a Salesforce project, use the 'sf template generate ui-bundle' command. This automates scaffolding and configuration of ui-bundle.json, .uibundle-meta.xml, and CSP trusted site files.

Do I need Salesforce CLI to scaffold UI Bundles?

Yes, you need Salesforce CLI installed to scaffold UI Bundles. The generation process uses the 'sf template generate ui-bundle' command and requires appropriate metadata API access to configure the files.

What metadata files are created during UI Bundle scaffolding?

UI Bundle scaffolding creates ui-bundle.json, .uibundle-meta.xml, and CSP trusted site files. These configurations establish the bundle structure and define trusted sites for the Salesforce project.

Can I use a React template for Salesforce UI Bundle metadata generation?

Yes, you can use a React template for UI Bundle metadata generation by running 'sf template generate ui-bundle -n MyBundleName --template reactbasic'. This creates the necessary metadata files for the React-based bundle.

What's the best way to configure CSP trusted sites for a new UI Bundle?

The best way to configure CSP trusted sites is through automated UI Bundle metadata generation. This handles the CSP trusted site files automatically during scaffolding, reducing manual configuration errors.

Why does my UI Bundle metadata setup require manual configuration?

UI Bundle metadata setup requires manual configuration if you are not using an automated scaffolding tool. Generating the ui-bundle.json and .uibundle-meta.xml files manually increases the risk of configuration errors.