Assesses whether a Lightning web component can be represented as an HXL declarative widget. Evaluates rendering, state, actions, data origin, and transformations for portability audits.
Ships in sf-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Answer two questions for each LWC: Can the current behavior be represented? If not, would a feasible widget still accomplish the user's goal? Assess only; do not create metadata. A widget is its own declarative artifact, distinct from a Lightning Type. Its body renders supplied data with discovered tiles, bindings, formulas, and supported actions. It cannot run arbitrary LWC code, fetch after render, or retain reactive client state.
@api property proves external input, not that an invocable action returns it. A user's explicit statement about action output is evidence for a feasibility assessment; verify the actual action contract and Lightning Type/renderer wiring before claiming a working migration.platform-widget-generate explains the discovery procedure; the actual discoverUiComponents response and getUiComponentSchemas results establish available blocks and attributes. Read its references/widget-formulas.md only when a transformation matters. Record the target channel from evidence rather than assuming a fixed channel or tile count. Without discovery, a documented pattern can support a provisional candidate, but absence from examples does not prove a block is unavailable. Use review when that uncertainty determines the verdict; never invent a tile, action, input submission mechanism, or formula.MIN/MAX, date, or regex support does not imply collection sorting or aggregation. Input forms require evidence that the current tiles can collect values and pass those values to an action; sendMessage alone does not prove that.sendMessage may preserve an intent without preserving the original interaction, if the agent can actually perform the requested work with the required context. A carousel may become a product list; an order builder whose purpose is choosing quantities may not. Treat that change as a rebuild. For the widget candidate, consider a specified proposed IA contract when setting rendersAsWidget; state the contract change explicitly. If feasibility or purpose remains unresolved, use review, not a forced yes/no verdict.Use these outcomes:
| Outcome | Meaning |
|---|---|
asIsVerdict: port-declarative | Current visible behavior and data contract can be represented. |
asIsVerdict: needs-IA-contract-change | Only a bounded output or pre-shaping change is needed. |
asIsVerdict: not-portable | Some current behavior or visual has no verified equivalent. |
asIsVerdict: review | Evidence cannot establish the current fit. |
asDisplayWidget.verdict: viable | A verified or clearly identified candidate serves the goal, possibly after a stated contract change or rebuild. |
asDisplayWidget.verdict: pointless | It can render but loses the user's goal. |
asDisplayWidget.verdict: blocked | The proposed display/action cannot be represented. |
asDisplayWidget.verdict: review | Capability, data provenance, or purpose is unresolved. |
List every material blocker in the report with its gate and evidence, citing a source location or concrete behavior. Gate names are role, rendering vocabulary, behavior/interactivity, data source, and transformation. Do not stop at the first failed dimension. contractChange.shapeToAdd names only fields or pre-shaped values the action could plausibly return; never invent a payload. A viable adaptation may need a contract change even when the current LWC is not-portable. If a proposed widget changes the UX, set isRebuild: true and name the lost interaction in the report. Mark uncertain conclusions low confidence and explain what would resolve them.
Produce two artifacts. When an output location is given, write them as verdict.json and report.md.
Verdict — the machine-readable decision that experience-lwc-widget-migrate gates on. One JSON object per component; for a folder, an array. Keep exactly these fields:
{
"component": "caseDetailsPanel",
"role": "renderer",
"asIsVerdict": "port-declarative",
"contractChange": {"suggested": false, "shapeToAdd": []},
"asDisplayWidget": {"verdict": "viable", "rendersAsWidget": true, "stillServesPurpose": true, "isRebuild": false},
"needsHumanReview": false
}
role is renderer, input, or interactive. stillServesPurpose is boolean or "unknown"; rendersAsWidget is boolean or null when capability is unresolved. For viable, both are true. For pointless, rendering is true and purpose false. For blocked, rendering is false and purpose is "unknown". For review, keep unresolved fields unknown/null. Set needsHumanReview: true for either review verdict or unknown purpose. Suggest a contract change only when a value the widget displays is not already in the action's output (for example, it is fetched after render). Data already in the payload needs no contract change, even when the LWC is not-portable or the widget is a rebuild. Any suggested contract change needs a nonempty shapeToAdd; needs-IA-contract-change requires such a suggestion. port-declarative has no contract change.
Report — the human-review document. For a folder, one section per component. Use this structure:
# <component>: <one-line conclusion>
**Verdict:** <asIsVerdict> → <asDisplayWidget.verdict> (rebuild or not) · **Confidence:** high | low · **Needs human review:** yes | no
## Why
The user's goal, what maps cleanly, and what decides the verdict.
## Blockers
Each material blocker: gate, signal, evidence. "None" for `port-declarative`.
## Suggested contract change
Each field to add and why it must move into the action output. Omit when none is suggested.
## What the widget keeps / drops
Kept actions and dropped or replaced interactions.
## Open questions
What would resolve any low-confidence conclusion.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/sf-skills:experience-lwc-widget-assessfrom sf-skills
sf-skills@sf-skills-plugin is listed by ccmalcom/sf-skills-plugin — review the source before installing
npx claudepluginhub ccmalcom/sf-skills-plugin --plugin sf-skills266 skills in this plugin
/afcc-setup-coordinateOrchestrates end-to-end headless setup of Agentforce Contact Center (AFCC) on a Salesforce org. Scans the org first, presents a delta plan for approval, then sequentially provisions demo users, Omni-Channel base settings, a human queue with routing config and members, presence statuses, permission sets, a PSTN voice number, and an active PstnVoice MessagingChannel wired to the queue. Interactive at key decision points — never assumes country, number type, queue names, or user counts. TRIGGER: set up AFCC, configure Agentforce Contact Center, stand up voice contact center, AFCC migration setup, provision AFCC org headlessly./agentforce-architecture-analyzeDeclared architecture snapshot for one Agentforce agent: planner, topics, actions, flows, Apex, prompt templates, and NGA plugins. Renders a human-readable architecture document and Mermaid invocation graph from design-time metadata (not runtime audit rows). TRIGGER when user asks to describe, diagram, inventory, audit, document, or diff (e.g. v3 vs v5) the architecture / action tree / topic structure / tool inventory of a specific agent by agent API name in a specific org. DO NOT TRIGGER for runtime session traces, conversation transcripts, generation timings, or gateway audit chains — this skill reads design-time metadata only (use agentforce-d360-analyze for session traces).3 plugins ship this exact skill · first indexed Nov 1, 2026
Other plugins' skills for the same job