Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Storybook Component Documenter

    1

    Automate Storybook CSF 3.0 story generation with interactive controls, accessibility checks, and UI state variants.

    $15

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Storybook Component Documenter

    Storybook Component Documenter

    Example session with this skill installed

    Generate Storybook CSF 3.0 stories for my Button component in src/components/Button.tsx. Include states for loading, disabled, and primary.

    • Read your context and instructions
    • Compiled the storybook component documenter
    • Generated the UI component

    I have analyzed src/components/Button.tsx and generated a comprehensive Storybook suite. The file includes CSF 3.0 metadata, interactive argTypes for all props, and specific variants for the requested states.

    Generated src/components/Button.stories.tsx

    import type { Meta, StoryObj } from '@storybook/react';
    import { Button } from './Button';
    
    const meta: Meta<typeof Button> = {
      title: 'Components/Button',
      component: Button,
      tags: ['autodocs'],
      argTypes: {
        variant: {
          control: 'select',
          options: ['primary', 'secondary', 'outline'],
        },
        size: {
          control: 'radio',
          options: ['sm', 'md', 'lg'],
        },
        onClick: { action: 'clicked' },
      },
      parameters: {
        a11y: {
          config: { rules: [{ id: 'color-contrast', enabled: true }] },
        },
      },
    };
    
    export default meta;
    type Story = StoryObj<typeof Button>;
    
    export const Primary: Story = {
      args: {
        children: 'Click Me',
        variant: 'primary',
      },
    };
    
    export const Loading: Story = {
      args: {
        children: 'Sending...',
        isLoading: true,
      },
    };
    
    export const Disabled: Story = {
      args: {
        children: 'Not Allowed',
        disabled: true,
      },
    };
    
    export const Mobile: Story = {
      args: {
        children: 'Mobile View',
      },
      parameters: {
        viewport: {
          defaultViewport: 'mobile1',
        },
      },
    };
    

    Next steps

    1. Run npm run storybook to view the new stories in your browser.
    2. Verify the isLoading state transitions correctly in the Interactions tab.
    3. Check the Accessibility panel for any contrast warnings on the Primary variant.

    Button.tsx

    TSX · React component

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Maintaining a design system manually leads to outdated documentation and inconsistent component states. This skill automates the creation of Storybook CSF 3.0 files, ensuring every React component has interactive controls and visual test cases by default.

    What it does

    • Prop Parsing analyzes component interfaces to map props to Storybook argTypes.
    • CSF 3.0 Generation writes modern, object-based story metadata with full TypeScript support.
    • Variant Construction builds specific stories for default, loading, disabled, and error states.
    • Regression Testing adds parameters for visual regression and mobile viewport testing.
    • Accessibility Integration configures a11y parameters to catch contrast and semantic issues early.

    How it works

    1. Analyze: The agent parses your target component file to identify its props and logic.
    2. Metadata Setup: It configures the default export with proper titles and component references.
    3. State Mapping: It generates specific exported objects for every relevant UI state.
    4. Validation: It ensures the output is a valid .stories.tsx file ready for the Storybook runner.

    Frameworks & tools

    This skill is optimized for React and Next.js projects using TypeScript. It strictly follows Storybook CSF 3.0 standards and integrates with common addons like @storybook/addon-a11y and viewport testers.

    Why this beats prompting it yourself

    Generic prompts often produce outdated CSF 2.0 syntax or miss complex edge cases like loading skeletons and disabled interactions. This skill enforces a consistent architectural pattern across your entire design system, saving hours of boilerplate writing.

    Use cases

    • Documenting new UI components during the initial development phase.
    • Migrating legacy design systems from CSF 2.0 to the modern 3.0 format.
    • Adding comprehensive visual regression scenarios to existing components.
    • Standardizing documentation across a multi-developer frontend team.

    Known limitations

    Output is restricted to TypeScript (.tsx) files. It requires project-scoped runners like npx and does not support global package installations.

    Supports only TypeScript (.tsx) outputs. Requires project-scoped runners like npx. Restricted to active workspace file access.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 3 days ago

    Requires

    File System Read/Write (strictly scoped to current project workspace `./`).
    Zero global installation or elevated privileges required.

    Permissions

    Read Files

    Target Use Cases: - Write Storybook stories for this React component. - Generate CSF 3.0 stories with args and controls. - Create visual test stories in Storybook.

    Listed3 days ago

    What's inside

    Frequently Asked Questions

    This skill automates the creation of Storybook CSF 3.0 files by analyzing your React components' props and logic, generating interactive controls and visual state variants (like loading or error states) without manual coding.

    It is specifically optimized for React and Next.js projects using TypeScript, and it requires your environment to support standard Storybook CSF 3.0 and TypeScript (.tsx) file formats.

    Unlike generic AI prompts, this skill enforces strict CSF 3.0 standards and automatically handles complex UI states and accessibility parameters that are often overlooked in manual prompting.

    You will receive the AI agent skill configuration ready for deployment, which includes specialized logic for prop parsing, state mapping, and accessibility integration for your components.

    The skill assumes a standard React environment and requires local project runners like npx; please note it does not currently support global package installations or plain JavaScript (.jsx) files.

    New in Frontend & Web Apps