storybook-guidelines

Community

Clear, robust guidelines for Storybook stories.

Authorimaimai17468
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Storybook story creation often lacks coverage for conditional rendering and can drift toward non-critical prop variations. This guide defines a concise set of rules to ensure UI stories demonstrate real state changes and predictable behavior.

Core Features & Use Cases

  • Create stories for conditional rendering branches (e.g., elements shown/hidden by conditions).
  • Keep Meta minimal and avoid barrel imports; use explicit imports with the project alias.
  • Name stories in Japanese to make visual distinctions immediately clear and maintain consistency across components.
  • Write in TypeScript with clear, inline documentation for maintainers.
  • Provide examples and anti-patterns to prevent unnecessary variations and logic mocking.

Quick Start

Create a Storybook story file for a component that conditionally renders a header based on isVisible, with Japanese naming.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: storybook-guidelines
Download link: https://github.com/imaimai17468/custom-asmr/archive/main.zip#storybook-guidelines

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.