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

chrome-devtools-storybook

Skill by leboncoin

Runs browser tests on local Storybook stories through the chrome-devtools MCP server. It opens each story's iframe.html URL directly instead of the docs pages, for developers testing Storybook components.

  • Score 70
  • 94 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install chrome-devtools-storybook

Built from the published package, never by AI.

git clone --depth 1 https://github.com/leboncoin/spark-web /tmp/spark-web && mkdir -p ~/.claude/skills && cp -r /tmp/spark-web/.cursor/skills/chrome-devtools-storybook ~/.claude/skills/chrome-devtools-storybook

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

Step-by-step: install chrome-devtools-storybook in Claude Code

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

About

This skill tells an AI assistant how to run browser-level tests and interactions on local Storybook stories using the project-0-spark-chrome-devtools MCP server. It explains that Storybook renders stories in iframes on docs pages, so the assistant should navigate to the iframe.html story URL instead. The skill includes steps for converting docs and story page URLs into iframe URLs, and it keeps any extra query parameters such as globals or args.

It is aimed at developers who want browser or visual checks of a Storybook component. The skill assumes Storybook runs on http://localhost:6006 unless another base URL is given, and that story IDs follow the standard group-component--story pattern. Once the story loads, the assistant can click, use keyboard navigation, move focus, or take screenshots.

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

What it can do

  • Convert Storybook URLsTurns docs page or story page URLs into the matching iframe.html story URL.
  • Direct iframe navigationOpens the story iframe URL in chrome-devtools instead of the outer docs page.
  • Element interactionFinds elements by role, text or data attributes and performs clicks and focus changes.
  • Keyboard navigationRuns keyboard navigation and focus or blur checks on a standalone story page.
  • Screenshots and inspectionTakes screenshots or inspects the DOM and CSS of a loaded story.

What you need

  • chrome-devtools MCP server (project-0-spark-chrome-devtools)
  • Storybook running locally, by default on http://localhost:6006

Try asking

  • Test the components-accordion--with-icon story at localhost:6006 in chrome devtools
  • Take a screenshot of this Storybook docs URL's default story
  • Check keyboard focus order on the accordion story in the iframe

Good to know

  • Assumes Storybook runs on localhost:6006 unless the user gives another base URL.
  • Assumes the --default story exists when it is derived from a docs URL.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

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

Alternatives to chrome-devtools-storybook

All alternatives →

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

chrome-devtools-storybook: common questions

Why does this skill use iframe.html URLs instead of docs pages?

The source says Storybook renders stories inside iframes on docs pages, so the skill targets the iframe.html story URL to avoid extra DOM exploration.

How does the skill get a story ID from a docs URL?

It extracts the part between /docs/ and --docs, then appends --default to build the story id. For example, components-accordion becomes components-accordion--default.

Which MCP server does this skill use?

It uses the project-0-spark-chrome-devtools MCP server to run the browser tests and interactions.

How do I install chrome-devtools-storybook?

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

Is chrome-devtools-storybook free?

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

Is chrome-devtools-storybook safe to use?

It scores 70 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to chrome-devtools-storybook?

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

chrome-devtools-storybook Install

Add to stack

Loading.