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.
Was der Skill vermittelt
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.
Funktionen
- 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
Überblick
- Herausgeber
- Salesforce
- Tool
- Salesforce
Installation
- Führe diesen Befehl aus, um ihn zu Beliebiger Client hinzuzufügen:
npx skills add forcedotcom/sf-skills
Was enthalten ist
- references/adapter-apis.md
- references/lds-data-consistency.md
- references/lds-expert.md
- references/lds-referential-integrity.md
- references/wire-adapter-types.md
MCP-Server und Skills können Code auf deinem Rechner ausführen und auf deine Daten zugreifen. Prüfe den Quellcode, bevor du etwas installierst.
Details
| Angabe | Wert | Quelle |
|---|---|---|
| Typ | Skill | |
| Tool | Salesforce | |
| Herausgeber | Salesforce | Quelle |
| Offizieller Status | OffiziellSalesforce's developer documentation for its skills and plugins links to the forcedotcom/sf-skills repository | Quelle |
| Braucht API-Key oder Anmeldung | In der Dokumentation nicht angegeben | |
| Enthält Skripte | Nein | Quelle |
| Plattformen | In der Dokumentation nicht angegeben | |
| KI-Clients | In der Dokumentation nicht angegeben | |
| Lizenz | Apache-2.0 | Quelle |
| Preis | In der Dokumentation nicht angegeben | |
| Aktivität | Letzter Commit am 6. Nov. 20261.156 GitHub-SterneKeine Download-Daten verfügbar (nicht auf npm oder PyPI) | Quelle |
| Links | Repository |
Quellen
- Skill-Datei (SKILL.md)github.com/forcedotcom/sf-skills10. Nov. 2026
- README (README.md)github.com/forcedotcom/sf-skills13. Nov. 2026
- Lizenzdatei (LICENSE.txt)github.com/forcedotcom/sf-skills · Belegt: Lizenz, Herausgeber13. Nov. 2026
- Webseitedeveloper.salesforce.com · Belegt: Offizieller Status13. Nov. 2026
- Ordner im Repository (experience-lds-best-practices-apply)github.com/forcedotcom/sf-skills · Belegt: Enthält Skripte10. Nov. 2026
- GitHub-Repositorygithub.com/forcedotcom/sf-skills · Belegt: Aktivität, Lizenz11. Nov. 2026