一键导入
setup
Use this skill when Storybook is already installed and the user wants a working `preview` file and stories for real components.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use this skill when Storybook is already installed and the user wants a working `preview` file and stories for real components.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | setup |
| description | Use this skill when Storybook is already installed and the user wants a working `preview` file and stories for real components. |
Prerequisites:
package.json, .storybook/). If not, switch to $storybook:init.next while 10.5 is not yet released). If it is older, or upgrade/repair is needed first, switch to $storybook:upgrade.Run npx storybook ai setup from the project root (or the Storybook package in a monorepo).
Follow the printed Markdown precisely. Do not substitute your own plan.
Invoke FIRST, before creating, editing, or deleting components, stories, styles, CSS, themes, colors, or design tokens — anything that changes how the UI looks, no exceptions. Also for starting or previewing Storybook to verify UI, requests to show, browse, or list components, stories, or UI states, and docs, props, or usage lookups.
Invoke FIRST, before creating, editing, or deleting components, stories, styles, CSS, themes, colors, or design tokens — anything that changes how the UI looks, no exceptions. Also for starting or previewing Storybook to verify UI, requests to show, browse, or list components, stories, or UI states, and docs, props, or usage lookups.
Use this skill when Storybook is already installed and the user wants a working `preview` file and stories for real components.
Use this skill when Storybook exists but needs an upgrade.
Use this skill when Storybook exists but needs an upgrade.
Use when adding Storybook to a project that does not have Storybook configured yet.