storybook-upgrade
What it does
This skill guides the AI through upgrading Storybook in a web project to a specific release or test build. It is for developers who keep Storybook up to date or want to try a preview version.
When to use it
- ✓When you want to move your project to the latest stable Storybook.
- ✓When you need to test a preview build of Storybook in your own app.
- ✓When you want to upgrade from one major version to the next.
Skill link
https://github.com/storybookjs/storybook/blob/next/.agents/skills/storybook-upgrade/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Upgrade our Storybook to the latest stable version and tell me if anything needs manual attention.”
5 new skills a week. 1 minute to read.
How it works
The AI runs the official upgrade command with the version you choose. That command updates all Storybook packages together and handles their peer dependencies.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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> upgrade
Examples
Upgrade to canary version
npx --yes --allow-remote=all https://pkg.pr.new/storybook@<SHA> upgrade
Upgrade to latest stable
npx storybook@latest upgrade
Upgrade to specific release
npx storybook@8.5.0 upgrade
What 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)
FAQ
Can I skip major versions?
No. The skill says to upgrade only one major version at a time, such as 8 to 9 to 10.
Should I install Storybook packages by hand?
No. The skill says to use the upgrade command so all packages stay in sync.
Which package managers work?
The skill says the upgrade works with npm, yarn and pnpm.
Details
Original description by the author
Upgrade Storybook to a specific version (canary or release). Use this when upgrading Storybook packages in an external app, reproduction, or test project.
repo: storybookjs/storybook
Popularity
- GitHub stars
- 91k
- Ranking position
- #1322
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
handle-pr-comments
91kHelps your agent work through GitHub pull request review comments one at a time, suggesting a fix, applying your choice and resolving the thread.
principle-encode-lessons-in-structure
91kTeaches your agent to turn repeated mistakes into automatic checks, such as a lint rule or script, instead of writing the same reminder again.
storybook-startup-benchmark
91kHelps your agent measure how long Storybook takes to start and show its first story, with repeat runs for fair comparisons.
update-pr-description
91kHelps your agent check whether a pull request's title and description still match the code changes, then suggest accurate updates.
Similar skills
angular-developer
280kHelps your agent create Angular code and give project structure advice. Useful for starting new projects, creating code parts, or improving performance and accessibility.
frontend-a11y
280kHelps your agent make web interfaces accessible to everyone. It ensures websites and apps work well with screen readers and keyboard navigation.
frontend-patterns
280kHas your agent apply modern patterns in frontend development. It optimizes performance, manages state, and follows best practices in React and Next.js.