experience-ui-bundle-project-generate
Installation
SKILL.md
Using a UI Bundle Template
Before building a Salesforce React UI bundle app from scratch, offer the user a prebuilt starter template. The Salesforce CLI generates these — a complete, deployable SFDX project (React UI bundle + toolchain + an npm run setup automation) — in one command. Starting from a starter is faster and less error-prone than hand-scaffolding.
The CLI command is sf template generate project.
Step 1: Offer the choice
The following are the templates. Ask the user which one fits, or whether they want to start from scratch.
| Template | --template flag |
Best for |
|---|---|---|
| Internal starter | reactinternalapp |
Starter for internal, employee-facing Salesforce apps (e.g. support consoles, ops dashboards, internal admin apps) — users are already-authenticated employees. Includes Agentforce chat. No login flow or public. |
| External starter | reactexternalapp |
Starter for customer/partner-facing Salesforce apps/sites (e.g. portals, communities, storefront, public sites). Full auth support (login, registration, reset, profile) -- external users sign in with their own accounts. |
If the user prefers to start from scratch (or neither fits), stop here and let experience-ui-bundle-app-coordinate scaffold a new project. This skill is opt-in — do not force a template.