agentforce-architectur…
Declared architecture snapshot for one Agentforce agent: planner, topics, actions, flows, Apex, prompt templates, and NGA…
Use when a Lightning Web Component data need is described in ambiguous natural language — turn \"get contact info\" or \"show account data\" into a clear, PRD-ready data-requirements spec. TRIGGER when the user says \"define data requirements for this LWC\", \"turn this PRD data
Claude Code
$ npx -y skills add forcedotcom/sf-skills --skill experience-lds-data-requirements-generate --agent claude-code
Codex
$ npx skills add forcedotcom/sf-skills --skill experience-lds-data-requirements-generate -a codex -y
Cursor
$ npx skills add forcedotcom/sf-skills --skill experience-lds-data-requirements-generate -a cursor -y
Gemini CLI
$ npx skills add forcedotcom/sf-skills --skill experience-lds-data-requirements-generate -a gemini-cli -y
GitHub Copilot
$ npx skills add forcedotcom/sf-skills --skill experience-lds-data-requirements-generate -a github-copilot -y
OpenCode
$ npx skills add forcedotcom/sf-skills --skill experience-lds-data-requirements-generate -a opencode -y
Windsurf
$ npx skills add forcedotcom/sf-skills --skill experience-lds-data-requirements-generate -a windsurf -y
name: experience-lds-data-requirements-generate
description: "Use when a Lightning Web Component data need is described in ambiguous natural language — turn \"get contact info\" or \"show account data\" into a clear, PRD-ready data-requirements spec. TRIGGER when the user says \"define data requirements for this LWC\", \"turn this PRD data section into validated object/field names\", \"recommend GraphQL vs UIAPI for this data need\", \"validate these Salesforce API names\", or \"spec out the LDS adapter for this component\", or references LWC bundle files (`.js`, `.js-meta.xml`) whose data layer is not yet specified. DO NOT TRIGGER when the data layer is already fully specified, when authoring the actual query or adapter code from a known spec, or when implementing an LWC end-to-end (use experience-lwc-generate)."
metadata:
version: "1.0"
domains: ["Experience", "Platform"]
relatedSkills:
- experience-lwc-generate<!-- adk-managed-skill -->
Run a three-stage analyst workflow — requirements clarification, API name validation, API recommendation — so a downstream developer can implement a Lightning Data Service (LDS) solution without guessing.
Do NOT use this skill when:
Run the three steps strictly in order. Do not skip a step unless the caller has already confirmed its output.
**Goal:** extract everything you know and surface every uncertainty before moving on.
Open every conversation with:
> "I've analyzed your data requirement: '<REQ>'. Here's what I understand and what I need clarification on…"
Apply the four actions from [references/requirements-analysis.md](references/requirements-analysis.md):
1. **Operation type** — Is it read, create, update, or delete? Ambiguous verbs trigger an immediate clarifying question. Confirm with: *"I've identified this as a **<OP>** operation. Is this correct?"* 2. **Data entity identification** — Standard object (high confidence, proceed), suspected custom object (ask: *"Is this a custom object `<Term>__c`? What's the exact API name?"*), or unknown (ask for the API name from Object Manager). 3. **Field specification** — Map generic references (`phone`, `address`, `name`, `status`) to specific API names. If multiple candidates exist, enumerate them and ask. 4. **Scope and context** — One record vs. many; user-triggered vs. auto; expected volume; real-time vs. on-demand.
**End-of-step gate.** Consolidate into:
Clear Requirements: [confirmed facts] Need Clarification: [numbered questions from 1.1–1.4]
Proceed only when every question is answered with ≥90% confidence.
**Goal:** 100% accuracy on every object and field API name before code is written.
Apply the validation framework from [references/api-name-validation.md](references/api-name-validation.md):
**Confirmation template:**
Object API Name: <OBJECT> Field API Names: <FIELD_LIST> Confidence Level: 100% validated
If any uncertainty remains, **stop**. Emit the outstanding verification requests and the Setup navigation instructions. Do not advance to Step 3 or generate code.
Skip this step only when the caller has explicitly stated that API names are already validated upstream, or the requirement does not involve records at all. Record the skip reason in the Step 4 output.
**Goal:** pick the right data access API using the decision framework in [references/api-recommendation.md](references/api-recommendation.md).
**Priority order (non-negotiable):**
1. GraphQL wire adapter (`lightning/graphql`) — top choice for reads it ca
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.