Skip to content
Back to skills

Storybook Patterns

ASecurity

Storybook patterns for CSF 3, args and fn() spies, play functions, story ids, and the a11y addon. Load before any edit to a *.stories.* file or .storybook/, however small, and for Storybook questions.

  • 2 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added October 5, 2026
ai-agentstypescriptgit

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add ku5ic/claude-kit --skill storybook-patterns --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Storybook Patterns?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Storybook Patterns
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ku5ic-storybook-patterns/badge)](https://www.skillsdirectory.com/skills/ku5ic-storybook-patterns)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: storybook-patterns
description: Storybook patterns for CSF 3, args and fn() spies, play functions, story ids, and the a11y addon. Load before any edit to a *.stories.* file or .storybook/, however small, and for Storybook questions.
---

# Storybook patterns

Default assumption: Storybook 11.0 with CSF 3 stories, per the Storybook releases on GitHub.

A row applies when the `storybook` version in the project's `package.json` and lockfile is at least its version. 11 is `latest` on npm. The docs show CSF Next (`preview.meta({...})`, `meta.story({...})`) next to CSF 3; match the form the project already uses.

## Reference files

Loading this skill isn't enough. Before your next edit, read the file of every row that matches it. The rules live in those files, and this one only points at them.

| Before                                                                                       | Read                                                     |
| -------------------------------------------------------------------------------------------- | -------------------------------------------------------- |
| Writing a story or `.storybook/` config, or raising the Storybook version                    | [reference/upgrades.md](reference/upgrades.md)           |
| Writing, changing, or reviewing a story, a `play` function, a mock, or the a11y setup        | [reference/anti-patterns.md](reference/anti-patterns.md) |
| Writing a story, its meta, args, `play`, `beforeEach`, a11y parameters, or a link to a story | [reference/practices.md](reference/practices.md)         |
| Configuring or running eslint-plugin-storybook, TypeScript, or the a11y addon                | [reference/tooling.md](reference/tooling.md)             |

Files in this skill

  • SKILL.md2.2 KB
  • reference/accessibility.md1.6 KB
  • reference/anti-patterns.md1.7 KB
  • reference/csf.md2 KB
  • reference/story-ids.md1.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.