Generates precise data-requirements specs for Salesforce Lightning Web Components from ambiguous natural language. Clarifies objects/fields, validates API names, and recommends GraphQL vs UI API vs Apex.
Ships in sf-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.
@wire/Apex code for a new data need, or before handing the recommendation to a downstream implementation workflow.// TODO: fetch related records and need to turn them into precise specs.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: ''. Here's what I understand and what I need clarification on…"
Apply the four actions from references/requirements-analysis.md:
<Term>__c? What's the exact API name?"), or unknown (ask for the API name from Object Manager).phone, address, name, status) to specific API names. If multiple candidates exist, enumerate them and ask.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:
Account, Contact, Lead, Opportunity, Case, User, Task, Event, Product2, Pricebook2, Order, OrderItem, Asset, Contract, Campaign pass immediately. Anything else triggers verification.__c suffixes. Ask: "Is this <Term>__c or a different custom object API name?" Point users to Setup → Object Manager → → Details → API Name.
__c suffix confirmation; case-sensitive.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.
Priority order (non-negotiable):
lightning/graphql) — top choice for reads it can serve.Walk the six decision sub-steps:
Recommendation rules:
getRecordCreateDefaults + createRecord, list views.Present with the "Show Your Work" template — explicitly explain why not GraphQL / why not UI API / why not Apex.
Hand-off:
lightning/graphql wire adapter is the caller's next step.getRecord, getRelatedListRecords, createRecord, updateRecord, getRecordCreateDefaults, etc.) and any layout/picklist prerequisites.Produce a single block the caller can paste into a PRD or component file header:
## 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>
| Vague ask | Clarifying 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?" |
lightning/graphql, getRecord, createRecord, etc.) or the project's Apex workflow of record.experience-lwc-generate when wiring @wire adapters into a component.lightning/graphql wire adapter using the schema pulled from the target org.getRecord, createRecord, etc.).references/api-name-validation.md (opens in a new tab)references/api-recommendation.md (opens in a new tab)references/lds-data-consistency.md (opens in a new tab)references/lds-expert.md (opens in a new tab)references/lds-referential-integrity.md (opens in a new tab)references/requirements-analysis.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/sf-skills:experience-lds-data-requirements-generatefrom sf-skills
sf-skills@sf-skills-plugin is listed by ccmalcom/sf-skills-plugin — review the source before installing
npx claudepluginhub ccmalcom/sf-skills-plugin --plugin sf-skills266 skills in this plugin
/afcc-setup-coordinateOrchestrates end-to-end headless setup of Agentforce Contact Center (AFCC) on a Salesforce org. Scans the org first, presents a delta plan for approval, then sequentially provisions demo users, Omni-Channel base settings, a human queue with routing config and members, presence statuses, permission sets, a PSTN voice number, and an active PstnVoice MessagingChannel wired to the queue. Interactive at key decision points — never assumes country, number type, queue names, or user counts. TRIGGER: set up AFCC, configure Agentforce Contact Center, stand up voice contact center, AFCC migration setup, provision AFCC org headlessly./agentforce-architecture-analyzeDeclared architecture snapshot for one Agentforce agent: planner, topics, actions, flows, Apex, prompt templates, and NGA plugins. Renders a human-readable architecture document and Mermaid invocation graph from design-time metadata (not runtime audit rows). TRIGGER when user asks to describe, diagram, inventory, audit, document, or diff (e.g. v3 vs v5) the architecture / action tree / topic structure / tool inventory of a specific agent by agent API name in a specific org. DO NOT TRIGGER for runtime session traces, conversation transcripts, generation timings, or gateway audit chains — this skill reads design-time metadata only (use agentforce-d360-analyze for session traces).3 plugins in 2 repositories ship this exact skill · first indexed Aug 23, 2026
Other plugins' skills for the same job