Registry / forcedotcom

forcedotcom/sf-skills/experience-lwc-typescript-migrate

Use when converting an existing JavaScript Lightning Web Component (.js, .html, .css) to TypeScript with full type annotations and a matching `.d.ts` file that exposes only the component's `@api` surface. TRIGGER when the user says "convert LWC to TypeScript", "migrate LWC to TS", "rename .js to .ts for this component", "add types to my LWC", "generate .d.ts for this LWC", "type-annotate @api properties", or "produce declare module 'c/componentName' definitions". DO NOT TRIGGER when the user is

Agent skill · version 1.69.0 · from forcedotcom/sf-skills

Install

npx yarkr-cli add skill:forcedotcom/sf-skills/experience-lwc-typescript-migrate

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:forcedotcom/sf-skills/experience-lwc-typescript-migrate
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:forcedotcom/sf-skills/experience-lwc-typescript-migrate

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:forcedotcom/sf-skills/experience-lwc-typescript-migrate

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.