What problem does it solve?
Reduces friction when creating or changing shared UI components by centralizing conventions for the loyalty-app monorepo’s Base UI–backed shadcn library and its Storybook documentation workflow.
Core Features & Use Cases
- Component development for @loyalty/ui: Add or modify shadcn components that are copy-paste owned in
packages/ui/src/components/ui, including Base UI–specific patterns.
- Storybook-first visual verification: Write or update one CSF 3 story per component in
apps/storybook/stories/ to ensure changes render correctly and are easy to review.
- Theme token and dark mode tuning: Adjust Tailwind v4
@theme inline tokens in packages/ui/styles/globals.css (light/dark) and verify behavior via Storybook and the apps’ theme toggle.
Quick Start
Use the ui skill to add a new Base-UI-backed shadcn component to packages/ui, wire it into the barrel export, and create a matching Storybook story in apps/storybook for visual confirmation.