Loading...
Loading...
Assess whether a specific Lightning web component can serve its user's purpose as an HXL declarative widget. Use for LWC-to-widget feasibility, portability audits, and candidate screening; use experience-lwc-widget-migrate when the user wants the widget built.
npx skill4agent add forcedotcom/sf-skills experience-lwc-widget-assess@apiplatform-widget-generatediscoverUiComponentsgetUiComponentSchemasreferences/widget-formulas.mdreviewMINMAXsendMessagesendMessagerendersAsWidgetreview| Outcome | Meaning |
|---|---|
| Current visible behavior and data contract can be represented. |
| Only a bounded output or pre-shaping change is needed. |
| Some current behavior or visual has no verified equivalent. |
| Evidence cannot establish the current fit. |
| A verified or clearly identified candidate serves the goal, possibly after a stated contract change or rebuild. |
| It can render but loses the user's goal. |
| The proposed display/action cannot be represented. |
| Capability, data provenance, or purpose is unresolved. |
rolerendering vocabularybehavior/interactivitydata sourcetransformationcontractChange.shapeToAddnot-portableisRebuild: trueverdict.jsonreport.mdexperience-lwc-widget-migrate{
"component": "caseDetailsPanel",
"role": "renderer",
"asIsVerdict": "port-declarative",
"contractChange": {"suggested": false, "shapeToAdd": []},
"asDisplayWidget": {"verdict": "viable", "rendersAsWidget": true, "stillServesPurpose": true, "isRebuild": false},
"needsHumanReview": false
}rolerendererinputinteractivestillServesPurpose"unknown"rendersAsWidgetnullviablepointlessblocked"unknown"reviewneedsHumanReview: truereviewnot-portableshapeToAddneeds-IA-contract-changeport-declarative# <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.