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.
O que a skill ensina
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.
O que faz
- 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
Sobre
- Publicador
- Salesforce
- Ferramenta
- Salesforce
Instalação
- Execute este comando para adicionar ao Qualquer cliente:
npx skills add forcedotcom/sf-skills
O que tem dentro
- references/adapter-apis.md
- references/lds-data-consistency.md
- references/lds-expert.md
- references/lds-referential-integrity.md
- references/wire-adapter-types.md
Servidores MCP e skills podem executar código no seu computador e agir sobre os seus dados. Revise o código-fonte antes de instalar.
Detalhes
| Fato | Valor | Fonte |
|---|---|---|
| Tipo | Skill | |
| Ferramenta | Salesforce | |
| Publicador | Salesforce | fonte |
| Status oficial | OficialSalesforce's developer documentation for its skills and plugins links to the forcedotcom/sf-skills repository | fonte |
| Exige chave de API ou login | Não informado na documentação | |
| Inclui scripts | Não | fonte |
| Plataformas | Não informado na documentação | |
| Clientes de IA | Não informado na documentação | |
| Licença | Apache-2.0 | fonte |
| Preço | Não informado na documentação | |
| Atividade | Último commit em 6 de nov. de 20261.156 estrelas no GitHubDados de download indisponíveis (não está no npm nem no PyPI) | fonte |
| Links | Repositório |
Fontes
- Arquivo da skill (SKILL.md)github.com/forcedotcom/sf-skills10 de nov. de 2026
- README (README.md)github.com/forcedotcom/sf-skills13 de nov. de 2026
- Arquivo de licença (LICENSE.txt)github.com/forcedotcom/sf-skills · Comprova: Licença, Publicador13 de nov. de 2026
- Página webdeveloper.salesforce.com · Comprova: Status oficial13 de nov. de 2026
- Pasta no repositório (experience-lds-best-practices-apply)github.com/forcedotcom/sf-skills · Comprova: Inclui scripts10 de nov. de 2026
- Repositório no GitHubgithub.com/forcedotcom/sf-skills · Comprova: Atividade, Licença11 de nov. de 2026