stories

Automate Storybook story creation for React components using atomic design.

1|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/AJV009/drupal-devkit --skill stories-ajv009
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stories
Source: https://github.com/AJV009/drupal-devkit/tree/main/plugins/migrate-drupal-canvas/skills/stories
Command: npx skills add https://github.com/AJV009/drupal-devkit --skill stories-ajv009

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Stories prove your components work. They are living documentation, visual regression references, and the first line of defense for catching structural gaps early.

Core Features & Use Cases

  • Organized by atomic design levels (Atoms, Molecules, Organisms, Templates, Pages) with clear directory structure under canvas/src/stories.
  • Auto documentation, naming conventions, and cross-references to component.yml props and slots.
  • Page stories guidance, test stories, and migration-oriented stories to support regression testing and Drupal CMS workflows.

Quick Start

Create and commit a new story following atomic design conventions under canvas/src/stories.

Frequently Asked Questions about stories

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

FAQPage Schema
How do I automate Storybook story creation for an atomic design component library?

You can automate Storybook story creation by applying Canvas-style atomic design conventions. The Skill generates unit and page stories for Atoms, Molecules, Organisms, Templates, and Pages, using existing component.yml examples for auto-generated variants.

What are Storybook stories used for in component library development?

Storybook stories serve as living documentation and visual regression references. They prove your React components work and act as the first line of defense for catching structural gaps early in your component library.

How do I generate Storybook auto documentation for React components?

Auto documentation is generated by cross-referencing component.yml props and slots. The Skill creates stories with autodocs enabled, applying naming conventions and asset placeholder guidelines automatically.

Can I use this atomic design Storybook generator with Drupal CMS workflows?

Yes, the Skill supports Drupal CMS workflows by providing migration-oriented stories. It ensures compliance with page story rules and includes test stories to support regression testing during migrations.

What are the limitations when creating page stories in Storybook?

Page stories must comply with specific page story rules and single-story hoisting guidelines. The Skill enforces these constraints while using PageLayout templates to ensure your stories remain structurally valid.