Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

storybook-startup-benchmark

Skill by storybookjs

Measures Storybook startup time from spawning `storybook dev` until the first story renders in the browser. It is for developers who need repeatable boot-time benchmarks, regression checks, or version and feature-flag comparisons.

  • Score 88
  • 92k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install storybook-startup-benchmark

Built from the published package, never by AI.

git clone --depth 1 https://github.com/storybookjs/storybook /tmp/storybook && mkdir -p ~/.claude/skills && cp -r /tmp/storybook/.agents/skills/storybook-startup-benchmark ~/.claude/skills/storybook-startup-benchmark

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install storybook-startup-benchmark in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Storybook Startup Benchmark is an agent skill for measuring how long Storybook takes to start. It splits the time into three segments: server, from process spawn until the Storybook server responds; browser, from server response until the first story renders; and total, from spawn until the first story renders. The skill guides the assistant to build or reuse a repeatable Node script that starts Storybook without opening a browser, waits for HTTP readiness, and launches a browser it controls.

The script waits for a preview-side signal set after the first story mounts and one requestAnimationFrame. With a repeat count, it prints per-run results and grouped summary stats with average, min, max and p95 values. The skill is aimed at developers who want to check Storybook boot time, investigate startup regressions, or compare Storybook versions or feature flags. It also includes guidance for telling server-side regressions from render-side ones.

Written from the project's SKILL.md and checked against it.

What it can do

  • Three timing segmentsReports server, browser and total startup times separately.
  • Repeat runs with summary statsGroups average, min, max and p95 values for each segment across repeated runs.
  • Preview-side render signalMarks the first story render after one requestAnimationFrame in the preview.
  • Controlled benchmark harnessFails fast on a busy port, spawns Storybook without a browser, and kills the process group on cleanup.
  • Regression interpretationGives heuristics for whether growth points to the server, the browser, or tail latency.

What you need

  • Node.js, since the benchmark is a plain Node script
  • A Storybook project that can run `storybook dev`
  • A Chrome-family browser if using remote debugging as the control path

Try asking

  • Measure Storybook startup time from spawn to first story render
  • Run 20 Storybook startup measurements and summarize the averages
  • Is this Storybook startup regression server-side or render-side?

Good to know

  • Warm repeated runs are not cold-start data.
  • A stale Storybook server on the same port can give unrealistically low server averages.
  • Root cause should not be claimed unless server and render behavior are isolated.

Security check

B
  • Allowed to use Bash without limitsIn SKILL.md

Checked automatically: .agents/skills/storybook-startup-benchmark/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: BashRead

  • SKILL.md5 KB

Alternatives to storybook-startup-benchmark

All alternatives →

Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser

storybook-startup-benchmark: common questions

Does this measure only the Storybook CLI output?

No. The source says server listening is not the same as first story rendered, so the benchmark times until a story renders in the browser.

Will Storybook open a browser window during the benchmark?

Storybook 11 opens one only with --open. Storybook 10 and older need --no-open. The external harness launches the browser it controls.

Can this compare feature flags or Storybook versions?

Yes. The skill is described for comparing Storybook versions or feature flags, and it notes that a feature can erase newer startup gains.

How do I install storybook-startup-benchmark?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is storybook-startup-benchmark free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is storybook-startup-benchmark safe to use?

It scores 88 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use bash without limits). Review the code before you install. How grades work.

What are alternatives to storybook-startup-benchmark?

Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.

storybook-startup-benchmark Install

Add to stack

Loading.