name: storybook-playground-parity description: Keep Storybook setup and generated preview stories aligned across playground apps. Use when adding or updating framework playground experiences. compatibility: Requires Storybook dependencies in each playground app. metadata: owner: shadcnui-foundry version: "1.0"
Storybook Playground Parity
When to use this skill
Use when adding Storybook support or maintaining parity across framework playground apps.
Required structure
- Storybook config location per app:
/.storybook-cjs/ - Story files location per app:
/stories/
Steps
- Ensure app scripts exist:
storybookstorybook:build
- Ensure framework-specific Storybook package dependencies are installed.
- Add generated source preview stories for
Button,Input, andCard. - Build Storybook for the app:
pnpm --filter <playground-package> storybook:build
- Do not commit
storybook-static/output.
Validation matrix
- React playground Storybook build passes.
- Vue playground Storybook build passes.
- Svelte playground Storybook build passes.
- Angular playground Storybook build passes.
- Lit playground Storybook build passes.