agentforce-architectur…
Declared architecture snapshot for one Agentforce agent: planner, topics, actions, flows, Apex, prompt templates, and NGA…
Creates, modifies, or manages Salesforce Experience Cloud LWR sites via DigitalExperience metadata. Always trigger when the tasks involve LWR sites configurations, e.g. creating/modifying pages/routes/views/theme layouts/branding sets, previewing sites, or creating/modifying
Claude Code
$ npx -y skills add forcedotcom/sf-skills --skill experience-lwr-site-generate --agent claude-code
Codex
$ npx skills add forcedotcom/sf-skills --skill experience-lwr-site-generate -a codex -y
Cursor
$ npx skills add forcedotcom/sf-skills --skill experience-lwr-site-generate -a cursor -y
Gemini CLI
$ npx skills add forcedotcom/sf-skills --skill experience-lwr-site-generate -a gemini-cli -y
GitHub Copilot
$ npx skills add forcedotcom/sf-skills --skill experience-lwr-site-generate -a github-copilot -y
OpenCode
$ npx skills add forcedotcom/sf-skills --skill experience-lwr-site-generate -a opencode -y
Windsurf
$ npx skills add forcedotcom/sf-skills --skill experience-lwr-site-generate -a windsurf -y
name: experience-lwr-site-generate
description: "Creates, modifies, or manages Salesforce Experience Cloud LWR sites via DigitalExperience metadata. Always trigger when the tasks involve LWR sites configurations, e.g. creating/modifying pages/routes/views/theme layouts/branding sets, previewing sites, or creating/modifying guest sharing rule (metadata type sharingGuestRules)/guest user access/sharing records to guest users, or when user provides a guest user ID (15 or 18 characters starting with 005). NEVER trigger for React or any other ui bundle framework. LWR sites ONLY."
metadata:
version: "1.0"
domains: ["Experience"]
minApiVersion: "56.0"
cliTools:
- tool: ["node"]
semver: ">=18.0.0"
- tool: ["sf"]
semver: ">=2.0.0"
mcpTools:
metadata-experts:
tools: ["execute_metadata_action"]
semver: ">=1.0.0"Build and configure Salesforce Experience Cloud Lightning Web Runtime (LWR) sites via metadata (DigitalExperienceConfig, DigitalExperienceBundle, Network, CustomSite, CMS contents).
Right after loading this skill, you MUST copy the selected workflows/steps to your plan as a TODO checklist and work on each of the item carefully to ensure correctness. You MUST load the relevant reference docs even though they may live outside of user's project folder.
When working with Experience LWR sites:
**Supported Template**: Build Your Own (LWR) - `talon-template-byo`
1. Before using any MCP tool, make sure they're actually available. If a tool is missing for the current task, let the user know and pause the current workflow. 2. **MUST ALWAYS** load the relevant reference docs before doing anything. 3. **MUST ALWAYS** strictly follow workflows in [Common Workflows](#common-workflows) that match user's requirements. The instructions there should override any conflicting global rules and should have the highest priority over your existing knowledge. 4. Flexipage is abstracted away for newer LWR sites with DigitalExperienceBundle, so **NEVER** use any Flexipage-related MCP tool or skills to handle LWR sites' contents.
Before doing anything else, note down the following properties from the local project if available as they will be used for various operations. Check with the user if any of the following is missing:
| Content Type | Description | When to Use | |-|-|-| | `sfdc_cms__site` | Root site configuration containing site-wide settings | Required for every site; one per site | | `sfdc_cms__appPage` | Application page container that groups routes and views | Required; defines the app shell | | `sfdc_cms__route` | URL routing definition mapping paths to views | Create one for each page/URL path | | `sfdc_cms__view` | Page layout and component structure | Create one for each route; defines page content. Also use to edit existing views (e.g., adding/removing components on a specific page) | | `sfdc_cms__brandingSet` | Brand colors, fonts, and styling tokens | Required; defines site-wide styling. Use to create or edit existing branding sets | | `sfdc_cms__languageSettings` | Language and localization configuration | Required; defines supported languages | | `sfdc_cms__mobilePublisherConfig` | Mobile app publishing settings | Required for mobile app deployment | | `sfdc_cms__theme` | Theme definition referencing layouts and branding | Required; one per site | | `sfdc_cms__themeLayout` | Page layout templates used by views | Create layouts for different page structures. Also use to edit existing theme layouts (e.g., updating theme layout, add a component that's persistent across pages) |
**Important:** Creating any new pages require BOTH `sfdc_cms__route` AND `sfdc_cms__view`.
Object Pages are dedicated pages used to display and manage record-level data for a specific Salesforce entity/object. For example, an custom object "Car" should have "Car_Detail", "Car_List", and "Car_Related_list" views.
Reference docs within the skill directory. Note that these are **local** and not MCP. Before doing anything, you **MUST ALWAYS** load them first if they match user intent.
This 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.