experience-lwc-widget-assess
Skill by forcedotcom
Assesses whether a specific Lightning web component can work as an HXL declarative widget. Built for developers doing LWC-to-widget feasibility checks, portability audits, and candidate screening.
Install experience-lwc-widget-assess
Built from the published package, never by AI.
git clone --depth 1 https://github.com/forcedotcom/sf-skills /tmp/sf-skills && mkdir -p ~/.claude/skills && cp -r /tmp/sf-skills/skills/experience-lwc-widget-assess ~/.claude/skills/experience-lwc-widget-assessRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install experience-lwc-widget-assess in Claude Code
git clone --depth 1 https://github.com/forcedotcom/sf-skills /tmp/sf-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/sf-skills/skills/experience-lwc-widget-assess ~/.gemini/antigravity-cli/skills/experience-lwc-widget-assessAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install experience-lwc-widget-assess in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill reviews one Lightning web component at a time and answers two questions: can its current behavior be represented as a declarative widget, and would a feasible widget still meet the user's goal. It reads the component's JS, template, metadata, and child components, then traces each visible value to its data source and maps each element and action to the target surface.
The skill checks rendering, retained state, data origin, and transformations, and lists every material blocker with its gate and evidence. It outputs a machine-readable verdict.json and a human-review report.md. It does not create metadata. It is aimed at teams deciding whether a Salesforce LWC should be ported to a widget, and it hands off to experience-lwc-widget-migrate when the widget should be built.
Written from the project's SKILL.md and checked against it.
What it can do
- Feasibility assessmentJudges whether a Lightning web component's current behavior can be represented as an HXL declarative widget.
- Widget candidate checkEvaluates whether a proposed widget still serves the user's goal and flags rebuilds.
- Blocker reportLists each material blocker by gate (role, rendering vocabulary, behavior, data source, transformation) with evidence.
- Contract change suggestionsSuggests fields an action should return when a displayed value is fetched after render.
- Verdict outputWrites a verdict.json decision file and a report.md review document for each component.
What you need
- Salesforce API version 68.0 or later
Try asking
- Assess whether caseDetailsPanel can become an HXL declarative widget
- Run a portability audit on this folder of LWC components
- Check if this order builder LWC still works as a widget
Good to know
- Assess only. It does not create widget metadata.
- Verdicts depend on discovery results and action contracts; unresolved cases are marked for human review.
- Cannot establish a fit where evidence is missing, so the verdict may be review.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/experience-lwc-widget-assess/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB
Alternatives to experience-lwc-widget-assess
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
experience-lwc-widget-assess: common questions
What does experience-lwc-widget-assess check?
It checks whether a specific Lightning web component can serve its user's purpose as an HXL declarative widget, across rendering, state, data origin, and transformations.
What is the difference between this skill and experience-lwc-widget-migrate?
This skill only assesses fit and outputs verdicts. The source says to use experience-lwc-widget-migrate when the user wants the widget built.
What output does the assessment produce?
It produces a verdict.json file for machine use and a report.md file for human review, with one section per component when a folder is assessed.
How do I install experience-lwc-widget-assess?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is experience-lwc-widget-assess free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is experience-lwc-widget-assess safe to use?
It scores 79 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to experience-lwc-widget-assess?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
