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.
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-storybookRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install chrome-devtools-storybook in Claude Code
git clone --depth 1 https://github.com/leboncoin/spark-web /tmp/spark-web && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/spark-web/.cursor/skills/chrome-devtools-storybook ~/.gemini/antigravity-cli/skills/chrome-devtools-storybookAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install chrome-devtools-storybook in Antigravity CLI
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
ANo 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 →Antigravity Workflows guides an assistant through multi-skill workflows for shipping a SaaS MVP, auditing web app security, building AI agents, running browser QA, and designing a domain model. It is for users who want several skills combined with verified checkpoints.
Guides building end-to-end test suites with Playwright and Cypress. It is for developers who write E2E tests, debug flaky tests, or set testing standards.
Upgrades Chrome or Firefox versions in the Flutter Web Engine and Framework tests. It verifies the version, updates config files, syncs CI builder JSON and runs local tests before the CIPD upload.
Builds reliable browser checks for real web workflows using semantic locators, bounded waits, isolated test data and explicit outcome checks. It is for developers and testers writing or debugging browser tests.
Diagnoses memory leaks in the Qwen Code CLI using heap snapshots and the chrome-devtools CLI. Built for developers investigating high memory use, unbounded growth, or object retention.
Guides an assistant through using Claude in Chrome, a browser extension whose tools act in the person's real Chrome with their own sign-ins. It is for users who want the assistant to work in their browser safely.
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.
