experience-lwc-runtime-observe
A Salesforce skill for previewing an app or a single Lightning Web Component with Salesforce's local development preview and capturing the DOM it renders.
O que a skill ensina
A Salesforce skill for previewing an app or a single Lightning Web Component with Salesforce's local development preview and capturing the DOM it renders. The agent checks the toolchain, starts the preview with sf lightning dev, gets an authenticated front-door URL through a bundled script so the session token is not exposed to the agent, then navigates to the page and extracts the rendered subtree, taking care with LWC shadow DOM. It is meant for troubleshooting what actually renders compared with the template. It needs the sf CLI with an authorised org; it is not for writing or statically reviewing component code.
O que faz
- Start a local Lightning preview for an app or component
- Open an authenticated preview without exposing the token
- Extract the rendered DOM including shadow roots
- Compare runtime output with the component template
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
- examples/component-preview-and-dom.md
- scripts/extract-dom.sh
- scripts/open-frontdoor.sh
- scripts/verify-toolchain.sh
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.
Esta skill inclui scripts que o seu agente pode executar.
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 | Sim | 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-lwc-runtime-observe)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