Skip to content
forcedotcom avatar

Experience Ui Bundle Frontend Generate

Visual, layout, and branding changes to an existing UI bundle app, with the project's shell, routing, and shadcn/ui conventions enforced.

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

Own this skill? Claim it

What it does

  • Covers page, header and footer, and component edits, each routed to its own implementation guide under references/
  • Requires running scripts/resolve-ui-bundle.mjs and scripts/check-preconditions.mjs before any edit, and stops on unscaffolded or ambiguous bundles
  • Enforces that branding changes update both src/appLayout.tsx and the <title> in index.html together
  • Checks the pre-built features catalog before hand-building non-trivial capabilities, and adopts installed features rather than skipping them
  • Designed for existing Salesforce UI bundle projects, not new-app scaffolding, which goes to experience-ui-bundle-app-coordinate

Install

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

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

Files

UI Bundle UI

Resolve the Bundle Directory

MUST run node scripts/resolve-ui-bundle.mjs [project-root] before applying any rule below or writing any file — an ad-hoc find/ls is not a substitute; it does not enforce the exit-code gate below. Always invoke via node (never as a bare executable) so this works on Windows as well as macOS/Linux. It reads sfdx-project.json's packageDirectories[0].path (does not assume force-app — the source path is configurable) and looks under <sourceDir>/main/default/uiBundles/:

  • Exit 0, bundle path printed to stdout: exactly one bundle directory found — that is the bundle directory. Use that exact directory name; never substitute a different name (e.g. a generic "AcmePortal" example from a prompt template) for the one actually printed.
  • Exit 2, candidates printed to stderr: multiple uiBundles/* subdirectories exist — do not guess, and do not write to any of them, or to a bundle name not in the printed list. Ask the user which app/bundle they mean before editing or running any command.
  • Exit 1: sfdx-project.json missing/invalid, or no bundle directory found at all.

Details

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

Questions

What does the experience-ui-bundle-frontend-generate skill do?

It must be activated before editing files under uiBundles src or the bundle's index.html for visual or UI changes to an existing app, such as pages, components, layout, styling, navigation, and branding. It enforces project conventions like the appLayout.tsx shell, shadcn/ui components, Tailwind CSS, and Salesforce base-path routing.

Who is this skill for?

It is for developers modifying an existing Salesforce UI bundle app, not for creating a new app from scratch. If the bundle has not been scaffolded yet, the skill directs you to experience-ui-bundle-app-coordinate instead.

How do I install the experience-ui-bundle-frontend-generate skill?

Run npx -y skills add forcedotcom/sf-skills --skill experience-ui-bundle-frontend-generate -y in your project. This adds the skill so your agent can follow the UI bundle conventions when editing the app.

Where does this skill rank in the Frontend & UI Code category?

It is listed in the Frontend & UI Code category on Claude Marketplaces, alongside vercel-react-best-practices, web-design-guidelines, design-taste-frontend, vercel-composition-patterns and lark-apps. It focuses on Salesforce UI bundle conventions rather than general React or design guidance.

More from forcedotcom/sf-skills

All 78

Similar to Experience Ui Bundle Frontend Generate

More Frontend & UI Code