experience-ui-bundle-frontend-generate

experience-ui-bundle-frontend-generate is a skill for Claude Code from forcedotcom/sf-skills. It costs 211 tokens per session (3,410 once invoked), scanned A, original, Apache-2.0.

A set of rules for changing the appearance of an existing Salesforce UI Bundle app, such as its pages, components, layout, colors, fonts, navigation, or animations.

In plain words
What is it for?
Use it when editing the look and feel of files under a UI Bundle’s src directory or its index.html.
Why use it?
It ensures visual changes are made in the correct bundle and checked using that bundle’s own project setup.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the experience-react plugin — 14 skills shipped together

Good fit Use it when editing the look and feel of files under a UI Bundle’s src directory or its index.html.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/forcedotcom/sf-skills/experience-ui-bundle-frontend-generate
About the project

forcedotcom/sf-skills is a collection of reusable instructions that help AI coding agents build and work with Salesforce applications and platform features. Developers use it for Agentforce agents, Lightning apps, Flow, Apex, SOQL, Lightning Web Components, and related Salesforce configuration. The catalogue entries are the repository’s skills, plugins, commands, MCP servers, and agents for AI tools that support skills.

forcedotcom/sf-skills · 1,200 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add forcedotcom/sf-skills --skill experience-ui-bundle-frontend-generate
Clone the repo
git clone --depth 1 https://github.com/forcedotcom/sf-skills

Made for: Claude Code.

Or install experience-react, the plugin that ships this one along with the rest of its 14 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for experience-ui-bundle-frontend-generate

README.md
[![agentmods](https://agentmods.dev/badge/skills/forcedotcom/sf-skills/experience-ui-bundle-frontend-generate/github.svg)](https://agentmods.dev/skills/forcedotcom/sf-skills/experience-ui-bundle-frontend-generate)
Your own site
<a href="https://agentmods.dev/skills/forcedotcom/sf-skills/experience-ui-bundle-frontend-generate"><img src="https://agentmods.dev/badge/skills/forcedotcom/sf-skills/experience-ui-bundle-frontend-generate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for experience-ui-bundle-frontend-generate

Your own site · 80×15
<a href="https://agentmods.dev/skills/forcedotcom/sf-skills/experience-ui-bundle-frontend-generate"><img src="https://agentmods.dev/badge/skills/forcedotcom/sf-skills/experience-ui-bundle-frontend-generate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 211 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,410 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 3 Oct 2026
  • Snyk pass 3 Oct 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00211 $0.03410
Opus 5.5 $0.00084 $0.01364
Sonnet 5.5 $0.00042 $0.00682
Haiku 4.5 $0.00021 $0.00341

Measured 1mo ago against content hash 6481f19fbda8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

experience-ui-bundle-frontend-generate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/check-preconditions.mjs, scripts/resolve-ui-bundle.mjs, scripts/verify-rules.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/builder/experience-react/skills/experience-ui-bundle-frontend-generate/SKILL.md · 200 lines

How it starts

The opening of the file, as written. The whole thing — 200 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.

Run all npm/lint/build/dev commands from inside the resolved bundle directory, never from the project root.

Preconditions

Before applying any rule below, confirm this is an existing, scaffolded UI bundle: MUST run node scripts/check-preconditions.mjs <bundle-dir> with the directory resolve-ui-bundle.mjs printed.

  • Single-bundle (exit 0) case: run it once, on that bundle.
  • Multi-bundle (exit 2) case: do not run it yet — first ask the user which app/bundle they mean, per the Resolve step above. Once the user names the bundle, run check-preconditions.mjs on that one bundle only. Never run it against multiple candidates speculatively before the user has chosen — that means touching/inspecting bundles the user didn't ask about.
  • Exit 0: the bundle has src/appLayout.tsx, src/routes.tsx, and src/components/ui/ — proceed.
  • Exit 1, missing pieces listed: this is a fresh SFDX project, a non-UI-bundle React project, or a partially-scaffolded bundle — stop. Do not fall back to generic React knowledge (e.g. react-router-dom, a hardcoded basename, or raw HTML), and do not hand-write appLayout.tsx/routes.tsx/a page/a component to "fill in" the missing scaffold, even for a casual, vague, or urgent-sounding request ("just change the header", "make the background blue"). Tell the user the bundle isn't scaffolded yet and direct them to experience-ui-bundle-app-coordinate (or experience-ui-bundle-metadata-generate) to scaffold it first. If, after the user names their intended bundle, that one turns out to be unscaffolded, stop and redirect for it — do not silently switch to scaffolding a different candidate instead.

Read the full file on GitHub · 200 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +2 lines 6481f19fbda8
  2. 3mo ago First seen · 198 lines · 211 tokens per session scan A e7cc9af68bc2

Subscribe to this mod's changes

experience-ui-bundle-frontend-generate is a skill published in the GitHub repository forcedotcom/sf-skills (1,200 stars, last pushed 4d ago), licensed Apache-2.0. It adds 211 tokens to every session and 3,410 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

experience-ui-bundle-frontend-generate compared with skills from other repositories

experience-ui-bundle-frontend-generate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
experience-ui-bundle-frontend-generateforcedotcom/sf-skillsSkill1.2k4d agoApache-2.0A211Claude Code
webgl-holographic-foilnexu-io/open-designSkill110ktodayApache-2.0A41Claude Code, Codex
html-ppt-hermes-cyber-terminalnexu-io/open-designSkill110ktodayApache-2.0A53Claude Code, Codex
html-ppt-taste-brutalistnexu-io/open-designSkill110ktodayApache-2.0A78Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34ktodayMITA52Codex
glance-canonical-layoutsandroid/skillsSkill11k8d agoApache-2.0A56Claude Code
accessibilitymicrosoft/hve-coreSkill1.7ktodayMITA47Claude Code