Storybook upgrade

From storybookjs/storybook · View interactive version

Storybook upgrade is an AI agent skill from the GitHub repository storybookjs/storybook. Upgrade Storybook to a specific version (canary or release). Use this when upgrading Storybook packages in an external app, reproduction, or test project.

How to use this skill

Skill file

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.

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

  1. Detects all @storybook/* packages in your project
  2. Upgrades them all to the specified version
  3. Handles peer dependencies automatically
  4. Works with npm, yarn, and pnpm

Important

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.