Experience Lwc Typescript Migrate

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

by forcedotcome5164d94d7511c00fa02a5b8b60754b2361e178fNo license1K starsListed Oct 9, 2026Updated Oct 9, 2026Repository updated 2 days ago

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 authoring a brand-new LWC from scratch (use experience-lwc-generate), generating Jest tests for an existing LWC (use experience-lwc-generate), or migrating an Aura component to LWC.

Includes scriptsSoftware Development

Add to a SourceWeft workspace

  1. Open the skill in your dashboard and add it to a workspace.
  2. Enable it for the chats that should use it.

This skill includes scripts. They run in your workspace sandbox when the skill is used — review the file list and source before adding it.

Add to SourceWeft

You will be asked to sign in first, then taken straight to this skill.

Ask your agent to install it

Paste this prompt into Claude Code, Codex, Cursor or another agent that can run commands — or into SourceWeft chat. The agent reads this skill's install guide, shows you its source, license and scripts, and installs it with the SourceWeft CLI once you agree.

Read https://sourceweft.com/skills/gh-forcedotcom-sf-skills-experience-lwc-typescript-migrate-plugins-builder-experience-lwc-skills-experience-lwc-typescript--c8b98043c3f87197/install.md and install the skill it describes. Before installing, show me its source, license and whether it ships scripts, and wait for my OK. Ask me before changing anything else on my machine.

Read the install guide the agent follows

Install it yourself from a terminal

For Claude Code, Codex, Cursor and other local agents. The SourceWeft CLI fetches the skill from its source repository at the commit scanned here, and verifies every file against the hashes recorded when the skill was scanned. If anything differs, nothing is written.

npx @sourceweft/cli skills install @forcedotcom/experience-lwc-typescript-migrate-plugins-builder-experience-lwc-skills

Add --agent claude-code, codex, cursor or universal to choose which agent gets it (Claude Code by default).

Installed locally, this skill's scripts run on your machine, not in a sandbox. Read them first — the CLI asks before installing.

Upstream installer — not verified by SourceWeft

The open-source skills installer fetches the same pinned commit, but does not check the files against the hashes SourceWeft recorded.

npx skills add https://github.com/forcedotcom/sf-skills/tree/e5164d94d7511c00fa02a5b8b60754b2361e178f/plugins/builder/experience-lwc/skills/experience-lwc-typescript-migrate

Source and attribution

Source:forcedotcom/sf-skillsinplugins/builder/experience-lwc/skills/experience-lwc-typescript-migrateat commite5164d9

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal