experience-lwc-typescript-migrate
A Salesforce skill for converting an existing JavaScript Lightning Web Component to TypeScript.
O que a skill ensina
A Salesforce skill for converting an existing JavaScript Lightning Web Component to TypeScript. The agent reads the component, renames the file with git mv so history is kept, adds type annotations based on bundled pattern files, and writes a declaration file limited to the properties and methods marked @api. It then compiles with tsc and runs the tests, finishing with a checklist of the expected bundle shape. A bundled shell script finds other components that use the one being converted. It needs git, jq and the TypeScript compiler and is not meant for writing new components.
O que faz
- Rename LWC JavaScript files to TypeScript with git mv
- Add type annotations to a component
- Generate a .d.ts file for the @api surface
- Find components that consume the converted one
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
- assets/dts-template.ts
- assets/type-patterns.ts
- scripts/find-consumers.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-typescript-migrate)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