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.