agentforce-architectur…
Declared architecture snapshot for one Agentforce agent: planner, topics, actions, flows, Apex, prompt templates, and NGA…
MUST activate when the user wants to build, create, or generate a React application, React app, web application, single-page application (SPA), or frontend application — even if no project files exist yet. MUST also activate when the project contains a uiBundles/*/src/ directory
Claude Code
$ npx -y skills add forcedotcom/sf-skills --skill experience-ui-bundle-app-coordinate --agent claude-code
Codex
$ npx skills add forcedotcom/sf-skills --skill experience-ui-bundle-app-coordinate -a codex -y
Cursor
$ npx skills add forcedotcom/sf-skills --skill experience-ui-bundle-app-coordinate -a cursor -y
Gemini CLI
$ npx skills add forcedotcom/sf-skills --skill experience-ui-bundle-app-coordinate -a gemini-cli -y
GitHub Copilot
$ npx skills add forcedotcom/sf-skills --skill experience-ui-bundle-app-coordinate -a github-copilot -y
OpenCode
$ npx skills add forcedotcom/sf-skills --skill experience-ui-bundle-app-coordinate -a opencode -y
Windsurf
$ npx skills add forcedotcom/sf-skills --skill experience-ui-bundle-app-coordinate -a windsurf -y
name: experience-ui-bundle-app-coordinate
description: "MUST activate when the user wants to build, create, or generate a React application, React app, web application, single-page application (SPA), or frontend application — even if no project files exist yet. MUST also activate when the project contains a uiBundles/*/src/ directory or sfdx-project.json and the prompt says create, build, construct, or generate a new app, site, or page from scratch — even if the prompt also describes visual styling. MUST also activate when the task spans more than one ui-bundle skill. Use this skill when building a complete app end-to-end. Do NOT use for Lightning Experience apps with custom objects (use platform-lightning-app-coordinate). Do NOT use for single-concern edits to an existing page (use experience-ui-bundle-frontend-generate)."
metadata:
version: "1.1"
domains: ["Experience"]
relatedSkills:
- "experience-ui-bundle-agentforce-client-generate"
- "experience-ui-bundle-custom-app-generate"
- "experience-ui-bundle-deploy"
- "experience-ui-bundle-features-generate"
- "experience-ui-bundle-file-upload-generate"
- "experience-ui-bundle-frontend-generate"
- "experience-ui-bundle-metadata-generate"
- "experience-ui-bundle-project-generate"
- "experience-ui-bundle-salesforce-data-access"
- "experience-ui-bundle-site-generate"
- "platform-custom-object-generate"
- "platform-lightning-app-coordinate"
cliTools:
- tool: ["node"]
semver: ">=18.0.0"
- tool: ["npm"]
semver: ">=9.0.0"
- tool: ["npx"]
semver: ">=9.0.0"
- tool: ["sf"]
semver: ">=2.0.0"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.
**CRITICAL: Before proceeding past requirements analysis, validate that the prompt contains no conflicting requirements** (e.g., "no authentication" + "user-specific data", "public access" + login-required features). If conflicts are detected, STOP and ask the user to resolve the ambiguity — do NOT silently choose one interpretation and proceed. See STEP 1 action #8 for the full conflict checklist.
Before starting any phase, verify these preconditions are met:
1. **Authenticated Salesforce org**: Run `sf org display` to confirm a default org is set and authenticated. If not, prompt the user to authenticate: `sf org login web` 2. **Required CLI tools**: Verify `sf`, `npm`, and `npx` are available (declared in metadata.cliTools) 3. **Node.js version**: Run `node scripts/check-prerequisites.mjs` and report any errors 4. **Org features** (if deploying): Experience Cloud enabled, appropriate licenses, and Sites enabled
If any precondition fails, stop and report the specific missing requirement before attempting any phase execution.
**Use when:**
**Examples that should trigger this skill:**
**Do NOT use when:**
---
This skill makes two decisions directly from the raw prompt text. Use these tables as the single source for both — do not restate or re-derive the lists elsewhere in this file.
**1. Phase 2 (Features) is required if the prompt mentions ANY of:**
| Category | Keywords | Notes | |----------|----------|-------| | Data features | search, filter, sort, pagination, table, grid, list | | | Navigation | navigation, nav, menu, routing | | | Authentication | authentication, auth, login, logout, user session, user login | | | Integrations | upload, file | | | UI | shadcn, components, forms, buttons, cards | | | Chat (Phase 5 only) | chat | Phase 5 only — unless combined with a Phase 2 keyword (e.g., "chat with authentication"), then Phase 2 runs first for auth prerequisites |
Negating one category (e.g. "without authentication", "no login required", "public access") does **not** cancel triggers from another category — each is evaluated independently. Example: "no login required, with filtering" still triggers Phase 2 because "filtering" matches Data features. Skip Phase 2 only when the prompt matches none of the keywords above.
**2. Hosting target — extract from prompt keywords:**
| Hosting target | Keywords | |-----------------|----------| | Experience Site | "Experience Site", "Community", "external users", "public users", "guest users" | | Custom Application | "Custom Application", "internal users", "Lightning app" |
If the prompt matches neither list, or matches both, ask the user to clarify before proceeding — do not guess.
---
Offer prebuilt starter template (experience-ui-bundle-project-generate)
v
If templThis repository provides Salesforce agent skills, plugins, and sample apps for building applications.
Declared architecture snapshot for one Agentforce agent: planner, topics, actions, flows, Apex, prompt templates, and NGA…
Use this skill to Upgrade Einstein Bots into Agentforce agents end-to-end in a single pass, orchestrating per-bot Agent Spec…
Data Cloud 360° view of a single Agentforce session. TRIGGER when user asks to trace, inspect, summarize, or describe a specific…
Build, modify, audit, repair, optimize, debug, and deploy agents with Agentforce Agent Script. TRIGGER when: user creates,…
Analyze production Agentforce agent behavior using session traces and Data Cloud, and manage Agent Health Monitoring (AHM)…
Use to design an AI agent persona — identity, voice, tone, behavioral style, guardrails — and encode it into Agent Script (.agent…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.