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.
安装
npx skills add forcedotcom/sf-skills --skill experience-lwc-typescript-migratenpx skills add forcedotcom/sf-skills --skill experience-lwc-typescript-migrate -a claude-code -gnpx skills add forcedotcom/sf-skills --skill experience-lwc-typescript-migrate -a codex -ggemini skills install https://github.com/forcedotcom/sf-skills.git --path skills/experience-lwc-typescript-migrategh skill install forcedotcom/sf-skills experience-lwc-typescript-migrategit clone --depth 1 https://github.com/forcedotcom/sf-skills /tmp/forcedotcom__sf-skills
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/forcedotcom__sf-skills/skills/experience-lwc-typescript-migrate ~/.claude/skills/experience-lwc-typescript-migrate # Claude Code
cp -R /tmp/forcedotcom__sf-skills/skills/experience-lwc-typescript-migrate ~/.agents/skills/experience-lwc-typescript-migrate # Codex, Cursor, Gemini CLI, Copilot, OpenCode