commerce-b2b-open-code…
Integrate Salesforce B2B Commerce open source components from GitHub into B2B Commerce stores. Use when users mention \"integrate open code components\",…
Migrate legacy Salesforce UI stacks onto modern LWC — Aura → LWC conversion completeness verification and Lightning Out Beta → Lightning Out 2.0 host-page migration. TRIGGER on \"verify Aura to LWC migration completeness\", \"migrate Lightning Out Beta to LO 2.0\", \"upgrade
$ npx -y skills add forcedotcom/sf-skills --skill experience-lwc-legacy-migrate --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/experience-lwc-legacy-migrateContext preview
The summary Claude sees to decide when to auto-load this skill.
Migrate legacy Salesforce UI stacks onto modern LWC — Aura → LWC conversion completeness verification and Lightning Out Beta → Lightning Out 2.0 host-page migration. TRIGGER on \"verify Aura to LWC migration completeness\", \"migrate Lightning Out Beta to LO 2.0\", \"upgrade
name: experience-lwc-legacy-migrate
description: "Migrate legacy Salesforce UI stacks onto modern LWC — Aura → LWC conversion completeness verification and Lightning Out Beta → Lightning Out 2.0 host-page migration. TRIGGER on \"verify Aura to LWC migration completeness\", \"migrate Lightning Out Beta to LO 2.0\", \"upgrade $Lightning.use() to <lightning-out-application>\", \"replace hardcoded LO tokens with OAuth PKCE\", \"write an LO 2.0 host page\", or an external Lightning Out page that stopped rendering; also `.cmp`/`.js-meta.xml` files alongside LWC. DO NOT TRIGGER for the initial Aura-to-LWC conversion (use experience-aura-lwc-migrate), a React-to-LWC migration, or building a new LWC (use experience-lwc-design-generate)."
metadata:
version: "1.0"
domains: ["Experience"]
relatedSkills:
- "experience-aura-lwc-migrate"
- "experience-lwc-design-generate"
cliTools:
- tool: ["python3"]
semver: ">=3.8"<!-- adk-managed-skill -->
Two distinct migration workflows live here because users in the middle of migrating Aura components are often also migrating Lightning Out host pages — they benefit from one skill that knows both.
| Migration | Use when | Reference | |------------------------------------|--------------------------------------------------------|--------------------------------------------------------------------------------------------------------| | Aura → LWC completeness check | An Aura component was converted, verify nothing is lost | [aura-to-lwc-completeness-checklist.md](references/aura-to-lwc-completeness-checklist.md) | | Lightning Out Beta → LO 2.0 | Migrating an external host page off `lightning.out.js` | [lightning-out-beta-to-2-migration.md](references/lightning-out-beta-to-2-migration.md) |
completeness check.
Lightning Out Beta and needs to move to LO 2.0.
to the `<lightning-out-application>` web component pattern.
flow.
If the user wants to build a brand-new LO 2.0 host page from scratch (no Beta code to migrate), the LO 2.0 system reference inside this skill is still the right source of truth — point them at it directly.
Salesforce Setup (Consumer Key required) and optionally a Lightning Out 2.0 App (18-char App ID).
(Jest) and `__utam__` (UTAM) folders if they exist.
Goal: rate an already-done Aura-to-LWC conversion across 12 dimensions and produce actionable recommendations.
Ask the user for the component name (e.g. `accountTile`). Locate the Aura source (`{componentName}.cmp`, controller, helper, CSS) and the LWC output (`{componentName}.html`, `.js`, `.css`, `.js-meta.xml`).
Follow [aura-to-lwc-completeness-checklist.md](references/aura-to-lwc-completeness-checklist.md) verbatim:
Data Binding & State, UI/UX Parity, Extensibility & Modularity, Error Handling, Localization, Security & Access Control, Performance, Salesforce Best Practices, Jest Test Coverage, UTAM Page Objects).
/ Missing.
End with an overall confidence statement and a prioritized list of specific, actionable recommendations (what to fix, in what order).
Goal: transform a Lightning Out Beta host page into a Lightning Out 2.0 host page while leaving the customer's HTML structure, styling, and business logic intact.
Internalize the architecture *before* editing code: [lightning-out-2-system-reference.md](references/lightning-out-2-system-reference.md).
Key takeaway: LO 2.0 is not a library upgrade. It runs the LWC inside an iframe with a closed shadow DOM — host-page JS cannot touch the LWC and vice versa, and host-page CSS does not cascade in.
Use Phase 1 of the migration guide to locate:
See [lightning-out-beta-to-2-migration.md § Phase 1](references/lightning-out-beta-to-2-migration.md).
The script-tag URL, the component tag name, and the attribute names are **deterministic** conversions — derive them with the helper script so they are exact every time (namespace preserved, camelCase → kebab-case, Beta host → versioned LO 2.0 library URL):
python3 scripts/convert-lo-names.py \ --component c:myComponent \ --attributes recordId,ownerId \ --my-domain https://<DOMAIN>.lightning.force.com
It prints the `<c-...>` tag, the kebab-case attributes, and the versioned LO 2.0 library URL. Then work through Phase 2 of the guide:
1. **Script tag** — use the `library-url` the
This repository provides a curated collection of Salesforce agent skills for building applications.
Repo: forcedotcom/sf-skills
Integrate Salesforce B2B Commerce open source components from GitHub into B2B Commerce stores. Use when users mention \"integrate open code components\",…
Replace OOTB (out-of-the-box) B2B Commerce components with open source equivalents in site metadata content.json files, or look up the equivalent open code…
Use this skill to diagnose and resolve what blocks a DevOps Center promotion of a work item's feature branch: Git merge conflicts and deployment failures.…
Use this skill to manage the full lifecycle of a DevOps Center pipeline — list all pipelines, get a single pipeline's details, create a new pipeline linked to…
Use to list, view, or manage DevOps Center projects in a Salesforce org — show all projects, create a project, or update an existing project's name,…
Analyzes DevOps Center test failures and Code Analyzer violations in plain language — failure category, offending file/class/method/line, rule violated, fix…