Storybook Upgrade storybook-upgrade
Upgrade Storybook to a specific version (canary or release). Use this when upgrading Storybook packages in an external app, reproduction, or test project.
Works in Claude, ChatGPT, Codex and more
- Our test
- —
- not tested yet
- GitHub stars
- 92k
- storybookjs/storybook
- Added by
- 0
- members
- Updated
- Dec 6
- commit 925c7d7
- Content
- 1 file
- no scripts · 2 KB
- License
- MIT
- free to use
What our test found
Not tested yet. Our model tries every skill on a realistic request and scores the result, the most popular skills first. Until then, the safety checks on the right still apply.
name: storybook-upgrade description: Upgrade Storybook to a specific version (canary or release). Use this when upgrading Storybook packages in an external app, reproduction, or test project. allowed-tools: Bash metadata: internal: true
Storybook Upgrade
Upgrades all Storybook packages in a project to a specific version.
Why this matters for the monorepo
This skill is mainly for validating Storybook changes outside this repository.
- QA a canary build from a Storybook PR in a downstream app
- Reproduce or verify a bug in an external project
Usage
npx storybook@<VERSION> upgradeExamples
Upgrade to canary version
npx --yes --allow-remote=all https://pkg.pr.new/storybook@<SHA> upgradeUpgrade to latest stable
npx storybook@latest upgradeUpgrade to specific release
npx storybook@8.5.0 upgradeWhat it does
- Detects all
@storybook/*packages in your project - Upgrades them all to the specified version
- Handles peer dependencies automatically
- Works with npm, yarn, and pnpm
Important
- DO NOT manually install storybook packages with
npm add/yarn add/pnpm add - Always use
npx storybook@<version> upgradeto ensure all packages stay in sync - The upgrade command handles version resolution across all storybook packages
- ALWAYS upgrade only 1 major version at a time!
- Example: 8.x → 9.x → 10.x → canary of 10
- Never skip major versions (e.g., don't go from 8.x directly to 10.x)