storybookBuild component stories with proper args, controls, decorators, and testing patterns.
Install via ClawdBot CLI:
clawdbot install ivangdavila/storybookRequires:
satisfies Meta for TypeScript type checkingexport const Primary = { args: {...} }args are actual prop values passed to componentâargs: { label: 'Click me' }argTypes configure controls UIâargTypes: { size: { control: 'select', options: ['sm', 'lg'] } }argTypes: { onClick: { action: 'clicked' } } logs events in Actions panelargTypes: { color: { control: 'color' } }argTypes: { children: { control: false } }control: { type: 'select' }, options: ['a', 'b', 'c']decorators: [(Story) => ].storybook/preview.js: applies to all storiesplay: async ({ canvasElement }) => {...}@storybook/testing-library for queriesâwithin(canvasElement).getByRole()await userEvent.click(button) for interactionsexpect(element).toBeVisible() for assertionsâtests run in browserargTypes: { onClick: { action: 'clicked' } } auto-logs to Actions panelimport { action } from '@storybook/addon-actions'fn() from @storybook/test in Storybook 8+ for spying in play functionstitle: 'Components/Forms/Button'tags: ['autodocs'] generates docs page automaticallyparameters: { docs: { description: { story: 'text' } } } adds story descriptionexport const Default = {}export const WithIcon = { args: { icon: } }render: (args) => render: (args, { globals }) => ....storybook/main.js: addons, framework, stories glob patterns.storybook/preview.js: global decorators, parameters, argTypesstories: ['../src/*/.stories.@(js|jsx|ts|tsx)']staticDirs: ['../public'] for images/fontsstoriesOf APIâdeprecated, use CSF exportsStory without calling it: (Story) => not (Story) => StoryAI Usage Analysis
Analysis is being generated⊠refresh in a few seconds.
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Expert frontend design guidelines for creating beautiful, modern UIs. Use when building landing pages, dashboards, or any user interface.
Use when building UI with shadcn/ui components, Tailwind CSS layouts, form patterns with react-hook-form and zod, theming, dark mode, sidebar layouts, mobile navigation, or any shadcn component question.
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when building web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Create distinctive, production-grade static sites with React, Tailwind CSS, and shadcn/ui â no mockups needed. Generates bold, memorable designs from plain text requirements with anti-AI-slop aesthetics, mobile-first responsive patterns, and single-file bundling. Use when building landing pages, marketing sites, portfolios, dashboards, or any static web UI. Supports both Vite (pure static) and Next.js (Vercel deploy) workflows.
AI skill for automated UI audits. Evaluate interfaces against proven UX principles for visual hierarchy, accessibility, cognitive load, navigation, and more. Based on Making UX Decisions by Tommy Geoco.