platform-widget-generate

安装量: 2K
排名: #6349

安装

npx skills add https://github.com/forcedotcom/sf-skills --skill platform-widget-generate

Generating a Widget Bundle Author a complete WidgetBundle: a UEM tree ( tile/widget ), a JSON Schema describing the widget's input contract, and the .uiwidget-meta.xml that registers the bundle. When to Use This Skill Use when the user asks for a widget, mosaic, fragment, or card-style rich UI surface. Do not use this skill for custom-LWC renderers or for renderer.json files inside a Custom Lightning Type bundle — those belong to platform-custom-lightning-type-generate . Inputs widgetName (required) — camelCase identifier; becomes the directory name under uiWidgets/ . A shape — what data the widget renders. The widget cannot be generated without it. The shape arrives one of two ways, in priority order: lightningTypeSchema — { path, apexClassFqn } for an existing Apex-backed Lightning Type. The FQN takes one of two forms: outer-class ( ) where the outer class is the payload, or inner-class ( $ ) where the named inner class is the payload. Passed in by the platform-lightning-type-widget-coordinate orchestrator. When present, derive per references/schema-from-lightning-type.md . Extracted from the user's prompt — when no lightningTypeSchema is passed, infer the shape directly from what the user wrote: a pasted JSON payload, an enumerated field list ("id as string, total as number"), or descriptive prose. The output is the same ordered list of { name, type, required } either way. If neither source yields a shape, STOP and ask the user before proceeding. Output Show more Installs 868 Repository forcedotcom/sf-skills GitHub Stars 803 First Seen Jul 24, 2026 Security Audits Gen Agent Trust Hub Pass Socket Pass Snyk Warn

返回排行榜