thinkfleetai/thinkfleet-engine

storybook-gen

Generate Storybook stories from React components. Use when documenting components or setting up a design system.

First seen Mar 1, 2026

Installation

$ npx skills add thinkfleetai/thinkfleet-engine --skill storybook-gen

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from thinkfleetai/thinkfleet-engine · top by installs.

npx skills add thinkfleetai/thinkfleet-engine

Browse all from thinkfleetai/thinkfleet-engine

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

License LICENSE
Default branch main
Open issues 0
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,623 B
  • docs SUMMARY.md 133 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 2 installs

SKILL.md

Storybook Generator

Point it at a React component. Get back complete Storybook stories with all the variants, controls, and edge cases. No more writing boilerplate stories by hand.

One command. Zero config. Just works.

Quick Start

npx ai-storybook ./src/components/Button.tsx

What It Does

  • Analyzes component props and generates appropriate controls
  • Creates stories for common states (default, disabled, loading, error)
  • Handles complex prop types including objects and callbacks
  • Generates proper TypeScript types for story args
  • Includes realistic example data, not just placeholder text

Usage Examples

# Generate stories for a single component
npx ai-storybook ./src/components/Card.tsx

# Process entire components directory
npx ai-storybook ./src/components/ --recursive

# Output CSF3 format
npx ai-storybook ./src/Button.tsx --format csf3

# Include interaction tests
npx ai-storybook ./src/Modal.tsx --with-interactions

# Specify output directory
npx ai-storybook ./src/Input.tsx -o ./stories/

Best Practices

  • Write good prop types first - Better TypeScript types mean better generated stories
  • Include JSDoc comments - The AI uses your documentation to create meaningful descriptions
  • Generate, then customize - Use this for the boilerplate, add your specific edge cases manually
  • Keep components focused - Components with clear, single responsibilities generate cleaner stories

When to Use This

  • Setting up Storybook for an existing codebase
  • Adding a new component and need stories fast
  • Documenting a component library for your team
  • Creating a design system with consistent story patterns

Part of the LXGIC Dev Toolkit

This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.

Find more:

Requirements

No install needed. Just run with npx. Node.js 18+ recommended.

npx ai-storybook --help

How It Works

The tool parses your React component to extract prop types, default values, and component structure. It then generates Storybook stories that exercise each prop combination, creating meaningful examples based on the prop names and types.

License

MIT. Free forever. Use it however you want.