id: "experience-lwc-legacy-migrate"
kind: "skill"
name: "experience-lwc-legacy-migrate"
title: "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)."
category: "design"
source:
  repository: "forcedotcom/sf-skills"
  path: "plugins/builder/experience-lwc/skills/experience-lwc-legacy-migrate/SKILL.md"
  commit: "788b83fb9f5effb4f1548e3090df415704d3ec64"
  url: "https://github.com/forcedotcom/sf-skills/tree/788b83fb9f5effb4f1548e3090df415704d3ec64/plugins/builder/experience-lwc/skills/experience-lwc-legacy-migrate"
license:
  spdx: "Apache-2.0"
  from: "repository"
  redistributable: true
stars: 1172
updated_at: "2026-11-13T19:39:39Z"
score: 0.8073
rank: 249
files_count: 7
bytes: 82781
has_scripts: true
trust_level: "unreviewed"
reviewed_by: "eval-v1"
source_tier: "official"
eval:
  version: "eval-v1"
  date: "2026-11-21T11:03:12Z"
  model: "claude-sonnet-5-5"
  score: 0.8073
  signals:
    tier: 1.0
    rubric: 1.0
    judge: 0.7367
    smoke: "not_run"
    popularity: 0.4506
  rubric:
    score: 1.0
    trigger: 1.0
    scope: 1.0
    safety: 1.0
    injection: 1.0
    references: 1.0
    license: 1.0
    risky: []
    broken_references: []
  judge:
    trigger: 4
    scope: 3
    instructions: 4
    safety: 4
    injection: 5
    references: 5
    overall: 7
    verdict: "keep"
    rationale: "Description has clear triggers and explicit exclusions. Instructions are concrete: a deterministic name-conversion script, a validator enforcing six rules, a host page template, and a setup decision table. All referenced files are listed. No injection or risky actions. Scope is the weak point: it bundles two unrelated migrations (Aura completeness checklist and Lightning Out Beta→2.0), justified only by \"users often do both\". The Aura workflow is mostly a pointer to a reference file."
  smoke:
    status: "not_run"
requires:
  tools: []
  runtimes: ["python"]
  network: false
  mcp: []
compat:
  - client: "claude-code"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "codex-cli"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "cursor"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "gemini-cli"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "vscode-copilot"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "opencode"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "claude-desktop"
    status: "no"
    reasons: ["runs-bundled-code"]
    source: "derived"
  - client: "chat-mcp"
    status: "no"
    reasons: ["runs-bundled-code"]
    source: "derived"
files:
  - path: "SKILL.md"
    bytes: 10329
    sha256: "296770c7e7038201139b59913bc853cb6d86938a66383453cc67b842761b999b"
    url: "https://raw.githubusercontent.com/forcedotcom/sf-skills/788b83fb9f5effb4f1548e3090df415704d3ec64/plugins/builder/experience-lwc/skills/experience-lwc-legacy-migrate/SKILL.md"
  - path: "assets/lo20-host-page-template.html"
    bytes: 7009
    sha256: "4b8a48cb2e14c089335e850dd564224a574c5cb3f7707e71aaca7214e3351a5b"
    url: "https://raw.githubusercontent.com/forcedotcom/sf-skills/788b83fb9f5effb4f1548e3090df415704d3ec64/plugins/builder/experience-lwc/skills/experience-lwc-legacy-migrate/assets/lo20-host-page-template.html"
  - path: "references/aura-to-lwc-completeness-checklist.md"
    bytes: 8071
    sha256: "94bdc052ed0688c7a662050679f0c12aee31ac09f087f391171f4c1b92d83b16"
    url: "https://raw.githubusercontent.com/forcedotcom/sf-skills/788b83fb9f5effb4f1548e3090df415704d3ec64/plugins/builder/experience-lwc/skills/experience-lwc-legacy-migrate/references/aura-to-lwc-completeness-checklist.md"
  - path: "references/lightning-out-2-system-reference.md"
    bytes: 22846
    sha256: "28f77157d6c538828fe83e7b133101def7afd39ba79f4987f5ef3f8fa467e457"
    url: "https://raw.githubusercontent.com/forcedotcom/sf-skills/788b83fb9f5effb4f1548e3090df415704d3ec64/plugins/builder/experience-lwc/skills/experience-lwc-legacy-migrate/references/lightning-out-2-system-reference.md"
  - path: "references/lightning-out-beta-to-2-migration.md"
    bytes: 25358
    sha256: "2ef89954eb395a8763d454d71e16b75c2a951c116e97bab807ad158a8f8ab883"
    url: "https://raw.githubusercontent.com/forcedotcom/sf-skills/788b83fb9f5effb4f1548e3090df415704d3ec64/plugins/builder/experience-lwc/skills/experience-lwc-legacy-migrate/references/lightning-out-beta-to-2-migration.md"
  - path: "scripts/convert-lo-names.py"
    bytes: 3396
    sha256: "6a45b22784920500218d349cac6b2633ddfe91dde4f714b579752cf3e5c13674"
    url: "https://raw.githubusercontent.com/forcedotcom/sf-skills/788b83fb9f5effb4f1548e3090df415704d3ec64/plugins/builder/experience-lwc/skills/experience-lwc-legacy-migrate/scripts/convert-lo-names.py"
  - path: "scripts/validate-lo20-page.py"
    bytes: 5772
    sha256: "215ef636b7bdb9db26572da39a86125aa98e8a688547ae27819dda96587dd0ee"
    url: "https://raw.githubusercontent.com/forcedotcom/sf-skills/788b83fb9f5effb4f1548e3090df415704d3ec64/plugins/builder/experience-lwc/skills/experience-lwc-legacy-migrate/scripts/validate-lo20-page.py"
alternates:
  - name: "experience-lwc-legacy-migrate"
    repository: "forcedotcom/sf-skills"
    path: "skills/experience-lwc-legacy-migrate/SKILL.md"
    commit: "788b83fb9f5effb4f1548e3090df415704d3ec64"
    url: "https://github.com/forcedotcom/sf-skills/tree/788b83fb9f5effb4f1548e3090df415704d3ec64/skills/experience-lwc-legacy-migrate"
    license: "Apache-2.0"
    stars: 1172
    score: 0.8073
    similarity: 1.0
    reason: "identical content"
icon: "https://versatile.sh/avatars/forcedotcom.png"
