<< All versions
Skill v1.0.2
currentAutomated scan100/100ku5ic/claude-kit/storybook-patterns
~2 modified
──Details
PublishedNovember 5, 2026 at 04:09 PM
Content Hashsha256:9b5594c61f54ba94...
Git SHAac6fbb467c84
Bump Typepatch
──Files
Files (1 file, 2.2 KB)
SKILL.md2.2 KBactive
SKILL.md · 37 lines · 2.2 KB
name: storybook-patterns description: Storybook patterns for CSF 3 stories and meta, args with fn() spies, play-function interaction tests, how story ids and URLs are formed, the a11y addon's test modes, and review-time anti-patterns. Use whenever the project contains *.stories.* files, a .storybook/ directory, or storybook in package.json, OR the user asks about stories, play functions, Storybook addons, or component documentation, even if Storybook is not mentioned by name. metadata: version: "1.0.2"
Storybook patterns
Default assumption: Storybook 10.6 with CSF 3 stories.
- CSF Factories (
preview.meta({...})andmeta.story({...})) appear in current docs next to plain CSF 3 objects. Match whichever form the project already uses. - Adapt advice to the version in the project's
package.jsonor lockfile.
Reference files
| File | Covers | |
|---|---|---|
| reference/story-ids.md | How an id is formed, the manager and iframe URLs, what renames break | |
| reference/csf.md | Meta, args and fn(), play functions, beforeEach | |
| reference/accessibility.md | The a11y addon, parameters.a11y.test, and CI behavior | |
| reference/anti-patterns.md | Six review-time anti-patterns with severity calls |
References
- Storybook docs: https://storybook.js.org/docs
- Sidebar and URLs: https://storybook.js.org/docs/configure/user-interface/sidebar-and-urls
- Accessibility tests: https://storybook.js.org/docs/writing-tests/accessibility-testing
- Migration notes: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md
Version notes
Checked: 2026-09-26 against the npm registry and Context7 /storybookjs/storybook
- 10.6.0 (2026-09-02); 10.0.0 (2025-10-28). No change to the guidance in this pack.
- 8.0: the
storiesOfAPI was removed; stories are CSF.