add-storybook-story

Generate colocated Storybook stories with Meta setup, viewports, and themes.

2|Updated Aug 26, 2025
One-click install
npx skills add https://github.com/vintasoftware/vinta-schedule-frontend-web --skill add-storybook-story
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-storybook-story
Source: https://github.com/vintasoftware/vinta-schedule-frontend-web/tree/main/.claude/skills/add-storybook-story
Command: npx skills add https://github.com/vintasoftware/vinta-schedule-frontend-web --skill add-storybook-story

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill simplifies the process of adding and updating Storybook stories for a component, ensuring best practices and consistency.

Core Features & Use Cases

  • Colocated Storybook Stories: Automatically generate *.stories.tsx files adjacent to component files, adhering to established conventions.
  • Story Meta Setup: Offers predefined metadata and structure to optimize Storybook configurations.
  • Variants and Viewports: Supports rendering of all component variations in multiple viewports, ensuring responsive design.

Quick Start

Execute the 'add-storybook-story' skill to automatically generate a story for your component following the repository's Storybook guidelines.

Frequently Asked Questions about add-storybook-story

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

FAQPage Schema
How do I add Storybook stories to my Next.js components?

To add Storybook stories to your Next.js components, you execute the skill to automatically generate colocated *.stories.tsx files adjacent to your component files following established repository conventions.

What is the best way to ensure consistent Storybook story setup across a project?

The best way to ensure consistent Storybook story setup is to use predefined metadata and structure for the Meta block, which optimizes Storybook configurations and maintains uniform component examples.

Does this Storybook story generator support fullscreen rendering for components?

Yes, the Storybook story generator supports fullscreen rendering. It ensures adherence to conventions for Meta block setup, viewports, themes, and fullscreen rendering when adding or updating stories.

How do I update existing Storybook stories to follow new best practices?

To update existing Storybook stories, you execute the skill on the given component. It updates the story while ensuring adherence to conventions like Meta block setup, viewports, and themes.

Why do my Storybook stories need colocated files?

Storybook stories need colocated files to maintain development workflow organization. Generating *.stories.tsx files adjacent to component files ensures consistent, responsive examples and simplifies component testing.