evaluate_platform_component_fit
Evaluate if an HDS platform component fits a UI need directly, through composition, or as a custom replacement. Prefer existing components before building new UI.
Instructions
Evaluates whether an HDS platform component should be used directly, wrapped/composed, or replaced with a custom component. MUST prefer existing platform components such as now-card before building a custom card or custom primitive. Use this before scaffolding new UI from scratch and before inventing custom wrappers around functionality the instance already exposes. For any styled card, panel, or container, the evaluation must consider the platform component first and then require a separate .scss file plus a styles property on the custom element if custom UI is still necessary. When the chosen platform component is instance-backed, the project should declare it in package.json under optionalDependencies with version "instance".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| useCase | Yes | Short description of the UI need, such as "inline label/value pair with tooltip". | |
| desiredEvents | No | Optional list of dispatched events the component should expose. | |
| desiredProperties | No | Optional list of properties the component should expose. |