storybook-upgrade

Upgrade all @storybook/* packages to a specified Storybook version.

Updated May 26, 2026
One-click install
npx skills add https://github.com/anukkrit149/anukkrit-skills --skill storybook-upgrade-anukkrit149
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: storybook-upgrade
Source: https://github.com/anukkrit149/anukkrit-skills/tree/main/cloud/skills/storybook-upgrade
Command: npx skills add https://github.com/anukkrit149/anukkrit-skills --skill storybook-upgrade-anukkrit149

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Upgrading Storybook across a project can break compatibility because multiple @storybook/* packages must move together and peer dependencies must be resolved consistently.

Core Features & Use Cases

  • Coordinated package upgrades: Detects all @storybook/* packages and upgrades them as a single set to a chosen version.
  • Peer-dependency handling: Ensures Storybook package relationships remain consistent during the upgrade.
  • Use case: Validate a downstream app against a Storybook canary build or reproduce an issue in an external repository after bumping Storybook.

Quick Start

Run npx [email protected] upgrade to upgrade all Storybook packages in your project to version 8.5.0.

Frequently Asked Questions about storybook-upgrade

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I upgrade all Storybook packages to the same version at once?

To upgrade Storybook packages together, run npx storybook@<target-version> upgrade. This detects all @storybook/* packages and upgrades them as a single set to keep them in sync.

Why do my Storybook dependencies break after updating individual packages?

Storybook packages break when updated individually because multiple @storybook/* packages must move together and peer dependencies must be resolved consistently. Coordinated upgrades prevent these compatibility issues.

Can I use Storybook upgrade to test a canary build in a downstream app?

Yes, you can validate a downstream app against a Storybook canary build. Run the upgrade command with the canary version to bump all Storybook packages and test the target release.

What is the best way to reproduce a Storybook bug in an external test project?

The best way to reproduce a Storybook bug is to run npx storybook@<version> upgrade in the external repository. This synchronizes all @storybook/* packages to the specific version causing the issue.

Do I need to manually install each @storybook package during a version bump?

No, you do not need manual per-package installs. The Storybook upgrade command automatically detects and upgrades all @storybook/* packages together while handling peer dependencies.