upgrading-react-native-storybook

upgrading-react-native-storybook is a skill for Claude Code from storybookjs/react-native. It costs 151 tokens per session (836 once invoked), scanned A, original, MIT.

A step-by-step workflow for upgrading Storybook, a tool used to develop and preview interface components, in React Native projects. It supports specific version-to-version migrations and handles only the next upgrade step at a time.

In plain words
What is it for?
Use it to upgrade supported React Native Storybook projects, including converting older stories to the newer CSF format when required.
Why use it?
It prevents risky jumps across several major versions and checks the project's package manager and configuration first. This makes the required migration changes easier to control and verify.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the react-native-storybook plugin — 3 skills, 1 command, 1 MCP server shipped together

Good fit Use it to upgrade supported React Native Storybook projects, including converting older stories to the newer CSF format when required.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/storybookjs/react-native/upgrading-react-native-storybook
About the project

Storybook for React Native is a development environment for designing and testing individual React Native components without running the whole application. It is for React Native and Expo developers who need to build components in isolation, document them with stories, and test them. The catalogue skills, plugins, instructions, MCP integration, and command support workflows around using Storybook for React Native.

storybookjs/react-native · 1,323 stars · on GitHub · storybook.js.org

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add storybookjs/react-native --skill upgrading-react-native-storybook
Clone the repo
git clone --depth 1 https://github.com/storybookjs/react-native

Made for: Claude Code.

Or install react-native-storybook, the plugin that ships this one along with the rest of its 3 skills, 1 command, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for upgrading-react-native-storybook

README.md
[![agentmods](https://agentmods.dev/badge/skills/storybookjs/react-native/upgrading-react-native-storybook/github.svg)](https://agentmods.dev/skills/storybookjs/react-native/upgrading-react-native-storybook)
Your own site
<a href="https://agentmods.dev/skills/storybookjs/react-native/upgrading-react-native-storybook"><img src="https://agentmods.dev/badge/skills/storybookjs/react-native/upgrading-react-native-storybook/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for upgrading-react-native-storybook

Your own site · 80×15
<a href="https://agentmods.dev/skills/storybookjs/react-native/upgrading-react-native-storybook"><img src="https://agentmods.dev/badge/skills/storybookjs/react-native/upgrading-react-native-storybook.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 151 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 836 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00151 $0.00836
Opus 5.5 $0.00060 $0.00334
Sonnet 5.5 $0.00030 $0.00167
Haiku 4.5 $0.00015 $0.00084

Measured 1mo ago against content hash 6046d7548697, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

upgrading-react-native-storybook scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/upgrading-react-native-storybook/SKILL.md · 57 lines

How it starts

The opening of the file, as written. The whole thing — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.

React Native Storybook Upgrades

Upgrade one supported version step at a time. Do not jump from an older major directly to the latest release in a single pass.

Rules

  • Detect the project's package manager first and use it consistently.
  • Detect the currently installed Storybook version from package.json, lockfiles, and config files before editing anything.
  • Apply exactly one migration step per run. If a project is multiple versions behind, complete the next hop, verify it, and then report the next required hop.
  • During the 6.5.x -> 7.6.x step, convert any remaining storiesOf stories to CSF instead of preserving compatibility mode.
  • Preserve the project's existing app structure. Only make the migration changes required for the current step.

Version Detection

Look at these signals together:

  • package.json versions for @storybook/react-native, storybook, @storybook/react, and @storybook/addon-ondevice-*
  • Whether the config folder is .storybook/ or .rnstorybook/
  • Metro config imports such as metro/withStorybook, metro/withStorybookConfig, or default-vs-named withStorybook
  • Story format usage: CSF vs storiesOf
  • Generated file names such as storybook.requires.js vs storybook.requires.ts

If the version is ambiguous, stop and clarify the current installed version instead of guessing.

Migration Selection

Use exactly one reference file:

  1. 9.x -> 10.x: references/from-9-to-10.md
  2. 8.x -> 9.x: references/from-8-to-9.md
  3. 7.6.x -> 8.3.x: references/from-7-6-to-8-3.md
  4. 6.5.x -> 7.6.x: references/from-6-5-to-7-6.md
  5. 5.3.x -> 6.5.x: references/from-5-3-to-6-5.md

Workflow

  1. Confirm the current Storybook version and whether the repo uses Expo, Expo Router, React Native CLI, or Re.Pack.
  2. Pick the next migration step only. Never bundle multiple major upgrades together.
  3. Apply the dependency, config, and source-file changes from the matching reference.
  4. Regenerate storybook.requires or restart Metro when that step requires it.
  5. Run the smallest useful verification available for the repo, such as the generation script, tests, lint, or the local Storybook app launch path.
  6. If the repo still is not on the user's target version, stop with a clear note describing the next required migration step.

Read the full file on GitHub · 57 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 57 lines · 151 tokens per session scan A 6046d7548697

Subscribe to this mod's changes

upgrading-react-native-storybook is a skill published in the GitHub repository storybookjs/react-native (1,323 stars, last pushed 2d ago), licensed MIT. It adds 151 tokens to every session and 836 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

uniwind

Uniwind — Tailwind CSS v4 styling for React Native. Use when adding, building, or debugging components in a React Native project that uses Uniwind classNames. Covers setup, Metro config, global.css, theming, className props, accent- color props, platform/data/state/responsive variants, CSS variables, custom utilities…

uni-stack/uniwind · 130 tokens

migrate-nativewind-to-uniwind

Migrate a React Native project from NativeWind to Uniwind. Use when the user wants to replace NativeWind with Uniwind, upgrade from NativeWind, switch to Uniwind, or mentions NativeWind-to-Uniwind migration. Handles package removal, config migration, Tailwind 4 upgrade, cssInterop removal, theme conversion, and all…

uni-stack/uniwind · 82 tokens

unistyles-v2-to-v3-migration

Migrate react-native-unistyles from v2 to v3. Triggers on: "migrate unistyles", "upgrade unistyles", "v2 to v3", "unistyles migration", "update unistyles", "convert unistyles v2". Covers all API changes including StyleSheet.create, useStyles removal, theme configuration, variants, withUnistyles, Babel plugin setup…

jpudysz/react-native-unistyles · 104 tokens

react-native-unistyles-v3

Guide for using react-native-unistyles v3. Triggers on: "unistyles", "StyleSheet.create", "create stylesheet", "add theme", "breakpoints", "variants", "withUnistyles", "useUnistyles", "ScopedTheme", "UnistylesRuntime", "style component", "responsive styles", "media queries", "dynamic styles", "scoped theme", "adaptive…

jpudysz/react-native-unistyles · 125 tokens

react-native-docs

Comprehensive React Native reference covering core components, APIs, styling, flexbox, navigation, networking, animations, platform-specific code, debugging, performance, TypeScript integration, Fast Refresh, environment setup, React fundamentals, running on devices, and the New Architecture (Fabric, JSI…

pledgeandgrow/pledge-skills · 97 tokens

mobile-development

React Native mobile app development patterns with Expo 54, Tamagui, and expo-router. Use when creating screens, components, or navigation in the mobile app.

Ampli-Group/agentic-mobile-blueprint · 36 tokens