Storybook Testing
Storybook is the isolated contract for shared UI foundations and reusable states.
Use stories to show meaningful variants, loading and error states, interaction behavior, accessibility, and the supported theme or surface context. Keep application routing, provider composition, and live protocol behavior in package tests rather than hiding them inside stories.
The shared package scripts own local Storybook, story coverage, story quality, smoke checks, and build commands. The Design workflow owns CI execution. When a shared component changes, run the story coverage and quality checks selected by repository validation guidance.