What problem does it solve?
When writing or editing React/TSX in the OpenMetadata UI, agents and developers default to raw <div> elements with Tailwind utility classes and hardcoded palette colors, which duplicates existing layout primitives and breaks dark-mode theming.
Core Features & Use Cases
- Layout primitive mapping: Maps raw flex/grid div patterns to
Box, Grid/Grid.Item, Card, and Divider components from @openmetadata/ui-core-components, with prop-level documentation (direction, gap, span, variant, size).
- Semantic color enforcement: Replaces raw Tailwind palette classes (
tw:bg-gray-50, tw:text-red-600) and hex values with semantic tokens (tw:bg-primary, tw:text-error-primary) that remap automatically in dark mode.
- Use Case: While adding a new panel to a page in
openmetadata-ui, consult this Skill to build the layout with <Card> and <Box gap={4}> instead of nested flex divs, and style it with semantic tokens so it renders correctly in dark mode.
Quick Start
Ask the assistant to review or write the layout markup for your React component using the ui-core-components primitives and semantic color tokens instead of raw divs and Tailwind palette classes.