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

Skill by primer

Storybook guides an AI assistant through starting the Primer React Storybook dev server and using its primer-storybook MCP. It helps look up component docs, props, and story variants, and write or verify stories.

  • Score 81
  • 3.9k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install storybook

Built from the published package, never by AI.

git clone --depth 1 https://github.com/primer/react /tmp/react && mkdir -p ~/.claude/skills && cp -r /tmp/react/.agent/skills/storybook ~/.claude/skills/storybook

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

Step-by-step: install storybook in Claude Code

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

About

The storybook skill tells an AI assistant how to start the Storybook dev server for Primer React and check whether it is already running. It then explains how to use the primer-storybook MCP, served at localhost:6006/mcp, to list component IDs, read documentation and props, get story-writing instructions, and preview stories at live URLs.

The skill sets rules for working with these tools. Agents must list documentation IDs before fetching a component, must not invent props or variants, and must call the story instructions tool before writing stories. It is aimed at developers and agents working on the Primer React component library who need to look up components or write and verify Storybook stories.

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

What it can do

  • mcp_primer-storyb_list-all-documentationDiscovers all available component and documentation IDs. Called once per task.
  • mcp_primer-storyb_get-documentationRetrieves full docs, props, and examples for a component by its id.
  • mcp_primer-storyb_get-documentation-for-storyGets docs for a specific story variant not covered by get-documentation.
  • mcp_primer-storyb_get-storybook-story-instructionsReturns framework-specific imports and story patterns before writing or editing stories.
  • mcp_primer-storyb_preview-storiesReturns live preview URLs for stories, which the agent includes in its response.

What you need

  • A Primer React workspace with the Storybook setup
  • Storybook running with npm start from the workspace root
  • Storybook dev server available at localhost:6006
  • VS Code MCP configuration in .vscode/mcp.json

Try asking

  • Look up the props and usage examples for the Primer React Button component.
  • Start Storybook and check that it is running on localhost:6006.
  • Preview the variants of the ActionMenu component and give me the URLs.

Good to know

  • MCP tools only work while the Storybook dev server is running.
  • Agents must not invent props or variants that are not in the documentation.
  • Component IDs must come from list-all-documentation, not guessed from names.

Security check

A

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

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

Alternatives to storybook

All alternatives →
paperbananadwzhu-pku
94

PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.

AAA Skill 7.7k
technical-wireframe-info-layoutMengTo
94

Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.

AAA Skill 8.5k
spline-3d-integrationsickn33
94

Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.

AAA Skill 50k
code-slice-heroheygen-com
94

Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.

AAA Skill 92k
patentfigdavila7
94

Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.

AAA Skill 34k
framed-tech-dark-border-gradientMengTo
94

Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.

AAA Skill 8.5k

Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration

storybook: common questions

How do I start Storybook for the Primer React components?

The skill says to run npm start from the workspace root, not from packages/react. The dev server then runs on http://localhost:6006.

Can the assistant look up a Primer component's props with this skill?

Yes, after listing documentation IDs, the assistant can call get-documentation with a matching id. The skill says it must not invent props that are not documented.

Does the skill write stories for me?

The skill tells the assistant to call get-storybook-story-instructions before writing or editing stories and to use preview-stories afterwards. It treats the instructions output as the source of truth.

How do I install storybook?

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

Is storybook free?

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

Is storybook safe to use?

It scores 81 of 100. Grades: maintenance A, licence A, quality A. 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 storybook?

Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.

storybook Install

Add to stack

Loading.