storybook-check
Verify changed components render correctly in Storybook by running a targeted build check
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Verify changed components render correctly in Storybook by running a targeted build check
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Structured bug fix workflow — diagnose from git history, minimal fix, verify
Scaffold a new VC-Shell UI component with proper structure, types, barrel exports, and Storybook story
Time-boxed implementation plan with approval gate before coding
| name | storybook-check |
| description | Verify changed components render correctly in Storybook by running a targeted build check |
| disable-model-invocation | true |
Verify that component changes don't break Storybook rendering.
Check which story files relate to recent changes:
git diff --name-only HEAD | grep -E '\.(vue|ts)$' | head -20
Look for corresponding .stories.ts files in the same directories.
Run a production Storybook build to catch compilation errors:
yarn build:storybook 2>&1 | tail -30
This catches:
Report success. Optionally launch Storybook dev server for visual verification:
yarn dev:storybook
Then use Playwright MCP to take screenshots of the affected stories for visual confirmation.
Analyze the error output:
.storybook/main.ts stripInvalidDocgen plugin)stripInvalidDocgen plugin in .storybook/main.ts handles __docgenInfo assignment errors from barrel re-exports. If you see ReferenceError about __docgenInfo, the plugin may need updating.@vc-shell/framework/dist/index.css to SCSS sources if no built dist exists. Run yarn build:framework first if you see styling issues.