storybook-stories

Create and maintain Storybook stories for React components with repository conventions.

Updated May 15, 2026
One-click install
npx skills add https://github.com/JBonfim/skill-developer --skill storybook-stories-jbonfim
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: storybook-stories
Source: https://github.com/JBonfim/skill-developer/tree/main/.agents/skills/storybook-stories
Command: npx skills add https://github.com/JBonfim/skill-developer --skill storybook-stories-jbonfim

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents Storybook stories from drifting into inconsistent patterns across components, making documentation harder to maintain and examples harder to review.

Core Features & Use Cases

  • Standardized story creation: Ensures new, updated, and refactored stories follow the same structure and conventions across the codebase.
  • Design-system compliant UI usage: Enforces importing and composing base UI components from @agh/ui, using design tokens and established React/Shadcn rules.
  • Practical story organization: Produces stories with correct placement, metadata configuration, and concise coverage for core behavior (typically 2–5 stories per component).

Quick Start

Use the storybook-stories skill to update the Storybook stories for the specified React component so they match the repository’s Storybook, @agh/ui, and design-token conventions.

Frequently Asked Questions about storybook-stories

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I keep Storybook stories consistent across React components?

To keep Storybook stories consistent across React components, enforce standardized story placement, meta configuration, and concise definitions that align repository conventions for imports, design tokens, and explicit typing.

What is the correct way to structure Storybook stories for a design system?

Structuring Storybook stories for a design system requires following base component imports, applying design-token styling rules, using explicit Storybook typing, and always including args: {} with valid render patterns for compound components.

How do I update component stories to match existing Storybook conventions?

Updating component stories to match existing Storybook conventions involves refactoring story additions and updates to follow repository-specific meta configuration, ensuring 2–5 concise stories per component cover core behavior.

Can I use design tokens in Storybook stories for React components?

Yes, you can use design tokens in Storybook stories for React components by enforcing design-token styling rules and importing base UI components from the established design system package during story creation and updates.

How many stories should I write per component in Storybook?

You should typically write 2–5 stories per component in Storybook to provide concise coverage for core behavior, ensuring each story follows standardized metadata configuration and repository story placement conventions.