Storybook Source Shape

Storybook is the fidelity oracle, not the runtime. The converter bundles the package's compiled dist/ into dsbundle.js — the same bundle the claude.ai/design agent builds with — and generates each preview by compiling the story source module itself (hooks, fixtures, local helpers — the whole closure comes along), with every component import resolved to that shipped bundle (lib/story-imports.mjs redirects package and relative component imports to window.<Global>). The repo's own storybook render is the ground truth those previews must match: a compare harness screenshots each story in the refer

thedixitjain aa31023 4 files · 94.0 KB Updated 2 repo stars

File contents

thedixitjain/the-mega-skill-library/tree/main/library/frontend-and-design/storybook-source-shape commit aa31023295

Frequently asked questions

npx skillmds add thedixitjain/storybook-source-shape