
Building Ui Bundle App
Orchestrate a brand-new Salesforce React UI bundle app end-to-end so phases run in dependency order instead of breaking the scaffold.
Install
npx skills add https://github.com/forcedotcom/sf-skills --skill building-ui-bundle-appWhat is this skill?
- Orchestrator that sequences scaffolding, features, Salesforce data, UI, integrations, and deployment
- Hard activation when creating React apps/SPAs or when uiBundles/*/src or sfdx-project.json implies a greenfield build
- Coordinates nine related sf-skills instead of running single-concern edits out of order
- Explicit exclusions: Lightning Experience custom-object apps and isolated frontend-only edits
- Metadata version 1.0 with named related-skills for Agentforce, file upload, site, and custom app generation
Adoption & trust: 661 installs on skills.sh; 513 GitHub stars; 2/3 security scanners passed (skills.sh audits).
Recommended Skills
Journey fit
Canonical shelf is Build → frontend because the skill’s primary outcome is a complete React UI bundle application, even though it coordinates data and deploy steps. Frontend subphase matches React SPA creation from natural language; the skill explicitly defers single-page edits to building-ui-bundle-frontend.
Common Questions / FAQ
Is Building Ui Bundle App safe to install?
skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Building Ui Bundle App
# Building a UI Bundle App ## Overview Build a complete, deployable Salesforce React UI bundle application from a natural language description by orchestrating specialized UI bundle skills in correct dependency order. Each skill **MUST** be explicitly loaded before executing its phase. ## When to Use This Skill **Use when:** - User requests a "React app", "UI bundle", "web app", or "full-stack app" on Salesforce - User says "build an app", "create an application" and the context implies a non-LWC based frontend (e.g. React) - The work produces a complete UI bundle with scaffolding, features, data access, and UI -- not a single component in isolation **Examples that should trigger this skill:** - "Build a React app for managing customer cases with Salesforce data" - "Create a UI bundle for an employee directory with search and navigation" - "I need a full-stack React app with authentication, data tables, and file uploads" - "Build a coffee shop ordering app on Salesforce" **Do NOT use when:** - Creating a single page or component (use `building-ui-bundle-frontend`) - Only installing a feature (use `generating-ui-bundle-features`) - Only setting up data access (use `using-ui-bundle-salesforce-data`) - Only deploying an existing app (use `deploying-ui-bundle`) - Building a Lightning Experience app with custom objects and metadata (use `generating-lightning-app`) - Troubleshooting or debugging an existing UI bundle --- ## Dependency Graph & Build Order ### Phase 1: Scaffolding (Foundation) ``` UI Bundle scaffold (sf template generate ui-bundle) v Install dependencies (npm install) v Bundle metadata (uibundle-meta.xml, ui-bundle.json) v CSP Trusted Sites (if external domains needed) ``` Creates the UI bundle directory structure, meta XML, and optional routing/headers config. All subsequent phases require the scaffold to exist. ### Phase 2: Features (Optional) ``` Search project code (src/) for existing implementations v Install dependencies (npm install) v Search, describe, and install features (auth, shadcn, search, navigation, GraphQL) v Resolve conflicts (two-pass: --on-conflict error, then --conflict-resolution) v Integrate __example__ files into target files, then delete them ``` Installs pre-built, tested feature packages. Skip if the app requires no pre-built features. Always check for an existing feature before building from scratch. Features provide the foundation that UI components build on top of. ### Phase 3: Data Access (Backend Wiring) ``` Acquire schema (npm run graphql:schema) v Look up entity schema (graphql-search.sh, max 2 r