experience-ui-bundle-custom-app-generate
БесплатноЗапускает вложенные скриптыНе проверенMUST activate when the project contains a uiBundles/*/src/ directory and the task involves creating or configuring a Custom Application for hosting a UI…
от forcedotcom★ 1 200 звёзд на GitHubОб этом скилле
Custom Application for React UI Bundles
Create and configure a Salesforce Custom Application that hosts a React UI bundle in Lightning Experience. This skill generates the CustomApplication metadata so the app appears in the Lightning App Launcher and can be accessed by internal users.
Before opening the XML template or writing metadata, invoke platform-metadata-api-context-get and attempt Step 2's section-specific lookups for CustomApplication.uiBundle and UIBundle.target. A template, missing sfdx-project.json, or missing org connection does not substitute for that lookup. Resolve the skill through the available runtime catalog as well as local directories. The existing fallback below applies only after a real context invocation/lookup attempt fails; it is not permission to skip the attempt.
Custom Applications differ from Experience Sites: they don't need Networks, CustomSite, DigitalExperienceConfig, or DigitalExperienceBundle metadata. The Custom Application acts as a thin launcher entry that delegates rendering to the React UI bundle referenced by uiBundle.
Required Properties
Resolve all properties before generating any metadata. Each has a fallback chain — work through each option in order until a value is found.
| Property | Format | How to Resolve |
|---|---|---|
| appName | lowercamelcase (e.g., myInternalApp) |
The UI bundle name from uiBundles/<name>/ directory |
| appNamespace | String | namespace in sfdx-project.json → sf data query -q "SELECT NamespacePrefix FROM Organization" --target-org ${usernameOrAlias} → default c |
| appLabel | Human-readable string | User-provided, or derive from appName by converting camelCase to Title Case |
The appNamespace and appName connect the Custom Application to the correct React UI bundle through <uiBundle>{appNamespace}__{appName}</uiBundle>. Getting this wrong means the app launcher entry exists but shows a blank page.
Generation Workflow
Step 1: Resolve All Required Properties
Determine values for all properties before constructing anything. Use the resolution strategies in the table above.
Step 2: Load API Context (Version-Aware Field Reference)
Invoke platform-metadata-api-context-get before generating metadata. Resolve CustomApplication and UIBundle using that skill's documented asset lookup and consume only the relevant fields entries and any needed enum or version-availability sections with jq or programmatic parsing. Do not read entire schema files or shards.
Bundled schema is an authoring reference, not live-org discovery. Cross-check documented field availability against the project's deployment API version; do not silently change that version. A missing schema entry is unavailable context, not proof that the target version lacks the field.
Resolve the effective deployment API version from the explicit deployment configuration or sfdx-project.json (sourceApiVersion). If it is unknown, ask the user before writing metadata. If it is below 67.0, stop: CustomApplication.uiBundle and the UIBundle.target value CustomApplication are available from API 67.0. Do not substitute undocumented legacy fields or silently upgrade the deployment version.
The metadata-context companion's schema snapshot and runtime serving minimum are separate from the deployment API version. A newer snapshot does not make these fields newer-version-only. If the runtime withholds the companion for the org version, record that failed invocation attempt and use the disclosed unavailable-context fallback below; do not claim the companion was loaded. An org eligible for a newer companion can still use this workflow with an explicitly resolved deployment API version of 67.0 or later.
Required lookups:
CustomApplication.uiBundle— check the field definition and documented version availability.UIBundle.target— check the field definition, theCustomApplicationvalue, and documented version availability.
Field resolution based on version-specific evidence:
| Field Check | XML for supported deployment versions |
|---|---|
CustomApplication.uiBundle |
Use <uiBundle>{appNamespace}__{appName}</uiBundle> |
UIBundle.target and its CustomApplication value |
Use <target>CustomApplication</target> |
If the context skill or required schema entries are unavailable after a real lookup attempt, retain the existing fallback to the documented field names (uiBundle + target) only after resolving a deployment version of 67.0 or later. State that bundled schema compatibility was not confirmed; deployment validation remains required. Field availability is documented in the official CustomApplication and UIBundle
Установить experience-ui-bundle-custom-app-generate в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл experience-ui-bundle-custom-app-generate?
MUST activate when the project contains a uiBundles/*/src/ directory and the task involves creating or configuring a Custom Application for hosting a UI bundle in Lightning Experience. Use this skill when creating a CustomApplication metadata record to surface the UI bundle in the App Launcher. Activate when files matching applications/*.app-meta.xml exist and need modification, or when the user wants to expose their app via the Lightning App Launcher without a Digital Experience Site. Do NOT use platform-custom-application-generate for this — UI bundle apps do not use tabs, action overrides, or flexipages.
Как установить скилл experience-ui-bundle-custom-app-generate?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл experience-ui-bundle-custom-app-generate запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic