storybook
Skill by storm-software
Guides an AI assistant in writing Storybook stories using the CSF 3.0 format and related best practices. It is for developers who write or change story files and Storybook config.
Install storybook
Built from the published package, never by AI.
git clone --depth 1 https://github.com/storm-software/cyclone-ui /tmp/cyclone-ui && mkdir -p ~/.claude/skills && cp -r /tmp/cyclone-ui/.agents/skills/storybook ~/.claude/skills/storybookRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/storm-software/cyclone-ui /tmp/cyclone-ui && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/cyclone-ui/.agents/skills/storybook ~/.gemini/antigravity-cli/skills/storybookAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill gives an AI assistant a set of conventions for writing Storybook stories. It covers the CSF 3.0 format, with a Meta object that uses `satisfies` for type checking and `StoryObj` for each story. It recommends declaring default props in `args`, sharing common args at the component level, and leaving out `title` so Storybook can infer it from the file path.
The skill also explains when to use Decorators for shared wrappers and providers, and Parameters for layout and backgrounds. It advises against manual argTypes unless there is a clear reason. The source lists when manual argTypes make sense, plus file naming rules and example `.storybook/main.ts` and `preview.ts` files. It is written for developers who build React component libraries with Storybook.
Written from the project's SKILL.md and checked against it.
What it can do
- CSF 3.0 story formatWrites stories with a typed Meta object and StoryObj, instead of the older CSF 2.0 style.
- Args-based storiesDefines component props as args so they can be changed in the Controls panel.
- Automatic title inferenceOmits the title field so Storybook derives the sidebar path from the file location.
- Typed Meta definitionsUses the satisfies keyword to combine type checking with type inference.
- DecoratorsApplies wrappers and providers such as themes, routers, i18n, or stores to one story or all stories.
- ParametersSets story options such as layout, backgrounds, actions, and docs description.
- ArgTypes guidanceExplains when to rely on automatic argType inference and when to set argTypes by hand.
- Storybook config filesShows example .storybook/main.ts and .storybook/preview.ts setups.
What you need
- Storybook
- React
- TypeScript
Try asking
- Write a CSF 3.0 stories file for my Button component
- Move the duplicated args in my stories file into the Meta object
- Add a Decorator that wraps my Card stories in a ThemeProvider
Good to know
- Examples use React with @storybook/react and @storybook/react-vite.
- Manual argTypes are advised only in specific cases, such as ReactNode text input or fixed props.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/storybook/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to storybook
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
storybook: common questions
What is CSF 3.0 in Storybook?
The skill recommends CSF 3.0, the latest Component Story Format, as more concise and type safe. It shows a CSF 2.0 example marked as outdated.
Should I set a title for my Storybook stories?
The skill says to omit title. Storybook infers the sidebar hierarchy from the file path, which avoids type safety problems and breakage when files are renamed.
Where should default prop values go in Storybook?
The skill says to declare defaults in args, not in argTypes.defaultValue, so the Controls panel selects them automatically.
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 Apache-2.0 licence. The service it connects to may have its own pricing.
Is storybook safe to use?
It scores 70 of 100. Grades: maintenance A, licence A, quality C. 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: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
