<< All versions

Skill v1.0.1

Automated scan100/100
ku5ic/claude-kit/storybook-patterns

+6 new

──Details
PublishedOctober 20, 2026 at 08:26 PM
Content Hashsha256:18394cf89a59dd08...
Git SHAfca3a1fe48d8
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 2.2 KB)
SKILL.md2.2 KBactive
SKILL.md · 36 lines · 2.2 KB

version: "1.0.1" name: storybook-patterns description: Storybook patterns - 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.


Storybook patterns

Default assumption: Storybook 10.6 with CSF 3 stories.

  • CSF Factories (preview.meta({...}) and meta.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.json or lockfile.

Reference files

FileCovers
reference/story-ids.mdHow an id is formed, the manager and iframe URLs, what renames break
reference/csf.mdMeta, args and fn(), play functions, beforeEach
reference/accessibility.mdThe a11y addon, parameters.a11y.test, and CI behavior
reference/anti-patterns.mdSix 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 storiesOf API was removed; stories are CSF.
← v1.0.0All versionsv1.0.2 →