new-story
OfficialCreate real Storybook stories fast.
Authorluxury-yacht
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Generate accurate Storybook stories for UI components without relying on approximations, so developers can preview states confidently and catch integration issues early.
Core Features & Use Cases
- Real component rendering: Imports and renders the actual component to match production behavior.
- Real CSS integration: Uses the project’s existing CSS classes instead of inline-style mimics.
- Realistic props and mocked data: Mocks data sources (e.g., Go backend calls) while preserving real rendering.
- Hook and provider correctness: Traces all hook dependencies to select the correct Storybook decorators/providers.
- Comprehensive state coverage: Creates stories for default, loading, error, empty, and other meaningful prop variations.
- Placement and verification discipline: Places stories next to the component and validates compilation with TypeScript checks.
Quick Start
Use /new-story frontend/src/ui/modals/MyModal.tsx to generate a .stories.tsx file that renders MyModal using the project’s real decorators, mocks, and CSS classes.
Dependency Matrix
Required Modules
None requiredComponents
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: new-story Download link: https://github.com/luxury-yacht/app/archive/main.zip#new-story Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.