experience-lwc-legacy-migrate
A Salesforce skill with two workflows for moving older Salesforce UI code onto modern Lightning Web Components.
What the skill teaches
A Salesforce skill with two workflows for moving older Salesforce UI code onto modern Lightning Web Components. The first checks whether an Aura component that was converted to LWC is complete, running a checklist and summarising gaps. The second migrates external pages from the Lightning Out beta to Lightning Out 2.0, replacing $Lightning.use() calls with the new application element, swapping hard-coded tokens for OAuth with PKCE, and listing the Salesforce setup needed. Bundled Python scripts convert names and validate the resulting host page against a template. It does not handle the first Aura-to-LWC conversion, which another skill covers.
Capabilities
- Check an Aura-to-LWC conversion for completeness
- Migrate Lightning Out beta pages to Lightning Out 2.0
- Replace hard-coded tokens with OAuth PKCE
- Validate a Lightning Out 2.0 host page
About
- Publisher
- Salesforce
- Tool
- Salesforce
Install
- Run this to add it to Any client:
npx skills add forcedotcom/sf-skills
What's inside
- assets/lo20-host-page-template.html
- references/aura-to-lwc-completeness-checklist.md
- references/lightning-out-2-system-reference.md
- references/lightning-out-beta-to-2-migration.md
- scripts/convert-lo-names.py
- scripts/validate-lo20-page.py
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
This skill includes scripts that your agent may run.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Salesforce | |
| Publisher | Salesforce | source |
| Official status | OfficialSalesforce's developer documentation for its skills and plugins links to the forcedotcom/sf-skills repository | source |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | Yes | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | Apache-2.0 | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 6, 20261,156 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository |
Sources
- Skill file (SKILL.md)github.com/forcedotcom/sf-skillsNov 10, 2026
- README (README.md)github.com/forcedotcom/sf-skillsNov 13, 2026
- Licence file (LICENSE.txt)github.com/forcedotcom/sf-skills · Backs: Licence, PublisherNov 13, 2026
- Web pagedeveloper.salesforce.com · Backs: Official statusNov 13, 2026
- Folder in the repository (experience-lwc-legacy-migrate)github.com/forcedotcom/sf-skills · Backs: Includes scriptsNov 10, 2026
- GitHub repositorygithub.com/forcedotcom/sf-skills · Backs: Activity, LicenceNov 11, 2026