experience-lds-best-practices-apply
A Salesforce skill for reviewing how a Lightning Web Component reads and writes record data, and fixing problems in its use of Lightning Data Service.
What the skill teaches
A Salesforce skill for reviewing how a Lightning Web Component reads and writes record data, and fixing problems in its use of Lightning Data Service. The agent takes stock of the component's data layer, then works through a four-part checklist: building forms by hand where base record forms would do, using string field names instead of @salesforce/schema imports, mixing Apex and LDS without keeping the cache in sync, and calling Apex where UI API adapters would serve. It reports each section and then applies fixes for referential integrity and data consistency. It does not build new components or handle styling, security or accessibility reviews.
Capabilities
- Review an LWC's data access against Lightning Data Service guidance
- Replace hard-coded field names with schema imports
- Keep the LDS cache in sync after Apex updates
- Recommend UI API adapters or Apex for a data need
About
- Publisher
- Salesforce
- Tool
- Salesforce
Install
- Run this to add it to Any client:
npx skills add forcedotcom/sf-skills
What's inside
- references/adapter-apis.md
- references/lds-data-consistency.md
- references/lds-expert.md
- references/lds-referential-integrity.md
- references/wire-adapter-types.md
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Salesforce | |
| Publisher | Salesforce | source |
| Official status | OfficialSalesforce's developer documentation for its skills and plugins links to the forcedotcom/sf-skills repository | source |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | Apache-2.0 | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 6, 20261,156 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository |
Sources
- Skill file (SKILL.md)github.com/forcedotcom/sf-skillsNov 10, 2026
- README (README.md)github.com/forcedotcom/sf-skillsNov 13, 2026
- Licence file (LICENSE.txt)github.com/forcedotcom/sf-skills · Backs: Licence, PublisherNov 13, 2026
- Web pagedeveloper.salesforce.com · Backs: Official statusNov 13, 2026
- Folder in the repository (experience-lds-best-practices-apply)github.com/forcedotcom/sf-skills · Backs: Includes scriptsNov 10, 2026
- GitHub repositorygithub.com/forcedotcom/sf-skills · Backs: Activity, LicenceNov 11, 2026