Agent skill

Experience Lds Data Requirements Generate

by forcedotcom in forcedotcom/sf-skills

A skill your agent uses 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…

Apache-2.0Auto-check passedProduct & Project Management

Install Experience Lds Data Requirements Generate

skills CLI
$ npx skills add forcedotcom/sf-skills --skill experience-lds-data-requirements-generate -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install forcedotcom/sf-skills experience-lds-data-requirements-generate --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/forcedotcom/sf-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/experience-lds-data-requirements-generate .claude/skills/experience-lds-data-requirements-generate && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
experience-lds-data-requirements-generate
GitHub stars
1.1k
Token cost
~2.5k tokens
SKILL.md length
1,012 words
Files
7 (incl. references)
Skills in repo
251
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses 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…

  • Works in 4 steps: Parse data requirement (Requirements… → Validate Salesforce API names (Precision… → Recommend the API (Solution Architecture… → …
  • A Lightning Web Component data need is described in ambiguous natural language — turn get contact info
  • SKILL.md covers When to Use, Prerequisites, Knowledge Bases and Workflow, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Experience Lds Data Requirements Generate is an agent skill from forcedotcom/sf-skills. 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…

Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files (for example `references/api-name-validation.md`, `references/api-recommendation.md` and `references/lds-data-consistency.md`).

It sits in Product & Project Management, covering PRD writing, CRM management and GraphQL. It works with Salesforce and GraphQL. The repository describes itself as: Salesforce's curated collection of agent skills for building applications. Optimized for Agentforce Vibes, compatible with all AI tools. The licence is Apache-2.0.

When your agent uses it

  • A Lightning Web Component data need is described in ambiguous natural language — turn get contact info
  • Show account data into a clear
  • PRD-ready data-requirements spec
  • The user says define data requirements for this LWC

Example prompts

  • “get contact info”
  • “show account data”
  • “define data requirements for this LWC”
  • “/experience-lds-data-requirements-generate”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Parse data requirement (Requirements Analysis Mode)
  2. Validate Salesforce API names (Precision Mode)
  3. Recommend the API (Solution Architecture Mode)
  4. Emit the PRD-ready specification

What it can do on your machine

Read from SKILL.md and the folder at commit e5164d9. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Experience Lds Data Requirements Generate loads about 2.5k tokens when it runs, and up to ~12k if it reads all its reference files. Until then it costs about 198 tokens; SKILL.md has 1,012 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~198
When it runs · the whole SKILL.md, loaded when a task matches
~2.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~12k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from forcedotcom/sf-skills at commit e5164d9, republished under its Apache-2.0 licence (© forcedotcom). 1,012 words, ~2,505 tokens.

Download SKILL.mdSave it as .claude/skills/experience-lds-data-requirements-generate/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
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
metadata.domains
Experience, Platform
metadata.relatedSkills
experience-lwc-generate
<!-- adk-managed-skill -->

Generating LDS Data Requirements

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.

When to Use

  • A PRD, Figma comment, or user ask mentions Salesforce data but objects/fields/operations are vague ("show customer info", "update the record", "list upcoming gigs").
  • Before writing any @wire/Apex code for a new data need, or before handing the recommendation to a downstream implementation workflow.
  • You inherited TODOs like // TODO: fetch related records and need to turn them into precise specs.

Do NOT use this skill when:

  • The data need is already fully specified (object API name, field API names, operation type, scope).
  • The component does not touch Salesforce data at all (UI-only, external REST, local state).

Prerequisites

  • The natural-language requirement (PRD snippet, user ask, or TODO comment).
  • Access to the target org's Setup → Object Manager for confirming custom object/field API names.
  • Awareness of the current GraphQL / UI API / Apex priority order (top-of-funnel is GraphQL when it can serve the read).

Knowledge Bases

Workflow

Run the three steps strictly in order. Do not skip a step unless the caller has already confirmed its output.

Step 1 — Parse data requirement (Requirements Analysis Mode)

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:

  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:

text
Clear Requirements: [confirmed facts]
Need Clarification: [numbered questions from 1.1–1.4]

Proceed only when every question is answered with ≥90% confidence.

Step 2 — Validate Salesforce API names (Precision Mode)

Goal: 100% accuracy on every object and field API name before code is written.

Apply the validation framework from references/api-name-validation.md:

  • Standard objects — Account, Contact, Lead, Opportunity, Case, User, Task, Event, Product2, Pricebook2, Order, OrderItem, Asset, Contract, Campaign pass immediately. Anything else triggers verification.
  • Custom objects — Never assume __c suffixes. Ask: "Is this <Term>__c or a different custom object API name?" Point users to Setup → Object Manager → <Object> → Details → API Name.
  • Standard fields — Map ambiguous references using the tables in the reference file.
  • Custom fields — Require __c suffix confirmation; case-sensitive.

Confirmation template:

text
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.

Show full SKILL.md (463 more words)Show less
Step 3 — Recommend the API (Solution Architecture Mode)

Goal: pick the right data access API using the decision framework in references/api-recommendation.md.

Priority order (non-negotiable):

  1. GraphQL wire adapter (lightning/graphql) — top choice for reads it can serve.
  2. UI API / LDS — CRUD writes, metadata, layouts, picklists, simple reads.
  3. Apex — fallback only.

Walk the six decision sub-steps:

  1. Operation type (read / write / mixed).
  2. Object & field support in UI API.
  3. Relationship complexity (single vs. multi-object, parent/child).
  4. Query complexity (filtering, sorting, pagination, aggregation).
  5. Performance & scalability (round trips, payload size).
  6. Specialized needs (metadata, atomic transactions, business logic, elevated permissions).

Recommendation rules:

  • GraphQL when read-only on supported objects; multi-object joins; pagination/sort/filter; aggregation; minimizing round trips.
  • UI API when CRUD writes, metadata (picklists, layouts, object info), getRecordCreateDefaults + createRecord, list views.
  • Apex when UI API doesn't support the object/field; multi-record atomic transactions; custom business logic; system-context permissions.

Present with the "Show Your Work" template — explicitly explain why not GraphQL / why not UI API / why not Apex.

Hand-off:

  • GraphQL recommended → document the query shape (root object, requested fields, filters) in the Step 4 output; downstream authoring of the actual lightning/graphql wire adapter is the caller's next step.
  • UI API recommended → document the specific UI API adapter (getRecord, getRelatedListRecords, createRecord, updateRecord, getRecordCreateDefaults, etc.) and any layout/picklist prerequisites.
  • Apex recommended → document the reason in the Step 4 output and hand off to the project's Apex workflow of record.
Step 4 — Emit the PRD-ready specification

Produce a single block the caller can paste into a PRD or component file header:

text
## Data Requirement: <CLEAR_TITLE>

### Technical Specification
- Primary Object: <OBJECT_API_NAME>
- Required Fields: <FIELD_API_NAMES>
- Relationships: <RELATED_OBJECTS_OR_LOOKUPS_OR_NONE>
- Data Scope: <SINGLE_RECORD | MULTIPLE_RECORDS | QUERY_BASED>
- Access Pattern: <READ_ONLY | READ_WRITE | WRITE_ONLY>
- Trigger: <USER_ACTION | AUTO_ON_LOAD | REACTIVE>

### Implementation Details
- Recommended LDS API: <GRAPHQL | UI_API | APEX>
- Implementation Pattern: <WIRE | IMPERATIVE>
- Rationale: <WHY THIS API, NOT THE OTHERS>
- Next step: <author the GraphQL wire adapter | author the UI API adapter call | project's Apex workflow>

Few-Shot Patterns

Vague askClarifying question
"get contact info""Which Contact fields specifically? (Email, Phone, MailingAddress, Department, …)"
"show account data""Which Account fields do you need? And are we showing one record or a list?"
"custom gym records""Is this a custom object Gym__c? What specific fields are you looking for?"
"update the record""Which object? Which fields? Which record (ID at runtime)?"
"all customer information""Account or Contact? Which fields? Single record or query?"

Verification Checklist

  • Every ambiguous term from the original requirement resolved to a confirmed API name.
  • Operation type confirmed (R / C / U / D).
  • Scope (single vs. many) and trigger (user vs. auto) documented.
  • API recommendation justified against all three options (GraphQL / UI API / Apex).
  • Concrete next action named — either the specific downstream adapter to wire (lightning/graphql, getRecord, createRecord, etc.) or the project's Apex workflow of record.
  • If Step 2 was skipped, the reason is recorded in the output.
  • Specification block copy-pasteable into the PRD.

Cross-References

  • Skills:
    • Output is consumed by experience-lwc-generate when wiring @wire adapters into a component.
  • Downstream authoring steps (not skill-bound today):
    • GraphQL path — the caller writes the lightning/graphql wire adapter using the schema pulled from the target org.
    • UI API path — the caller wires the recommended UI API adapter (getRecord, createRecord, etc.).

© forcedotcom, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files (references) in skills/experience-lds-data-requirements-generate of forcedotcom/sf-skills.

  • SKILL.md
  • references/api-name-validation.md
  • references/api-recommendation.md
  • references/lds-data-consistency.md
  • references/lds-expert.md
  • references/lds-referential-integrity.md
  • references/requirements-analysis.md

Open the folder on GitHubat commit e5164d9

Compare with similar skills

Experience Lds Data Requirements Generate next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Experience Lds Data Requirements Generate compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Experience Lds Data Requirements Generate this skillforcedotcom/sf-skills1.1k—~2.5kAutomated safety check: PassApache-2.0
Hunt Sqlielementalsouls/Claude-BugHunter4.8k—~5.5kAutomated safety check: PassMIT
Prd V08 Marketing Ops Handoffmattgierhart/PRD-driven-context-engineering180—~2.7kAutomated safety check: PassMIT
Linearletta-ai/lettabot327—~583Automated safety check: PassApache-2.0
Sf IntegrationJaganpro/sf-skills424—~1.5kAutomated safety check: PassMIT
Implementing Zero Trust For SaaS Applicationsmukul975/Anthropic-Cybersecurity-Skills34k—~2.9kAutomated safety check: PassApache-2.0

Similar skills

  • Hunt Sqli

    elementalsouls/Claude-BugHunter

    Hunting skill for sqli vulnerabilities. An agent skill from elementalsouls/Claude-BugHunter.

    4.8k GitHub stars~5.5k tokensUpdated today
    DatabasesAuto-check passed
  • Prd V08 Marketing Ops Handoff

    mattgierhart/PRD-driven-context-engineering

    Define lifecycle stages and marketing → sales / CSM handoff rules for leads captured by GTM channels during PRD v0.8 Deployment & Ops.

    180 GitHub stars~2.7k tokensUpdated 1 mo ago
    Product & Project ManagementAuto-check passed
  • Linear

    letta-ai/lettabot

    Manage Linear issues via GraphQL API. An agent skill from letta-ai/lettabot.

    327 GitHub stars~583 tokensUpdated 4 mo ago
    Backend & APIsAuto-check passed
  • Sf Integration

    Jaganpro/sf-skills

    Salesforce integration architecture with 120-point scoring. An agent skill from Jaganpro/sf-skills.

    424 GitHub stars~1.5k tokensUpdated 5 mo ago
    Backend & APIsAuto-check passed
  • Implementing Zero Trust For SaaS Applications

    mukul975/Anthropic-Cybersecurity-Skills

    Secures SaaS apps (Microsoft 365, Google Workspace, Salesforce, Slack) via CASB/SSPM deployment, conditional access policies, OAuth app governance, and session-level DLP controls enforcing identity…

    34k GitHub stars~2.9k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed
  • Shopify

    asgeirtj/system_prompts_leaks

    Set up and operate a Shopify store with Shopify's official MCP server (the installed shopify command, NOT the npm Shopify CLI).

    69k GitHub stars~2k tokensUpdated yesterday
    Backend & APIsAuto-check passed

More from forcedotcom/sf-skills

All 251 skills in this repo
  • Agentforce Architecture Analyze

    forcedotcom/sf-skills

    Declared architecture snapshot for one Agentforce agent: planner, topics, actions, flows, Apex, prompt templates, and NGA plugins.

    1.1k GitHub stars~4.5k tokensUpdated 2 days ago
    Auto-check passed
  • Agentforce D360 Analyze

    forcedotcom/sf-skills

    Data Cloud 360° view of a single Agentforce session. An agent skill from forcedotcom/sf-skills.

    1.1k GitHub stars~3.4k tokensUpdated 2 days ago
    Auto-check passed
  • Apply a Salesforce sandbox post-copy automation JSON config against a target org.

    1.1k GitHub stars~5.3k tokensUpdated 2 days ago
    Auto-check: notes
  • Apply a Salesforce sandbox post-copy automation JSON config against a target org.

    1.1k GitHub stars~5.4k tokensUpdated 2 days ago
    Auto-check: notes
  • Design Systems Slds Apply

    forcedotcom/sf-skills

    Apply SLDS-compliant UI using the correct blueprints, styling hooks, utility classes, and icons.

    1.1k GitHub stars~3.7k tokensUpdated 2 days ago
    Auto-check passed
  • Experience Lwc Generate

    forcedotcom/sf-skills

    Lightning Web Components with PICKLES methodology and 165-point scoring.

    1.1k GitHub stars~2.4k tokensUpdated 2 days ago
    Auto-check passed

Questions about Experience Lds Data Requirements Generate

What does Experience Lds Data Requirements Generate do?

A skill your agent uses 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…. Experience Lds Data Requirements Generate is an agent skill from forcedotcom/sf-skills. 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.

When should I use Experience Lds Data Requirements Generate?

Experience Lds Data Requirements Generate fits situations like: A Lightning Web Component data need is described in ambiguous natural language — turn get contact info; show account data into a clear; PRD-ready data-requirements spec; the user says define data requirements for this LWC.

How do I install Experience Lds Data Requirements Generate in Claude Code?

Run `npx skills add forcedotcom/sf-skills --skill experience-lds-data-requirements-generate -a claude-code`. Or copy the skill folder (skills/experience-lds-data-requirements-generate in forcedotcom/sf-skills) into .claude/skills/experience-lds-data-requirements-generate in your project. Claude Code loads it when a task matches its description.

How do I install Experience Lds Data Requirements Generate in Codex?

Run `npx skills add forcedotcom/sf-skills --skill experience-lds-data-requirements-generate -a codex`. Or copy the skill folder (skills/experience-lds-data-requirements-generate in forcedotcom/sf-skills) into .agents/skills/experience-lds-data-requirements-generate in your project. Codex loads it when a task matches its description.

Can I use Experience Lds Data Requirements Generate in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add forcedotcom/sf-skills --skill experience-lds-data-requirements-generate -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/experience-lds-data-requirements-generate, .gemini/skills/experience-lds-data-requirements-generate, .github/skills/experience-lds-data-requirements-generate and .opencode/skills/experience-lds-data-requirements-generate in your project.

What does Experience Lds Data Requirements Generate need to run?

SKILL.md names no scripts, command-line tools or credentials: Experience Lds Data Requirements Generate is instructions for the agent only.

Does Experience Lds Data Requirements Generate access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Experience Lds Data Requirements Generate safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Experience Lds Data Requirements Generate use?

Experience Lds Data Requirements Generate is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Experience Lds Data Requirements Generate use?

About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 9.1k tokens, read only when the agent opens those files.

What are the alternatives to Experience Lds Data Requirements Generate?

Skills that share tags, products or a category with Experience Lds Data Requirements Generate: Hunt Sqli (elementalsouls/Claude-BugHunter, 4.8k stars), Prd V08 Marketing Ops Handoff (mattgierhart/PRD-driven-context-engineering, 180 stars), Linear (letta-ai/lettabot, 327 stars) and Sf Integration (Jaganpro/sf-skills, 424 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Experience Lds Data Requirements Generate?

forcedotcom (a GitHub organization) maintains it in forcedotcom/sf-skills, which has 1,065 GitHub stars. The repository holds 251 skills in this directory. The repository was last updated on October 7, 2026.

Source: forcedotcom/sf-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.