experience-lwc-typescript-migrate
A Salesforce skill for converting an existing JavaScript Lightning Web Component to TypeScript.
Was der Skill vermittelt
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.
Funktionen
- 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
Ü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
- assets/dts-template.ts
- assets/type-patterns.ts
- scripts/find-consumers.sh
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.
Dieser Skill enthält Skripte, die dein Agent ausführen kann.
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 | Ja | 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-lwc-typescript-migrate)github.com/forcedotcom/sf-skills · Belegt: Enthält Skripte10. Nov. 2026
- GitHub-Repositorygithub.com/forcedotcom/sf-skills · Belegt: Aktivität, Lizenz11. Nov. 2026