
platform-widget-generate
Author a complete HXL WidgetBundle (UEM body + schema.json + -meta.xml)
by forcedotcomFree
Description
HXL widget bundle generator is an agent skill for authoring a complete HXL WidgetBundle for Salesforce. A bundle has three parts: a UEM tree made of tile and widget nodes, a JSON Schema that describes the widget's input contract, and the .uiwidget-meta.xml file that registers the bundle. The skill is for rich, card-style UI surfaces such as a widget, a mosaic or a fragment. It needs a widget name, which is a camelCase identifier that becomes the folder name under uiWidgets, and a shape that says what data the widget renders. The shape can come from an existing Apex-backed Lightning Type, identified by its class name, or be inferred from what the user provides, such as a pasted JSON payload, an enumerated list of fields, or a plain description. If no shape can be found from either source, the skill stops and asks the user before going further. It does not handle custom LWC renderers, or renderer.json files inside a Custom Lightning Type bundle, and it sends those to a separate skill. The skill is part of the Salesforce skills repository on GitHub, and its security audit results are listed below.…
Highlights
- Writes a UEM tree, JSON Schema and widget meta file
- Takes the shape from an Apex-backed Lightning Type or the prompt
- Asks for the shape when none is given
- Card, mosaic and fragment style widgets
Ratings & Reviews
No ratings yet
Be the first to rate platform-widget-generate.
People also visit

platform-mcp-tool-widget-coordinate
Orchestrate object-based Lightning Type + HXL widget generation

platform-lightning-type-widget-coordinate
Orchestrate Apex-backed Lightning Type + HXL widget generation

omnistudio-flexcard-generate
OmniStudio FlexCard creation and validation with 130-point scoring
platform-widget-generate FAQ
What does the skill output?
A complete WidgetBundle: a UEM tree of tile and widget nodes, a schema.json describing the inputs, and the .uiwidget-meta.xml registration file.
Where does the data shape come from?
From an Apex-backed Lightning Type when one is passed in, otherwise from the prompt, such as a pasted JSON payload or a list of fields.
What does it need to start?
A camelCase widgetName and a shape. Without a shape from either source, the skill stops and asks the user.
How do I install it?
Run npx skills add https://github.com/forcedotcom/sf-skills --skill platform-widget-generate.
What are the security audit results?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best platform-widget-generate alternatives?
Popular alternatives to platform-widget-generate include platform-mcp-tool-widget-coordinate, platform-lightning-type-widget-coordinate and anywidget-generator. See all platform-widget-generate alternatives

















